Re: case study - journalctl - where is logger output

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

 




On Sep 13, 2014, at 9:47 AM, Balint Szigeti <balint.szgt@xxxxxxxxx> wrote:

I've just tried to set the Storage entry in /etc/systemd/journald.conf  to "none" according to manual page and off course no effect.
Also tried to set LogTarget to "syslog" in /etc/systemd/system.conf and reboot (funny, hurray we become Windows......)but no effect.

Needless to say, the logs are being found in journalctl and messages file of course. I don't think to raise bug because any time when they hear someone doesn't want to use their 'solutions' they refuse/ignore or set the ticket to WONTFIX.

I don't understand the problem. You're saying logs are found in journalctl and messages, so what's the bug/problem?

systemd-journald is expected to always run because it knows a ton of what's going from the kernel and systemd itself. The traditional syslog needs to be systemd-journald compatible, and I'm pretty sure rsyslog is. It directly reads the stream from systemd-journald.

http://www.freedesktop.org/wiki/Software/systemd/syslog/
http://blog.delouw.ch/2013/07/24/why-journalctl-is-cool-and-syslog-will-survive-for-another-decade/

If you merely delete /var/log/journal, then systemd-journald will log to /run/log/journal which is not persistent. And a journald compatible syslogger will read that stream, and log it to /var/log/messages just like before except it probably contains more information since it should contain all journald logged events before syslogd started. I don't think none is what you want because then syslog has nothing available to it to log. At least that's my understanding of it.

Chris Murphy
-- 
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