-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathconfig.toml
36 lines (30 loc) · 969 Bytes
/
config.toml
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
# [mirrors]
# Add each mirror with its info. Example:
# [lxdhub]
# user = "lxdadm"
# url = "https://lxdhub.xxxxxxx.com:8443"
# remote is replacing url, but url is not removed for backward compatibility
# remote = "lxdhub.xxxxxxx.com"
# Make sure key has 700 permission and the ownership is lxdadm:www-data
# key_path = "/etc/lxd-image-server/lxdhub.key"
[logging]
version = 1
disable_existing_loggers = 1
[logging.formatters.simple]
format = "%(message)s"
[logging.formatters.complex]
format = "%(levelname)s %(asctime)s %(message)s"
[logging.handlers.filelog]
level = "INFO"
class = "logging.FileHandler"
filename = "/var/log/lxd-image-server/lxd-image-server.log"
formatter = "complex"
[logging.handlers.console]
level = "ERROR"
class = "logging.StreamHandler"
formatter = "simple"
# Main logger of the application
[logging.loggers.lxd_image_server]
handlers = ["console", "filelog"]
level = "INFO"
propagate = false