From: Carl Hetherington Date: Wed, 20 Jul 2022 10:20:00 +0000 (+0200) Subject: Add some logging to the KDM creator. X-Git-Tag: v2.16.19~3 X-Git-Url: https://git.carlh.net/gitweb/?p=dcpomatic.git;a=commitdiff_plain;h=25eb7aa723af004162fc7f95995df250c4e4571b;ds=sidebyside Add some logging to the KDM creator. --- diff --git a/src/tools/dcpomatic_kdm.cc b/src/tools/dcpomatic_kdm.cc index 98d701fab..7a8d7cf34 100644 --- a/src/tools/dcpomatic_kdm.cc +++ b/src/tools/dcpomatic_kdm.cc @@ -38,8 +38,10 @@ #include "lib/compose.hpp" #include "lib/config.h" #include "lib/cross.h" +#include "lib/dcpomatic_log.h" #include "lib/dkdm_wrapper.h" #include "lib/exceptions.h" +#include "lib/file_log.h" #include "lib/job_manager.h" #include "lib/kdm_with_metadata.h" #include "lib/screen.h" @@ -203,6 +205,8 @@ public: _export_dkdm->Bind (wxEVT_BUTTON, bind (&DOMFrame::export_dkdm_clicked, this)); setup_sensitivity (); + + dcpomatic_log = make_shared(State::write_path("kdm.log")); } private: