Splunk® IT Service Intelligence

Administration Manual

This documentation does not apply to the most recent version of Splunk® IT Service Intelligence. For documentation on the most recent version, go to the latest release.

logging.conf

The following are the spec and example files for logging.conf.

logging.conf.spec

# The format and semantics of this file are described in this article at Python.org:
#
# [Configuration file format](https://docs.python.org/2/library/logging.config.html#configuration-file-format)
#
# This file must contain sections called [loggers], [handlers] and
# [formatters] which identify by name the entities of each type which are defined in the
# file. For each such entity, there is a separate section which identifies how that entity
# is configured.

keys = <a list of available keys separated by comma>
* appears in [loggers], [handlers] or [formatters]
* describes the available [logger_<name>], [handler_<name>] or [formatter_<name>]

level = <DEBUG|INFO|WARNING|ERROR|CRITICAL|NOTSET>
*  For the root logger only, NOTSET means that all messages will be logged.

handlers = <comma-separated list>
*  A comma-separated list of handler names, which must appear in the
   [handlers] section.
*  These names must appear in the [handlers] section and have corresponding
   sections in the configuration file.

qualname = <string>
*  The hierarchical channel name of the logger (the name used by the
   application to get the logger).

propagate = <0|1>
*  Set to "1" to indicate that messages must propagate to handlers higher
   up the logger hierarchy from this logger.
*  Set to "0" to indicate that messages are not propagated to handlers
   up the hierarchy.

class = <string>
*  Indicates the handler's class, as determined by eval() in the logging package's namespace.

args = <comma-separated list>
*  The list of arguments to the constructor for the handler class, when
   eval()uated in the context of the logging package's namespace.

formatter = <string>
*  The key name of the formatter for this handler.
*  If blank, a default formatter (logging._defaultFormatter) is used.
*  If a name is specified, it must appear in the [formatters] section and
   have a corresponding section in the configuration file.

format = <logger format pattern>
* for pattern format see: https://docs.python.org/2/library/logging.config.html#user-defined-objects

logging.conf.example

No example
Last modified on 10 April, 2023
limits.conf   macros.conf

This documentation applies to the following versions of Splunk® IT Service Intelligence: 4.17.0, 4.17.1


Was this topic useful?







You must be logged into splunk.com in order to post comments. Log in now.

Please try to keep this discussion focused on the content covered in this documentation topic. If you have a more general question about Splunk functionality or are experiencing a difficulty with Splunk, consider posting a question to Splunkbase Answers.

0 out of 1000 Characters