-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMECS.ini.template
More file actions
50 lines (40 loc) · 886 Bytes
/
MECS.ini.template
File metadata and controls
50 lines (40 loc) · 886 Bytes
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
39
40
41
42
43
44
45
46
47
48
49
50
[MECS]
devices_config_path = /home/pi/devices.json
root_folder = /home/pi/data
output_folder = raw
aggregated_folder = aggregated
archive_folder = uploaded
calibration_samples = 25
[MECS-SERVER]
# must include values for username and host
port = 22
destination_root = data
[git]
branch = master
source_folder = /home/pi/MECS
install = False
[loggers]
keys = root, MECS
[handlers]
keys = console, file
[formatters]
keys = generic
[logger_root]
handlers = console
[logger_MECS]
level = DEBUG
handlers = console, file
qualname = MECS
propagate = 0
[handler_console]
class = StreamHandler
args = (sys.stdout,)
level = NOTSET
formatter = generic
[handler_file]
class = handlers.RotatingFileHandler
args = ("/home/pi/logs/MECS.log", 'a', 100000, 5)
level = NOTSET
formatter = generic
[formatter_generic]
format = %(asctime)s %(levelname)-5.5s [%(name)s][%(threadName)s] %(message)s