Set logging timestamp
[ros_wild_thumper.git] / config / python_logging.conf
1 [loggers]
2 keys=root, rosout
3
4 [handlers]
5 keys=streamHandler
6
7 [formatters]
8 keys=defaultFormatter
9
10 [logger_root]
11 level=INFO
12 handlers=streamHandler
13
14 [logger_rosout]
15 level=INFO
16 handlers=streamHandler
17 propagate=1
18 qualname=rosout
19
20 [handler_fileHandler]
21 class=handlers.RotatingFileHandler
22 level=DEBUG
23 formatter=defaultFormatter
24 # log filename, mode, maxBytes, backupCount
25 args=(os.environ['ROS_LOG_FILENAME'],'a', 50000000, 4)
26
27 [handler_streamHandler]
28 class=wild_thumper.ros_logging.RosStreamHandler
29 level=DEBUG
30 formatter=defaultFormatter
31 # colorize output flag
32 args=(True,)
33
34 [formatter_defaultFormatter]
35 format=[%(name)s][%(levelname)s] %(asctime)s: %(message)s