[CRIU] Re: [PATCH cr 5/8] log: print a process ID in output messages
Pavel Emelyanov
xemul at parallels.com
Mon Apr 9 15:54:53 EDT 2012
On 04/06/2012 04:45 PM, Andrey Vagin wrote:
>
> It's needed to understand who writes a message.
>
> A message can't be bigger then one page minus some bytes for pid.
>
> Signed-off-by: Andrey Vagin <avagin at openvz.org>
> ---
> cr-restore.c | 4 ++++
> crtools.c | 9 +++++++--
> include/crtools.h | 1 +
> include/log.h | 1 +
> log.c | 27 ++++++++++++++++++++++++---
> 5 files changed, 37 insertions(+), 5 deletions(-)
>
We've discussed to do this the other way.
1. To print pids in messages always, regardless of any cmdline options
2. Add ability to dump messages into per-pid log files
Why did you change this?
More information about the CRIU
mailing list