-
Notifications
You must be signed in to change notification settings - Fork 1
/
logging.yaml
43 lines (39 loc) · 1.07 KB
/
logging.yaml
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
---
version: 1
formatters:
ssFormater:
format: "%(asctime)s %(module)17s#L%(lineno)d: %(message)s"
handlers:
console:
class: logging.StreamHandler
formatter: ssFormater
level: DEBUG
stream: ext://sys.stdout
file:
(): slurmscale.logpath
formatter: ssFormater
level: WARNING
max_bytes: 104857600 # 100MB
backup_count: 3
# absolute path or path relative to the library install path
filename: slurmscale.log
loggers:
# Control individual SlurmScale modules, as desired
# logger name can be renamed higher up in the module hierarchy to apply
# more generally, for example ``slurmscale.nodes`` or ``slurmscale``.
# slurmscale.nodes.nodes:
# level: INFO
# Control 3rd party libs
keystoneclient:
level: WARNING
novaclient:
level: WARNING
cloudbridge:
level: WARNING
paramiko:
level: WARNING
root:
# Can be a level or a numeric value
# https://docs.python.org/2/library/logging.html#logging-levels
level: DEBUG
handlers: [console, file]