This repository was archived by the owner on Sep 7, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathenv.example.yml
More file actions
59 lines (58 loc) · 1.5 KB
/
env.example.yml
File metadata and controls
59 lines (58 loc) · 1.5 KB
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
51
52
53
54
55
56
57
58
59
USERNAME: <github_username>
AZURE_STORAGE_KEY: <your-azure-storage-key>
AZURE_STORAGE_NAME: <your-azure-storage-name>
CONTAINER_NAME: <your-azure-storage-container-name>
client:
hostname: localhost.org
imap_port: 1993
users:
- username: test0@localhost.org
password: test0
name: Test0
- username: test1@localhost.org
password: test1
timeout: 10
logger:
version: 1
disable_existing_loggers: False
formatters:
threaded:
format: "%(threadName)s %(asctime)s - %(name)s - %(levelname)s - %(message)s"
simple:
format: "%(name)-12s %(levelname)-8s %(message)s"
json:
format: "%(message)s"
class: "pythonjsonlogger.jsonlogger.JsonFormatter"
handlers:
console:
class: logging.StreamHandler
level: INFO
formatter: simple
debug_file_handler:
class: zippy.utils.log_handler.ZippyFileLogHandler
level: DEBUG
formatter: threaded
filename: client.log
maxBytes: 10485760 # 10MB
backupCount: 20
encoding: utf8
output_file_handler:
class: zippy.utils.log_handler.ZippyDisplayFileLogHandler
level: INFO
formatter: json
filename: output.log
maxBytes: 10485760
backupCount: 20
encoding: utf8
loggers:
client:
level: DEBUG
handlers: [console, debug_file_handler]
propagate: no
output:
level: INFO
handlers: [console, output_file_handler]
propagate: no
root:
level": "INFO"
handlers": ["debug_file_handler"]