Tezos_stdlib_unix.Level_config_rules
This module handles set of rules for log sections specific configurations. For instance, if one want enable section "node.context" at level debug, it would be written "node.context -> debug". The complete syntax is the following
<rules> := <rule> ; <rules> <rule> := (<pattern> ->)? <level> <pattern> := <string> | * | <pattern>.<pattern>
A value of this form can be found in environment variables TEZOS_LOG and LWT_LOG.
type rules = (string * Tezos_event_logging.Internal_event.Level.t option) list
find_log_rules default
checks above environment variables for set of rules
default
given configuration otherwiseval parse_rules : string -> rules
parse_rules s
parses the string s representing a set of rules