diff --git a/main.c b/main.c index e082dc7..89ed6b3 100644 --- a/main.c +++ b/main.c @@ -13,6 +13,8 @@ #define HOSTNAME "localhost" #define EVENT_SIZE (sizeof(struct inotify_event)) + +//debug levels #define NONE 0 #define WARNING 1 #define INFO 2 @@ -46,7 +48,7 @@ struct notify_config }; struct config cfg = {"","","",""}; -int loglevel = INFO; +int loglevel = DEBUG; // return date in localized format char * frtime(const time_t timet)