diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-04-05 23:42:20 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-04-05 23:42:20 +0200 |
| commit | c916cdd8032b5419c4c41db6dd479ef171de31c3 (patch) | |
| tree | 59acfe17f331de8d2c354c48f63eb750d8041c55 /src/tools | |
| parent | bdc00fbe25346d93d70772c2ef2c64dd805a5e3e (diff) | |
Prevent disk_writer from loading config.
Diffstat (limited to 'src/tools')
| -rw-r--r-- | src/tools/dcpomatic_disk_writer.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/tools/dcpomatic_disk_writer.cc b/src/tools/dcpomatic_disk_writer.cc index a896cd181..eb5b7c27a 100644 --- a/src/tools/dcpomatic_disk_writer.cc +++ b/src/tools/dcpomatic_disk_writer.cc @@ -433,8 +433,7 @@ main () /* 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. */ - dcpomatic_log.reset(new FileLog(config_path() / "disk_writer.log")); - dcpomatic_log->set_types (dcpomatic_log->types() | LogEntry::TYPE_DISK); + dcpomatic_log.reset(new FileLog(config_path() / "disk_writer.log", LogEntry::TYPE_DISK)); LOG_DISK_NC("dcpomatic_disk_writer started"); try { |
