This file is indexed.

/etc/xcp/log.conf is in xcp-xapi 1.3.2-5.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
reset
debug;http;nil
debug;sql;nil
debug;db_write;nil
debug;redo_log;nil
debug;buf_io;nil
debug;monitor;nil
debug;db_server;nil
debug;api_readonly;nil
info;api_readonly;nil
#debug;dispatcher;nil
#debug;sm;nil
debug;mux;nil
debug;xapi_event;nil
debug;locking;nil
debug;server_io;nil
debug;server_helpers;nil
#debug;taskhelper;nil
#debug;dummytaskhelper;nil
#debug;sm_exec;nil
debug;stunnel;nil
debug;stunnel_cache;nil
debug;remote_requests;nil
debug;wlb_reports;nil
debug;workload_balancing;nil

# Set info,warn,error to log to syslog by default
info;audit;syslog:local6
warn;;syslog:xapi
error;;syslog:xapi

# Also print everything (debug<->error) into xcp-xapi.log for easier debugging
debug;;file:/var/log/xcp-xapi.log
info;;file:/var/log/xcp-xapi.log
warn;;file:/var/log/xcp-xapi.log
error;;file:/var/log/xcp-xapi.log