This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] BZ #14906: Enhance nscd's inotify support.


On 06/01/2016 06:26 AM, Andreas Schwab wrote:
> "Carlos O'Donell" <carlos@redhat.com> writes:
> 
>> +		      dbg_log (_("monitored file `%s` changed (mtime)"),
>> +			       runp->fname);
> 
>> +  dbg_log (_("monitoring file `%s` (%d)"),
>> +	   finfo->fname, finfo->inotify_descr[TRACED_FILE]);
> 
>> +  dbg_log (_("monitoring directory `%s` (%d)"),
>> +	   finfo->dname, finfo->inotify_descr[TRACED_DIR]);
> 
>> +		  dbg_log (_("ignored out of order inotify event for `%s`"),
>> +			   finfo->fname);
> 
>> +	      dbg_log (_("monitored file `%s` was %s, removing watch"),
>> +		       finfo->fname, moved ? "moved" : "deleted");
> 
>> +	      dbg_log (_("monitored file `%s` was written to"), finfo->fname);
> 
>> +		  dbg_log (_("monitored parent directory `%s` was %s, removing watch on `%s`"),
>> +			   finfo->dname, moved ? "moved" : "deleted", finfo->fname);
> 
>> +	      dbg_log (_("monitored file `%s` was %s, adding watch"),
>> +		       finfo->fname,
>> +		       inev->i.mask & IN_CREATE ? "created" : "moved into place");
> 
> Are these messages supposed to be unconditional?

Yes.

They only trigger if you're changing monitored files, which
should be a relatively rare use case.

Are you seeing a lot of noise for some of those messages?

Which ones?

-- 
Cheers,
Carlos.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]