Re: Manipulating journalctl output

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jan 02, 2014 at 04:52:01PM +0000, Tom H wrote:
> On Thu, Jan 2, 2014 at 10:32 AM, Suvayu Ali <fatkasuvayu+linux@xxxxxxxxx> wrote:
> > On Thu, Jan 02, 2014 at 03:20:38AM +0000, Tom H wrote:
> >> On Thu, Jan 2, 2014 at 3:00 AM, Tom H <tomh0665@xxxxxxxxx> wrote:
> >>> On Wed, Jan 1, 2014 at 7:57 PM, Suvayu Ali <fatkasuvayu+linux@xxxxxxxxx> wrote:
> >>>>
> >>>> 2. I would like to filter logs that typically go into /var/log/secure
> >>>> (or other similar files); how do I do that?
> >>>
> >>> SYSLOG_FACILITY=authpriv
> >>
> >> Sorry. Just thought that I'd try it and it turms out that it takes the
> >> facility as a number not as a name, so "SYSLOG_FACILITY=10".
> >
> > Thank you! This will be very helpful. Where is this documented? I
> > could not find this information in journalctl(1) or
> > systemd.jounal-fields(7); did I miss some other docs?
> 
> 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.

-- 
Suvayu

Open source is the future. It sets us free.
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org




[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux