diff --git a/src/logger.c b/src/logger.c index e4a7ecc7..db8dd96d 100644 --- a/src/logger.c +++ b/src/logger.c @@ -45,7 +45,7 @@ static int threshold; static int console = 1; static char *logfilename; static FILE *logfile; -static char *labels[] = { "config", "daap", "db", "httpd", "http", "main", "mdns", "misc", "rsp", "scan", "xcode", "event", "remote", "dacp", "ffmpeg", "artwork", "player", "raop", "laudio", "dmap", "dbperf", "spotify", "lastfm", "cache", "mpd", "stream", "cast", "fifo", "lib" }; +static char *labels[] = { "config", "daap", "db", "httpd", "http", "main", "mdns", "misc", "rsp", "scan", "xcode", "event", "remote", "dacp", "ffmpeg", "artwork", "player", "raop", "laudio", "dmap", "dbperf", "spotify", "lastfm", "cache", "mpd", "stream", "cast", "fifo", "lib", "web" }; static char *severities[] = { "FATAL", "LOG", "WARN", "INFO", "DEBUG", "SPAM" }; /* We need our own check to avoid nested locking or recursive calls */ diff --git a/src/logger.h b/src/logger.h index dff5258a..845efd1e 100644 --- a/src/logger.h +++ b/src/logger.h @@ -35,8 +35,9 @@ #define L_CAST 26 #define L_FIFO 27 #define L_LIB 28 +#define L_WEB 29 -#define N_LOGDOMAINS 29 +#define N_LOGDOMAINS 30 /* Severities */ #define E_FATAL 0