Splunk® IT Service Intelligence

Administration Manual

Acrobat logo Download manual as PDF


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.
Acrobat logo Download topic as PDF

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 28 April, 2023
PREVIOUS
limits.conf
  NEXT
macros.conf

This documentation applies to the following versions of Splunk® IT Service Intelligence: 4.12.0 Cloud only, 4.12.1 Cloud only, 4.12.2 Cloud only, 4.13.0, 4.13.1, 4.13.2, 4.13.3, 4.14.0 Cloud only, 4.14.1 Cloud only, 4.14.2 Cloud only, 4.15.0, 4.15.1, 4.15.2, 4.15.3, 4.16.0 Cloud only


Was this documentation topic helpful?


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