Re: [ndctl PATCH 3/4] ndctl, monitor: add timestamp and pid to log messages in log_file()

2018-08-07 Thread Masayoshi Mizuma
On 08/07/2018 08:54 PM, Qi, Fuli wrote: >> -Original Message- >> From: Masayoshi Mizuma [mailto:msys.miz...@gmail.com] >> Sent: Wednesday, August 8, 2018 3:40 AM >> To: Qi, Fuli/斉 福利 ; linux-nvdimm@lists.01.org >> Subject: Re: [ndctl PATCH 3/4] ndctl,

RE: [ndctl PATCH 3/4] ndctl, monitor: add timestamp and pid to log messages in log_file()

2018-08-07 Thread Qi, Fuli
> -Original Message- > From: Masayoshi Mizuma [mailto:msys.miz...@gmail.com] > Sent: Wednesday, August 8, 2018 3:40 AM > To: Qi, Fuli/斉 福利 ; linux-nvdimm@lists.01.org > Subject: Re: [ndctl PATCH 3/4] ndctl, monitor: add timestamp and pid to log > messages > in

Re: [ndctl PATCH 3/4] ndctl, monitor: add timestamp and pid to log messages in log_file()

2018-08-07 Thread Masayoshi Mizuma
Hi Qi, On 08/07/2018 09:17 AM, QI Fuli wrote: > This patch is used to add timestamp and process id to log messages when > logging > messages to a file. > > Signed-off-by: QI Fuli > --- > ndctl/monitor.c | 11 ++- > 1 file changed, 10 insertions(+), 1 deletion(-) > > diff --git

[ndctl PATCH 3/4] ndctl, monitor: add timestamp and pid to log messages in log_file()

2018-08-07 Thread QI Fuli
This patch is used to add timestamp and process id to log messages when logging messages to a file. Signed-off-by: QI Fuli --- ndctl/monitor.c | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/ndctl/monitor.c b/ndctl/monitor.c index 2f3d751..d29e378 100644 ---