Tezos_base.Internal_event_configSourceConfigure the event-logging framework.
The JSON-file-friendly definition of the configuration of the internal-events framework. It allows one to activate registered event sinks.
FIXME: https://gitlab.com/tezos/tezos/-/issues/4850 Config override default values, but the env TEZOS_EVENTS_CONFIG does not. Is that what we want ?
val make_config_uri :
?level:Tezos_event_logging.Internal_event.Level.t ->
?daily_logs:int ->
?create_dirs:bool ->
?format:string ->
?chmod:int ->
?with_pid:bool ->
?colors:bool ->
?fresh:bool ->
?section_prefixes:(string * Tezos_event_logging.Internal_event.level) list ->
[ `Stdout | `Stderr | `Path of string | `Null | `Syslog of string ] ->
Uri.tmake_config_uri kind builds a configuration URI using the optional parameters with the given kind. The arguments are the options documented in Tezos_stdlib_unix.File_descriptor_sink.
The serialization format.
Run Tezos_base.Internal_event.All_sinks.activate for every URI in the configuration.
Close all the sinks except "lwt-log://" and call apply.