copr-be: copr-ping: logging to stdout
This commit is contained in:
parent
d8872b6300
commit
eb4c6fd073
1 changed files with 5 additions and 1 deletions
|
@ -18,7 +18,11 @@ EXIT_WARN = 1
|
||||||
EXIT_CRITICAL = 2
|
EXIT_CRITICAL = 2
|
||||||
EXIT_UNKNOWN = 3
|
EXIT_UNKNOWN = 3
|
||||||
|
|
||||||
logging.basicConfig(level=logging.INFO, format='%(message)s')
|
logging.basicConfig(
|
||||||
|
level=logging.INFO,
|
||||||
|
format='%(message)s',
|
||||||
|
handlers=[logging.StreamHandler(sys.stdout)],
|
||||||
|
)
|
||||||
LOG = logging.getLogger()
|
LOG = logging.getLogger()
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue