[CRIU] [PATCH 3/3] log: log engine slight redesign
Cyrill Gorcunov
gorcunov at openvz.org
Wed Feb 29 05:43:51 EST 2012
On Wed, Feb 29, 2012 at 02:39:56PM +0400, Pavel Emelyanov wrote:
> >
> > The messages are filtered by their type
> >
> > LOG_MSG - [stdout] plain messages, they escape any
> > log level filtration
> > LOG_ERROR - [stderr] error messages
> > LOG_WARN - [strerr] warning messages
> > LOG_INFO - [stdout] informative messages
> > LOG_DEBUG - [stdout] debug messages
>
> These 4 above should go to logfd, no?
No, I thought error and warnings should always go to stderr
while anything else to stdout. If user specifies output
file from command line as say -o "out", then our fd which
represent stdout become "out" file.
Cyrill
More information about the CRIU
mailing list