-
Notifications
You must be signed in to change notification settings - Fork 3
/
howitz.toml.example
59 lines (46 loc) · 1.21 KB
/
howitz.toml.example
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
[flask]
SECRET_KEY =
DEBUG = true
CACHE_TYPE = 'FileSystemCache'
CACHE_DIR = './.howitz_cache'
[howitz]
storage = "./howitz.sqlite3"
devmode = true
refresh_interval = 10
timezone='LOCAL'
sort_by="lasttrans"
[zino.connections.default]
server =
## Comment out and fill out in order to configure another Zino server profile
#[zino.connections.other]
#server =
[logging]
version = 1
[logging.root]
level = "DEBUG"
# Tweak in order to configure desired logging level
[logging.formatters.default]
format = "%(levelname)s %(name)s in %(funcName)s: %(message)s"
[logging.formatters.detail]
format = "%(asctime)s %(levelname)s %(name)s %(pathname)s:%(lineno)s:: %(message)s"
[logging.handlers.null]
class = "logging.NullHandler"
[logging.handlers.wsgi]
class = "logging.StreamHandler"
stream = "ext://flask.logging.wsgi_errors_stream"
formatter = "default"
[logging.handlers.error]
level = "WARNING"
class = "logging.FileHandler"
filename = "errors.log"
formatter = "detail"
[logging.handlers.debug]
level = "DEBUG"
class = "logging.handlers.TimedRotatingFileHandler"
filename = "debug.log"
when = 'D'
formatter = "detail"
[logging.loggers.zinolib]
handlers = ["debug", "wsgi"]
[logging.loggers.howitz]
handlers = ["debug", "wsgi"]