Announcement

Collapse
No announcement yet.

Release 7.4.2: Introduced a new command line to tool to dynamically change the log levels of the server, create/remove log filters that enable/disable trace logging for specific sessions, users and contexts and suppress specific exception categories.

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Release 7.4.2: Introduced a new command line to tool to dynamically change the log levels of the server, create/remove log filters that enable/disable trace logging for specific sessions, users and contexts and suppress specific exception categories.

    Introduced a new command line to tool to dynamically change the log levels of the server, create/remove log filters that enable/disable trace logging for specific sessions, users and contexts and suppress specific exception categories.

    The CLT communicates with the server via a JMX bean (LogbackConfigurationMBean)

    usage: logconf [ [-a | -d] [ [-u <userid> -c <contextid>] | [-s <sessionid>] | [-c <contextid>] ] ] [-l <loglevel> <logger name 1> ... <logger name n>] [-lf] [-ll] [-oec <category 1> ... <category n>] [-le] [-h]

    -a,--add Flag to add the filter
    -c,--context <arg> The context id for which to enable logging
    -d,--delete Flag to delete the filter
    -h,--help Print usage of the command line tool
    -l,--level <arg> Define the log level
    -le,--list-exception-category Get a list with all supressed exception categories
    -lf,--list-filters Get a list with all logging filters of the system
    -ll,--list-loggers Get a list with all loggers of the system
    Can optionally have a list with loggers as arguments, i.e. -ll <logger1>
    <logger2> OR the keyword 'dynamic' that instructs the command line tool to
    fetch all dynamically modified loggers. Any other keyword is then ignored,
    and a full list will be retrieved.
    -oec,--override-exception-categories <arg> Override the exception categories to be suppressed
    -s,--session <arg> The session id for which to enable logging
    -u,--user <arg> The user id for which to enable logging

    The flags -a and -d are mutually exclusive.
    Valid log levels: {OFF, ERROR, WARN, INFO, DEBUG, TRACE, ALL}
    Valid categories: {ERROR, USER_INPUT, CONFIGURATION, PERMISSION_DENIED, TRY_AGAIN, CONNECTIVITY, SERVICE_DOWN,
    TRUNCATED, CONFLICT, CAPACITY, WARNING}
Working...
X