Skip to content

Commit 11c1519

Browse files
committed
CA-357785: squeezed logs to xensource.log info and higher
Xcp_service used to be able to configure where squeezed logged to but it doesn't seem to work anymore. Set the loglevel to avoid debug spam and set the facility to local5 which logs to xensource.log Signed-off-by: Pau Ruiz Safont <pau.safont@citrix.com>
1 parent 31dd19d commit 11c1519

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

squeezed/src/squeezed.ml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,8 @@ let bind () =
106106
S.get_domain_zero_policy get_domain_zero_policy
107107

108108
let _ =
109+
Debug.set_facility Syslog.Local5 ;
110+
Debug.set_level Syslog.Info ;
109111
debug "squeezed version %d.%d starting" major_version minor_version ;
110112
configure ~options () ;
111113
bind () ;

0 commit comments

Comments
 (0)