summaryrefslogtreecommitdiffstats
path: root/server.config.example/server.conf
diff options
context:
space:
mode:
Diffstat (limited to 'server.config.example/server.conf')
-rw-r--r--server.config.example/server.conf16
1 files changed, 16 insertions, 0 deletions
diff --git a/server.config.example/server.conf b/server.config.example/server.conf
index aeae8d5..3e5aa8c 100644
--- a/server.config.example/server.conf
+++ b/server.config.example/server.conf
@@ -14,3 +14,19 @@ uplinkTimeout=1250
; timeout in ms for send/recv on connections to clients (using an image on this server)
clientTimeout=15000
+; Log related config
+[logging]
+; log file path and name
+file=./dnbd3.log
+; which type of messages to log to file
+fileMask=ERROR WARNING MINOR INFO DEBUG1
+; which to log to console (stdout)
+consoleMask=ERROR WARNING MINOR INFO
+; Valid types (warning: specifying invalid types will not yield an error!)
+; ERROR Fatal error, server will terminate
+; WARNING Major issue, something is broken but keep running
+; MINOR Minor issue, more of a hickup than serious problem
+; INFO Informational message
+; DEBUG1 Debug information, used for medium verbosity
+; DEBUG2 Used for debug messages that would show up a lot
+