diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-09-26 00:09:04 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-09-27 11:32:49 +0200 |
| commit | ccacce39c39d16977ab6c1592fcb6e941b05ddff (patch) | |
| tree | 47c348ad4841efd64936b01db2a49eead46f67c8 /src/tools/dcpomatic_disk.cc | |
| parent | 18cb0e914922cd76e9c205e88962816970b5c0cb (diff) | |
Add config location versioning (#2090).
Diffstat (limited to 'src/tools/dcpomatic_disk.cc')
| -rw-r--r-- | src/tools/dcpomatic_disk.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/dcpomatic_disk.cc b/src/tools/dcpomatic_disk.cc index 7e43c0684..ec5d8e782 100644 --- a/src/tools/dcpomatic_disk.cc +++ b/src/tools/dcpomatic_disk.cc @@ -139,7 +139,7 @@ public: /* 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.log")); + dcpomatic_log = make_shared<FileLog>(State::write_path("disk.log")); dcpomatic_log->set_types (dcpomatic_log->types() | LogEntry::TYPE_DISK); LOG_DISK("dcpomatic_disk %1 started", dcpomatic_git_commit); |
