FIXME: add some logging to the verifier.
[dcpomatic.git] / src / lib / verify_dcp_job.cc
index 6635d408cb27d275f99045ed8476cdaf4c771068..da41544789978f9194445119b18d922705addd09 100644 (file)
@@ -22,6 +22,7 @@
 #include "config.h"
 #include "content.h"
 #include "cross.h"
+#include "dcpomatic_log.h"
 #include "verify_dcp_job.h"
 
 #include "i18n.h"
@@ -92,8 +93,10 @@ VerifyDCPJob::run ()
                bind(&VerifyDCPJob::update_stage, this, _1, _2),
                bind(&VerifyDCPJob::set_progress, this, _1, false),
                {},
-               libdcp_resources_path() / "xsd"
-               );
+               libdcp_resources_path() / "xsd",
+               [](string msg) {
+                       LOG_DEBUG_VERIFY_NC(msg);
+               });
 
        bool failed = false;
        for (auto i: _notes) {