impl/linux/file_watch: Reduce log level of common messages
This commit is contained in:
parent
13b72276c8
commit
237ab86376
@ -45,7 +45,7 @@ struct CFileWatch: FileWatch
|
||||
for(auto &pair : m_watch){
|
||||
sp_<WatchThing> &watch = pair.second;
|
||||
if(watch->path == path){
|
||||
log_d(MODULE, "Adding callback to path \"%s\" (inotify fd=%i)",
|
||||
log_t(MODULE, "Adding callback to path \"%s\" (inotify fd=%i)",
|
||||
cs(path), pair.first);
|
||||
watch->cbs.push_back(cb);
|
||||
return;
|
||||
@ -58,7 +58,7 @@ struct CFileWatch: FileWatch
|
||||
throw Exception(ss_()+"inotify_add_watch() failed: "+
|
||||
strerror(errno)+" (path="+path+")");
|
||||
}
|
||||
log_d(MODULE, "Watching path \"%s\" (inotify fd=%i)", cs(path), m_fd);
|
||||
log_t(MODULE, "Watching path \"%s\" (inotify fd=%i)", cs(path), m_fd);
|
||||
m_watch[r] = sp_<WatchThing>(new WatchThing(path, {cb}));
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user