F20 System Wide Change: No Default Syslog

Tomasz Torcz tomek at pipebreaker.pl
Tue Jul 16 16:40:59 UTC 2013


On Tue, Jul 16, 2013 at 06:33:23PM +0200, drago01 wrote:
> On Tue, Jul 16, 2013 at 6:26 PM, Tomasz Torcz <tomek at pipebreaker.pl> wrote:
> > On Tue, Jul 16, 2013 at 06:09:54PM +0200, Till Maas wrote:
> >>
> >> Btw. can journalctl output ISO 8601 dates instead of the US formated
> >> date without a year? I really expected journalctl to cleanup this as
> >> well.
> >
> >   That would be nice, ”journalctl” output would match rsyslog:
> >
> > % tail -1 /var/log/messages
> > 2013-07-16T17:57:27.903228+02:00 mother postfix/smtpd[3452]: DC6A1600B6: client=bastion01.fedoraproject.org[209.132.181.2]
> >
> journalctl -n 1 ?

  No, it's the timestamp which is imporant; speaking of time, did anyone mention
that journal is quite slow on rotating HDDs?

% time journalctl -u postfix -n 1
-- Logs begin at Sat 2012-12-08 19:45:43 CET, end at Tue 2013-07-16 18:34:45 CEST. --
Jul 16 18:34:45 mother.pipebreaker.pl postfix/qmgr[1675]: 0F945601C0: removed

real    0m24.873s
user    0m0.008s
sys     0m0.201s

  I know that SSD are current storage technology, but there are some people with
HDDs left, and they will complain.  They already complain “systemctl status foo”
takes half a minute to pull logs back.

 (above ”time journalctl …” comes from system with Intel Sandy Bridge CPU,
ext4 over dm-crypt over 4xSATA 7200 mdraid).

-- 
Tomasz Torcz                 "God, root, what's the difference?"
xmpp: zdzichubg at chrome.pl         "God is more forgiving."



More information about the devel mailing list