Add logging & syslog support to unfurler
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
{
|
||||
"SERVER": {
|
||||
"HOST": "http://localhost",
|
||||
"HTTP_PORT": 4201
|
||||
"HTTP_PORT": 4201,
|
||||
"STDOUT_LOG_MIN_PRIORITY": "debug",
|
||||
},
|
||||
"MEMPOOL": {
|
||||
"HTTP_HOST": "http://localhost",
|
||||
@@ -14,5 +15,12 @@
|
||||
"EXEC_PATH": "/usr/local/bin/chrome", // optional
|
||||
"MAX_PAGE_AGE": 86400, // maximum lifetime of a page session (in seconds)
|
||||
"RENDER_TIMEOUT": 3000, // timeout for preview image rendering (in ms) (optional)
|
||||
},
|
||||
"SYSLOG": {
|
||||
"ENABLED": true,
|
||||
"HOST": "127.0.0.1",
|
||||
"PORT": 514,
|
||||
"MIN_PRIORITY": "info",
|
||||
"FACILITY": "local7"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user