mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-27 23:55:57 -05:00
Add a logdomain for DB performance data
This commit is contained in:
parent
6e10252021
commit
181b1e772f
@ -43,7 +43,7 @@ static int threshold;
|
|||||||
static int console;
|
static int console;
|
||||||
static char *logfilename;
|
static char *logfilename;
|
||||||
static FILE *logfile;
|
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
|
static int
|
||||||
|
@ -25,8 +25,9 @@
|
|||||||
#define L_RAOP 16
|
#define L_RAOP 16
|
||||||
#define L_LAUDIO 17
|
#define L_LAUDIO 17
|
||||||
#define L_DMAP 18
|
#define L_DMAP 18
|
||||||
|
#define L_DBPERF 19
|
||||||
|
|
||||||
#define N_LOGDOMAINS 19
|
#define N_LOGDOMAINS 20
|
||||||
|
|
||||||
/* Severities */
|
/* Severities */
|
||||||
#define E_FATAL 0
|
#define E_FATAL 0
|
||||||
|
Loading…
Reference in New Issue
Block a user