[PATCH] BZ #14906: Enhance nscd's inotify support.
Carlos O'Donell
carlos@redhat.com
Fri Jun 3 00:27:00 GMT 2016
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.
More information about the Libc-alpha
mailing list