-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add minimal and dev toml-config example files
- Loading branch information
1 parent
b3f8ad9
commit 7692e0a
Showing
4 changed files
with
79 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
[flask] | ||
SECRET_KEY = | ||
DEBUG = true | ||
|
||
[howitz] | ||
storage = "./howitz.sqlite3" | ||
devmode = true | ||
poll_interval = 60 | ||
timezone='LOCAL' | ||
|
||
[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 = "ERROR" | ||
|
||
# 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"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
[flask] | ||
SECRET_KEY = | ||
DEBUG = true | ||
|
||
[howitz] | ||
storage = "./howitz.sqlite3" | ||
devmode = true | ||
poll_interval = 60 | ||
timezone='LOCAL' | ||
|
||
[zino.connections.default] | ||
server = | ||
|
||
[logging] | ||
version = 1 | ||
|
||
[logging.root] | ||
level = "ERROR" |