mirror of
https://github.com/mirage/qubes-mirage-firewall.git
synced 2024-12-28 08:39:34 -05:00
Turn off XenStore debug logging
This commit is contained in:
parent
2002126b8b
commit
d0f4189df8
@ -11,10 +11,7 @@ module Log = (val Logs.src_log src : Logs.LOG)
|
||||
let () =
|
||||
let open Logs in
|
||||
(* Set default log level *)
|
||||
set_level (Some Logs.Info);
|
||||
(* Debug-level logging for XenStore while tracking down occasional EACCES error. *)
|
||||
Src.list () |> List.find (fun src -> Src.name src = "xenstore.client") |> fun xs ->
|
||||
Src.set_level xs (Some Debug)
|
||||
set_level (Some Logs.Info)
|
||||
|
||||
module Main (Clock : V1.CLOCK) = struct
|
||||
module Log_reporter = Mirage_logs.Make(Clock)
|
||||
|
Loading…
Reference in New Issue
Block a user