|
@@ -14,7 +14,7 @@ logger = logging.getLogger(config.APP_NAME)
|
14
|
14
|
|
15
|
15
|
VERS_MAJOR = 1
|
16
|
16
|
VERS_MINOR = 2
|
17
|
|
-VERS_PATCH = 0
|
|
17
|
+VERS_PATCH = 1
|
18
|
18
|
|
19
|
19
|
INFO_TOPIC = "__info__"
|
20
|
20
|
INFO_DATA = {
|
|
@@ -40,7 +40,8 @@ def __info_publisher__(client, userdata, message):
|
40
|
40
|
|
41
|
41
|
if __name__ == "__main__":
|
42
|
42
|
if config.DEBUG:
|
43
|
|
- report.appLoggingConfigure(None, None, ((config.APP_NAME, logging.DEBUG), ), fmt=report.SHORT_FMT, host='localhost', port=19996)
|
|
43
|
+ report.appLoggingConfigure(None, 'stdout', ((config.APP_NAME, logging.DEBUG), ),
|
|
44
|
+ target_level=logging.WARNING, fmt=report.SHORT_FMT, host='localhost', port=19996)
|
44
|
45
|
else:
|
45
|
46
|
report.stdoutLoggingConfigure(((config.APP_NAME, logging.WARNING), ), report.SHORT_FMT)
|
46
|
47
|
#
|