-
Notifications
You must be signed in to change notification settings - Fork 39
/
Copy pathdefaultconfig.ini
50 lines (39 loc) · 1.74 KB
/
defaultconfig.ini
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
[GENERAL]
## GENERAL CONFIGURATION ##
# The directory that stores recipes and hardware config
dataDirectory = string(default="/var/lib/microlab")
# The directory that stores microlab log fies
logDirectory = string(default="/var/log/microlab/")
# Max size in bytes of individual microlab log files
logFileMaxBytes = integer(default=1000000)
# Number of log files to have as backups
logFileBackupCount = integer(default=5)
# When enabled, log outputs get sent to stderr in addition to the log file.
# Can be useful for development and testing, can fill up system log files if
# left enabled.
logToStderr = boolean(default=false)
# Log level, valid values are "DEBUG", "INFO", "WARNING", "ERROR", "CRITICAL"
# in increasing order of severity. Log entries with severity below specified
# value do not get logged.
logLevel = option("DEBUG", "INFO", "WARNING", "ERROR", "CRITICAL", default="INFO")
[HARDWARE]
## HARDWARE CONFIGURATION ##
# Which hardware controller the software is being run on,
# for loading known hardware configuration.
# current supported values:
# 'pi', 'AML-S905X-CC-V1.0A' (le potato), 'custom',
# 'simulation-pi'
# Custom loads nothing. All hardware used must then be specified in the following
# labHardware file.
# Additional controller configurations can be placed in
# dataDirectory/hardware/controllerhardware,
# the filename minus the .yaml is then a valid configuration
controllerHardware = string(default="pi")
# Hardware configuration for a given lab setup.
# Valid values are yaml files in dataDirectory/hardware/labhardware
# can be uploaded in the web ui and selected there
labHardware = string(default="ftv_microlabv0.5.0")
[FLASK]
## FLASK CONFIGURATION ##
# The port that the backend API should run on
apiPort = integer(default=8081)