Github user HowardQin commented on a diff in the pull request:
https://github.com/apache/incubator-trafodion/pull/17#discussion_r34025968
--- Diff: core/sql/optimizer/OptimizerSimulator.cpp ---
@@ -278,9 +277,10 @@ OptimizerSimulator::OptimizerSimulator(CollHeap *heap)
sysCallLogFilePath_[sc]=NULL;
writeSysCallStream_[sc]=NULL;
}
+ // Init log4cxx logging
+ CommonLogger::instance().initLog4cxx("log4cxx.trafodion.osim.config");
--- End diff --
Yes, OSIM is running in compiler.
The initialization process is not necessary, but we do need a separate
logger to print OSIM message to console.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---