You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2020/01/04 20:24:51 UTC

[GitHub] [couchdb] gdamjan commented on issue #1912: a systemd-journald compatible log output on stderr

gdamjan commented on issue #1912: a systemd-journald compatible log output on stderr
URL: https://github.com/apache/couchdb/pull/1912#issuecomment-570816914
 
 
   > I'm leaning towards -1, as this removes the microsecond timing
   
   I'm not sure on what basis is this conclusion? The journal does store time in microsecond precision (for ex. see here: https://www.freedesktop.org/software/systemd/man/systemd.journal-fields.html#__REALTIME_TIMESTAMP= etc.). `journalctl` can then display that information in different formats, based on user preference.
   
   > Unless this is an optional mode that can be turned on and off.
   
   I'm not sure what "optional mode" is about, here. the logger itself needs to be explicitly enabled with `[log] writer = journald` (as I wrote in the PR).
    
   > Think of people using the logging infrastructure via syslogd to send this data to a remote machine (which is common in large, industrial-grade installations).
   
   Sure, I actually am using journald in a large industrial-grade installations and shipping logs from many machines to external services (like CloudWatch etc.). Not sure what this refers to?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services