add flag to configure scanning interval

This commit is contained in:
Dominic Breuker committed 2018-03-28 09:01:25 +02:00
1 parent 976bc2d1b3
commit d9d269446b
2 files changed
+5 -3

No files matched your search

+1 -1
View File
@@ -15,5 +15,5 @@ type Config struct {
}
func (c Config) String() string {
return fmt.Sprintf("Printing events: processes=%t | file-system-events=%t ||| Watching directories: %+v (recursive) | %+v (non-recursive)", c.LogPS, c.LogFS, c.RDirs, c.Dirs)
return fmt.Sprintf("Printing events: processes=%t | file-system-events=%t ||| Scannning for processes every %v and on inotify events ||| Watching directories: %+v (recursive) | %+v (non-recursive)", c.LogPS, c.LogFS, c.TriggerEvery, c.RDirs, c.Dirs)
}