mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-04-29 13:01:36 +08:00
copr-be: copr-ping: logging to stdout
This commit is contained in:
@@ -18,7 +18,11 @@ EXIT_WARN = 1
|
||||
EXIT_CRITICAL = 2
|
||||
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()
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user