aboutsummaryrefslogtreecommitdiff
path: root/internal/contentenc/file_header.go
diff options
context:
space:
mode:
authorJakob Unterwurzacher2017-05-24 19:57:45 +0200
committerJakob Unterwurzacher2017-05-24 19:57:45 +0200
commit70c16fde4c908414f6af53c3193a89fa296ef732 (patch)
treed7acaec8628e4c0594376009747232512c7908ab /internal/contentenc/file_header.go
parente827763f2e6226d9f5778d56c28270264950c0f5 (diff)
main: replace paniclog with logger(1)
Instead of redirecting stdout and stderr to /tmp/gocryptfs_paniclog, where it is hard to find, redirect them to a newly spawned logger(1) instance that forwards the messages to syslog. See https://github.com/rfjakob/gocryptfs/issues/109 for an example where the paniclog was lost due to a reboot. Also, instead of closing stdin, redirect it to /dev/null, like most daemons seem to do.
Diffstat (limited to 'internal/contentenc/file_header.go')
0 files changed, 0 insertions, 0 deletions