Skip to content

Commit b330815

Browse files
committed
cli: output logging to stdout
Previous output all was sent to stdout, and scripts may rely on that, so redirect console logging to stdout instead of stderr. Signed-off-by: Brian Barrett <[email protected]>
1 parent 8dae4a3 commit b330815

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli/cfncluster/cli.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def config_logger():
5656
logger = logging.getLogger('cfncluster.cfncluster')
5757
logger.setLevel(logging.DEBUG)
5858

59-
ch = logging.StreamHandler()
59+
ch = logging.StreamHandler(sys.stdout)
6060
ch.setLevel(logging.INFO)
6161
ch.setFormatter(logging.Formatter('%(message)s'))
6262
logger.addHandler(ch)

0 commit comments

Comments
 (0)