]> arthur.barton.de Git - netatalk.git/blobdiff - bin/misc/logger_test.c
Fix build
[netatalk.git] / bin / misc / logger_test.c
index a968cce3ea802930b2b91e946f3af88eb191e348..585c15839158a61534c96aafb62258908308d4ef 100644 (file)
@@ -1,6 +1,6 @@
 #include <stdio.h>
+#include <stdbool.h>
 
-#include <atalk/boolean.h>
 #include <atalk/logger.h>
 
 int main(int argc, char *argv[])
@@ -25,11 +25,11 @@ int main(int argc, char *argv[])
 #endif
   /* filelog testing */
 
-  setuplog("DSI log_maxdebug test.log");
+  setuplog("DSI:maxdebug", "test.log");
   LOG(log_info, logtype_dsi, "This should log.");
   LOG(log_error, logtype_default, "This should not log.");
 
-  setuplog("Default log_debug test.log");
+  setuplog("Default:debug", "test.log");
   LOG(log_debug, logtype_default, "This should log.");
   LOG(log_maxdebug, logtype_default, "This should not log.");