Extra logging for inotify code.

This commit is contained in:
Simon Kelley
2015-02-03 21:52:48 +00:00
parent 2941d3ac89
commit f9c863708c
3 changed files with 10 additions and 7 deletions

View File

@@ -192,7 +192,9 @@ int inotify_check(time_t now)
strcpy(path, ah->fname);
strcat(path, "/");
strcat(path, in->name);
my_syslog(LOG_INFO, _("inotify, new or changed file %s"), path);
if (ah->flags & AH_HOSTS)
{
read_hostsfile(path, ah->index, 0, NULL, 0);