The opjfile.log mechanism might be useful for debugging, but severely inhibits the use of liborigin for practical sized Origin files. Currently, opjfile.log loggin is disabled via defining the NO_CODE_GENERATION_FOR_LOG macro, but there is one case where opjfile.log is not wrapped by the #ifndef conditional in OriginDefaultParser.cpp. The attached patch fixes the issue.
On a related note, I believe the logging should be disabled by default.