mirror of
https://github.com/decke/smtprelay.git
synced 2026-11-06 07:51:36 -06:00
Implement structured logs using logrus
This was based loosely on an earlier implementation by Danny Kopping <danny.kopping@grafana.com>
This commit is contained in:
1 parent
b36ed8eddb
commit
34cb47c364
6 files changed
+180
-37
No files matched your search
@@ -3,6 +3,12 @@
|
||||
; Logfile
|
||||
;logfile = /var/log/smtprelay.log
|
||||
|
||||
; Log format: default, plain (no timestamp), json
|
||||
;log_format = "default"
|
||||
|
||||
; Log level: panic, fatal, error, warn, info, debug, trace
|
||||
;log_level = "info"
|
||||
|
||||
; Hostname for this SMTP server
|
||||
;hostname = "localhost.localdomain"
|
||||
|
||||
|
||||
Reference in new issue
Block a user