Manipulating journalctl output

Suvayu Ali fatkasuvayu+linux at gmail.com
Fri Jan 3 20:40:11 UTC 2014


Hi Tony,

On Thu, Jan 02, 2014 at 10:16:07PM -0500, Tony Nelson wrote:
> On 14-01-02 20:12:28, Suvayu Ali wrote:
> > On Thu, Jan 02, 2014 at 04:52:01PM +0000, Tom H wrote:
>  ...
> > > That SYSLOG_FACILITY has to be a number is from
> > > systemd.jounal-fields(7).
> > 
> > No, I mean which number corresponds to what facility.  I don't even
> > know where to find a comprehensive list of all the facilities.
> > 
> > Okay I think while writing the email I found the list of facilities in
> > logger(1); but I still do not know where I can find the mapping
> > between these facilities with the numbers accepted by SYSLOG_FACILITY.
> 
> From `man 3 syslog`, <syslog.h>, so `locate syslog` and:
> 
> /usr/include/sys/syslog.h

Indeed, looking at the source is the only way to get this information.
It is a bit ridiculous I think, all this hoopla about making it easier
for the non-technical user, and then the useful docs happen to be in a
header file owned by glibc-headers!

Thanks a lot for pointing it to me.

:)

-- 
Suvayu

Open source is the future. It sets us free.


More information about the users mailing list