Add a logdomain for DB performance data

This commit is contained in:
Julien BLACHE 2011-06-11 16:26:30 +02:00
parent 6e10252021
commit 181b1e772f
2 changed files with 3 additions and 2 deletions

View File

@ -43,7 +43,7 @@ static int threshold;
static int console;
static char *logfilename;
static FILE *logfile;
static char *labels[] = { "config", "daap", "db", "httpd", "main", "mdns", "misc", "rsp", "scan", "xcode", "event", "remote", "dacp", "ffmpeg", "artwork", "player", "raop", "laudio", "dmap" };
static char *labels[] = { "config", "daap", "db", "httpd", "main", "mdns", "misc", "rsp", "scan", "xcode", "event", "remote", "dacp", "ffmpeg", "artwork", "player", "raop", "laudio", "dmap", "dbperf" };
static int

View File

@ -25,8 +25,9 @@
#define L_RAOP 16
#define L_LAUDIO 17
#define L_DMAP 18
#define L_DBPERF 19
#define N_LOGDOMAINS 19
#define N_LOGDOMAINS 20
/* Severities */
#define E_FATAL 0