Skip to Content
0
Former Member
Mar 04, 2015 at 10:24 AM

OMS log, why log file is not created ?

332 Views

Hi,

I have a problem with OMS logs, I don't know why file log is not created under : /home/sharaf/oms/logs/oms.log

Here the slf4j config for "tomcat-7/lib/com.sharafdg.oms_oms-sharafdg-web-logback.xml"

 <appender name="FILE" class="ch.qos.logback.core.FileAppender">
     <file>/home/sharaf/oms/logs/oms1111.log</file>
     <encoder>
         <pattern>%date %level [%thread] %logger{10} [%file:%line] %msg%n</pattern>
     </encoder>
 </appender>
 
 <logger name="javax.validation" level="info" />

 <logger name="org.springframework.beans.factory" level="warn"/>
 <logger name="org.springframework.transaction" level="info" />
 <logger name="org.springframework.validation" level="info" />
 <logger name="org.springframework.test" level="warn" />
 <logger name="org.springframework.aop.interceptor.PerformanceMonitorInterceptor" level="trace" appender-ref="STDOUT"/>

 <logger name="com.hybris.oms" level="info"/>
 <logger name="com.hybris.kernel" level="info"/>
 
 <logger name="com.hybris.commons" level="debug"/>

 <logger name="httpclient.wire.content" level="debug"/>
 <logger name="httpclient.wire.header" level="debug"/>
 <logger name="com.hybris.oms.service.ats" level="debug"/>
 <logger name="com.hybris.oms.service.sourcing" level="debug"/>

 <!-- DB statements -->
 <logger name="com.hybris.kernel.engine.jdbc.JDBCPersistenceEngine" level="info" />
 <logger name="com.hybris" level="info" />
 <logger name="org.springframework.jdbc.core.JdbcTemplate" level="info" />


 <root level="info">
     <appender-ref ref="FILE" />
 </root>



Any idea, why the log file is not created ?

Thanks

Houssem