X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=bin%2Fmisc%2Flogger_test.c;h=585c15839158a61534c96aafb62258908308d4ef;hb=260c314546ffcfdbef47f2c7de82d5310b26df0a;hp=a968cce3ea802930b2b91e946f3af88eb191e348;hpb=06b7f576daa4a127964febf210869f4729235dc3;p=netatalk.git diff --git a/bin/misc/logger_test.c b/bin/misc/logger_test.c index a968cce3..585c1583 100644 --- a/bin/misc/logger_test.c +++ b/bin/misc/logger_test.c @@ -1,6 +1,6 @@ #include +#include -#include #include 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.");