Splunk® IT Service Intelligence

Administer Splunk IT Service Intelligence

Download manual as PDF

This documentation does not apply to the most recent version of ITSI. Click here for the latest version.
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
PREVIOUS
limits.conf
  NEXT
macros.conf

This documentation applies to the following versions of Splunk® IT Service Intelligence: 4.3.0, 4.3.1


Was this documentation topic helpful?

Enter your email address, and someone from the documentation team will respond to you:

Please provide your comments here. Ask a question or make a suggestion.

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