diff --git a/doc/software-manual.tex b/doc/software-manual.tex
index 29072a2d85a0f4b64741abbea2217799b3307318..c3acc02370b6c508515dee73d415e4f3879f3a2b 100644
--- a/doc/software-manual.tex
+++ b/doc/software-manual.tex
@@ -3989,6 +3989,12 @@ Defines the input bit stream file name.
 Defines the reconstructed video file name. If empty, no file is generated. If the bitstream contains multiple layer and no single target layer is specified (i.e. TargetLayer=-1), a reconstructed file is written for each layer and the layer index is added as suffix to ReconFile. If one or more dots exist in the file name, the layer id is added before the last dot, e.g. 'decoded.yuv' becomes 'decoded0.yuv' for layer id 0, 'decoded' becomes 'decoded0'.
 \\
 
+\Option{OplFile (-opl)} &
+%\ShortOption{-o} &
+\Default{\NotSet} &
+Defines the output log file name (*.opl file). If empty, no file is generated. Each output picture log file contains one row for each output picture in the bitstream, in output order. Each row contains the following information, as CSV:	PicOrderCntVal, pic\_width\_max\_in\_luma\_samples, pic\_height\_max\_in\_luma\_samples, MD5 checksum for the Y component, MD5 checksum for the U component, MD5 checksum for the V component. The format of output log file is specified in JVET-P2008. 
+\\
+
 \Option{SkipFrames (-s)} &
 %\ShortOption{-s} &
 \Default{0} &
diff --git a/source/App/DecoderApp/DecApp.cpp b/source/App/DecoderApp/DecApp.cpp
index 46379c2ebe78039514d6c6aacc6962fdb1e8202a..f0428bff4987ad635fe28312f064fee908379dd4 100644
--- a/source/App/DecoderApp/DecApp.cpp
+++ b/source/App/DecoderApp/DecApp.cpp
@@ -98,7 +98,6 @@ uint32_t DecApp::decode()
 #if JVET_P2008_OUTPUT_LOG
   if (!m_oplFilename.empty() && m_oplFilename!="-")
   {
-    m_oplFilename += ".opl";
     m_oplFileStream.open(m_oplFilename.c_str(), std::ios::out);
     if (!m_oplFileStream.is_open() || !m_oplFileStream.good())
     {
diff --git a/source/Lib/CommonLib/TypeDef.h b/source/Lib/CommonLib/TypeDef.h
index 52745d048ae5e34fc2e07f2c85953b09b44eeedd..6d122e84da0285cc9818d52aff0a2a5615165c0e 100644
--- a/source/Lib/CommonLib/TypeDef.h
+++ b/source/Lib/CommonLib/TypeDef.h
@@ -50,6 +50,7 @@
 #include <assert.h>
 #include <cassert>
 
+#define JVET_P2008_OUTPUT_LOG                             1 // Output log file for conformance tests
 #define JVET_Q0172_CHROMA_FORMAT_BITDEPTH_CONSTRAINT      1 //JVET-Q0172: Disallow differing chroma format and different bit depths for cross-layer prediction. 
 
 #define JVET_Q0491_PLT_ESCAPE                             1 // JVET-Q0491: Palette escape binarization