X-Git-Url: https://main.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=src%2Ftools%2Fdcpomatic_disk_writer.cc;h=67de360d3348bafd18c09c14e6c49ab206535645;hp=ef384bbbac5d27b2bd0967d98f3c9c818234ead3;hb=2c87d13f0009dda9944e4b4b3935262a7753d516;hpb=9b9202c7f9fc26fcef0984189aaed366b7c6d726 diff --git a/src/tools/dcpomatic_disk_writer.cc b/src/tools/dcpomatic_disk_writer.cc index ef384bbba..67de360d3 100644 --- a/src/tools/dcpomatic_disk_writer.cc +++ b/src/tools/dcpomatic_disk_writer.cc @@ -45,6 +45,7 @@ extern "C" { #include } +#include #include #endif @@ -285,7 +286,7 @@ main () * redirect this to a file in /var/log */ dcpomatic_log.reset(new StdoutLog(LogEntry::TYPE_DISK)); - LOG_DISK("dcpomatic_disk_writer %1 started", dcpomatic_git_commit); + LOG_DISK("dcpomatic_disk_writer %1 started uid=%2 euid=%3", dcpomatic_git_commit, getuid(), geteuid()); #else /* XXX: this is a hack, but I expect we'll need logs and I'm not sure if there's * a better place to put them.