TDI-30001: support log4j for MOM components
https://jira.talendforge.org/browse/TDI-30001
Note:Fixed compile error for tMomCommit