1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-25 14:33:52 +01:00

Merge pull request #6140 from OlegHahm/pyterm_stdout

pyterm: log to `stdout` per default
This commit is contained in:
Martine Lenders 2016-11-18 00:21:04 +01:00 committed by GitHub
commit bddf4f8dcb

View File

@ -148,7 +148,7 @@ class SerCmd(cmd.Cmd):
os.makedirs(directory)
logging.basicConfig(filename=directory + os.path.sep + self.run_name +
'.log', level=logging.DEBUG, format=self.fmt_str)
ch = logging.StreamHandler()
ch = logging.StreamHandler(sys.stdout)
ch.setLevel(logging.DEBUG)
# create logger