snaralasetty opened a new issue, #2010:
URL: https://github.com/apache/logging-log4j2/issues/2010

   ## Description
   
   We are using log4j2 for logging in Sterling OMS product and observe that for 
2 app servers, sometimes logging stops getting generated at midnight . Date 
based rollover strategy is implemented
   
   ## Configuration
   
   <Appenders>
   
        <RollingFile name="LULU_LOG_APPENDER" 
fileName="/opt/ssfs/runtime/logs/${sys:server_name:-}.log" 
filePattern="/opt/ssfs/runtime/logs/${sys:server_name:-}.log.%d{yyyy-MM-dd}">
               <PatternLayout pattern="%d:%-7p:%t: %-60m [%X{AppUserId}]: 
[%X{TenantId}]: %-25c{1}%n" />
                <Filters>
                           <SCILog4j2PatternFilter/>
                   </Filters>
                <Policies>
                        <TimeBasedTriggeringPolicy interval="1"/>
                </Policies> 
            </RollingFile>
                
            <RollingFile name="ALL" 
fileName="/opt/ssfs/runtime/logs/${sys:server_name:-}.log" 
filePattern="/opt/ssfs/runtime/logs/${sys:server_name:-}.log.%d{yyyy-MM-dd}">
               <PatternLayout pattern="%d:%-7p:%t: %-60m [%X{AppUserId}]: 
[%X{TenantId}]: %-25c{1}%n" />
                <Filters>
                           <SCILog4j2PatternFilter/>
                   </Filters>
                <Policies>
                        <TimeBasedTriggeringPolicy interval="1"/>
                </Policies> 
            </RollingFile>
   
   **Version:** Log4J2
   
   **Operating system: Unix (Sterling OMS v 10)
   
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to