summaryrefslogtreecommitdiff
path: root/src/tools/dcpomatic_batch.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2023-09-24 12:02:19 +0200
committerCarl Hetherington <cth@carlh.net>2023-10-18 13:46:37 +0200
commit5b4ff8ad597ab9b4ca5d5ee3190dce76c9451566 (patch)
treef4aed1a7a584c1d8eddb5e3ff44f58fd4a92c975 /src/tools/dcpomatic_batch.cc
parent0053d931a1293d4f663489f874a54fbcfbd5783b (diff)
Explicitly set up Grok logger rather than relying on a static variable.
Diffstat (limited to 'src/tools/dcpomatic_batch.cc')
-rw-r--r--src/tools/dcpomatic_batch.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/tools/dcpomatic_batch.cc b/src/tools/dcpomatic_batch.cc
index 16da43410..bf0ea5237 100644
--- a/src/tools/dcpomatic_batch.cc
+++ b/src/tools/dcpomatic_batch.cc
@@ -31,6 +31,7 @@
#include "lib/config.h"
#include "lib/dcpomatic_socket.h"
#include "lib/film.h"
+#include "lib/grok/context.h"
#include "lib/job.h"
#include "lib/job_manager.h"
#include "lib/make_dcp.h"
@@ -496,6 +497,8 @@ class App : public wxApp
}
}
+ grk_plugin::setMessengerLogger(new grk_plugin::GrokLogger("[GROK] "));
+
return true;
}