This repository has been archived by the owner on Jul 30, 2020. It is now read-only.
Tweaks for default log level (Fixes #267) #273
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
SUMMARY
Various tweaks for #267
Fixes #267
Better format for info log msgs for installs
Only log display_callback msgs at DEBUG level
Log GalaxyErrors exc info that make it to main at debug
On cli startup, log a info line with basic info
And 'info' level log the exit code.
For ex:
Move impl of
mazer version
from actions->mazer_versionMove the impl details of collecting the mazer version info
for
mazer version
to ansible_galaxy.mazer_version so thatother modules can use it (namely, ansible_galaxy.cli.galaxy
for logging info at cli startup)
By default, only log http info to mazer-http.log
Set default logging level to INFO
Let log handler set basename rel to MAZER_HOME.
So a logging config (the default logging config in particular)
can provide a 'basename' arg for
ExpandTildeWatchedFileHandler that will be used relative to
MAZER_HOME.
So:
Will use any config in /tmp/mazer_home/, plus by default install
collections to MAZER_HOME/collections, will also now log by
default to MAZER_HOME/mazer.log and MAZER_HOME/mazer-http.log
ISSUE TYPE
MAZER VERSION