diff options
author | Jakob Unterwurzacher | 2018-10-17 22:01:37 +0200 |
---|---|---|
committer | Jakob Unterwurzacher | 2018-10-17 22:18:03 +0200 |
commit | 3cd892ccdee9cef6e2fd9ad14cb12f643e4a6fb3 (patch) | |
tree | 8fbf21edde137d928fee4db528acf2dce43f75e4 /internal/fusefrontend/ctlsock_interface.go | |
parent | 0751b4e00a3cbb7e940e39d76abadd21aadcd16c (diff) |
main: also redirect Fatal logger to syslog on daemonization
The messages would still be collected via gocryptfs-logger,
but let's do it right.
Before:
Oct 17 21:58:12 brikett gocryptfs[9926]: testing info
Oct 17 21:58:12 brikett gocryptfs[9926]: testing warn
Oct 17 21:58:12 brikett gocryptfs-9926-logger[9935]: testing fatal
After:
Oct 17 22:00:53 brikett gocryptfs[10314]: testing info
Oct 17 22:00:53 brikett gocryptfs[10314]: testing warn
Oct 17 22:00:53 brikett gocryptfs[10314]: testing fatal
Diffstat (limited to 'internal/fusefrontend/ctlsock_interface.go')
0 files changed, 0 insertions, 0 deletions