Skip to content
This repository has been archived by the owner on Jul 30, 2020. It is now read-only.

Commit

Permalink
Set default logging level to INFO
Browse files Browse the repository at this point in the history
Fixes #267
  • Loading branch information
alikins committed May 30, 2019
1 parent b42afb6 commit a249727
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions ansible_galaxy_cli/logger/default-mazer-logging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@ handlers:
# Sets log filename to MAZER_HOME (~/.ansible) + basename ('~/.ansible/mazer.log' by default)
basename: "mazer.log"
formatter: file_verbose
level: DEBUG
level: INFO
http_file:
class: ansible_galaxy_cli.logger.setup.ExpandTildeWatchedFileHandler
# Sets log filename to MAZER_HOME (~/.ansible) + basename ('~/.ansible/mazer-http.log' by default)
basename: "mazer-http.log"
formatter: file_verbose
level: DEBUG
level: INFO
loggers:
ansible_galaxy:
handlers:
Expand Down
2 changes: 1 addition & 1 deletion ansible_galaxy_cli/logger/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
from ansible_galaxy.config import defaults

DEFAULT_CONSOLE_LEVEL = os.getenv('MAZER_LOG_LEVEL', 'WARNING').upper()
DEFAULT_LEVEL = 'DEBUG'
DEFAULT_LEVEL = 'INFO'

DEFAULT_LOGGING_CONFIG_YAML = os.path.join(os.path.dirname(__file__), 'default-mazer-logging.yml')

Expand Down

0 comments on commit a249727

Please sign in to comment.