-
Notifications
You must be signed in to change notification settings - Fork 1
/
mqtt.config
38 lines (36 loc) · 904 Bytes
/
mqtt.config
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
[
{sasl, [
{sasl_error_logger, false},
{utc_log, true}
]},
%% log levels: debug, info, notice, warning, error, critical, alert, emergency, none
{lager, [
{error_logger_redirect, false},
{log_root, "logs"},
{handlers, [
{lager_console_backend, [
{level, debug},
{formatter, lager_default_formatter},
{formatter_config, [
date," ",time, " [",severity,"] ", pid, " ",
{module, [module, ":"], [""]},
{function, [function, ":"], [""]},
{line, [line], [""]},
{endtype, [" -", endtype, "- "], [" - "]},
message, "\n"
]}
]},
{lager_file_backend, [{file, "common.log.txt"}, {level, info}]}
]},
{traces, [
]}
]},
{mqtt_client, [
{host, "localhost"},
{port, 8080},
{mqtt_protocol_ver, '3.1.1'}
]},
{mqtt_common, [
{timeout, 103}
]}
].