diff -r ff311b63c3af -r 55298bc9ed28 src/server/daemon/main.c --- a/src/server/daemon/main.c Fri Dec 30 14:15:52 2016 +0100 +++ b/src/server/daemon/main.c Fri Dec 30 18:47:26 2016 +0100 @@ -163,13 +163,13 @@ int status; status = webserver_init(); if(status != 0) { - fprintf(stderr, "Cannot initialize server!\n"); + log_ereport(LOG_FAILURE, "Cannot initialize server."); return EXIT_FAILURE; } status = webserver_run(); if(status != 0) { - fprintf(stderr, "Cannot run server!\n"); + log_ereport(LOG_FAILURE, "Cannot run server."); return EXIT_FAILURE; }