D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
saltstack
/
salt
/
lib
/
python3.10
/
site-packages
/
salt
/
log
/
Filename :
__init__.py
back
Copy
""" :codeauthor: Pedro Algarvio (pedro@algarvio.me) salt.log ~~~~~~~~ This is where Salt's logging gets set up. Currently, the required imports are made to assure backwards compatibility. """ # pylint: disable = no-name-in-module # Import several classes/functions from salt.log.setup for backwards compatibility from salt._logging import LOG_LEVELS, SORTED_LEVEL_NAMES from salt.log.setup import ( is_console_configured, is_logfile_configured, is_logging_configured, is_temp_logging_configured, set_logger_level, setup_console_logger, setup_logfile_logger, setup_temp_logger, ) from salt.utils.versions import warn_until_date warn_until_date( "20240101", "Please stop using '{name}' and instead use 'salt._logging'. " "'{name}' will go away after {{date}}.".format(name=__name__), stacklevel=3, )