Bug 1217959 - journal logging support
Summary: journal logging support
Keywords:
Status: NEW
Alias: None
Product: Virtualization Tools
Classification: Community
Component: libguestfs
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Richard W.M. Jones
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-05-03 12:03 UTC by maxim.suraev
Modified: 2018-07-18 14:39 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description maxim.suraev 2015-05-03 12:03:16 UTC
Adding support for logging directly to journald will not only makes logging more accessible and secure but will also simplify packaging because dependencies like logrotate could be easily dropped.

Comment 1 Richard W.M. Jones 2015-05-03 18:29:49 UTC
I'm a bit confused about this bug.  Libguestfs supplies access
to journald APIs already, and we have tools like virt-log to
provide access to logs from guests (whether or not they use
systemd journal or something else):
http://libguestfs.org/guestfs.3.html#systemd-journal-files
http://libguestfs.org/virt-log.1.html

Libguestfs debugging (a different thing from the above) goes to stderr
by default unless you install your own handlers, in which case
you can send it anywhere.  However this is something that applications
linking to libguestfs would do, not libguestfs itself.
http://libguestfs.org/guestfs.3.html#example:-capturing-log-messages

As far as I know, libguestfs does not require logrotate.  It
could be an indirect dependency of the appliance.


Note You need to log in before you can comment on or make changes to this bug.