1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

pyterm: log to stdout per default

This commit is contained in:
Oleg Hahm 2016-11-17 16:59:36 +01:00
parent 7ba4801502
commit 00942927a2

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