Make terminate_threads() less likely to leave _threads containing invalid pointers.
[dcpomatic.git] / src / lib / file_log.cc
index c2a33d4252b3a7a582fa2ae1c45a48508e1c270d..f6eaa58f8ebaf85b4e02630fee9ab869f91115c2 100644 (file)
@@ -20,6 +20,7 @@
 
 #include "file_log.h"
 #include "cross.h"
+#include "config.h"
 #include <cstdio>
 #include <iostream>
 
@@ -32,7 +33,7 @@ using boost::shared_ptr;
 FileLog::FileLog (boost::filesystem::path file)
        : _file (file)
 {
-
+       set_types (Config::instance()->log_types());
 }
 
 void