2
0
forked from drew/smtprelay

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:
Jonathon Reinhart
2021-03-12 23:38:29 -05:00
parent b36ed8eddb
commit 34cb47c364
6 changed files with 180 additions and 37 deletions

View File

@@ -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"