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

Andreas Schwab schwab@suse.de
Wed Jun 1 10:27:00 GMT 2016


"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?

Andreas.

-- 
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."



More information about the Libc-alpha mailing list