Re: F20 System Wide Change: No Default Syslog

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

 



On Wed, 17 Jul 2013, Lennart Poettering wrote:

"cat /var/log/messages" becomes "journalctl"
"tail -f /var/log/messages" becomes "journalctl -f"
"tail -n100 /var/log/messages" becomes "journalctl -n100"
"grep foobar /var/log/messages" becomes "journalctl | grep foobar"

This isn't complex. You can grep/sed/awk as much as you want. You just
do it over the output of journalctl rather than teh file. That's not
that big a difference.

One thing you have missed is how you edit the log file. There may be cases where you want to strip out log entries, eg. when a process has gone wild and swamped the useful messages with useless ones and you want to keep the useful ones and throw away the useless ones.

	Michael Young
--
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux