Log4j2 adding zinc verbose for devices

Log4j2 adding zinc verbose for devices

<?xml version="1.0" encoding="UTF-8"?>
<Configuration>

   <Appenders>

      <Console name="log2console" target="SYSTEM_OUT">
         <PatternLayout pattern="%d %-5p %c{1}:%L - %m%n"/>
      </Console>
      
      <RollingFile name="log2file" fileName="logs/client.log" filePattern="logs/client.%d{yyyy-MM-dd}-%i.log" ignoreExceptions="false">
         <PatternLayout>
            <Pattern>%d %-5p %c{1}:%L - %m%n</Pattern>
         </PatternLayout>
         <Policies>
            <TimeBasedTriggeringPolicy interval="1"/>
            <SizeBasedTriggeringPolicy size="100 MB"/>
         </Policies>
         <DefaultRolloverStrategy max="25" />
      </RollingFile>
      
      <Async name="async" bufferSize="1000">
         <AppenderRef ref="log2file"/>
         <LinkedTransferQueue/>
      </Async>
      
   </Appenders>

   <Loggers>
   
      <Logger name="javascript" level="INFO" additivity="false">
         <AppenderRef ref="async"/>
      </Logger>

      <Logger name="zinc" level="debug" additivity="false">
         <AppenderRef ref="async"/>
      </Logger>
      
      <!-- For debugging -->
      <!--  
      <Logger name="zinc" level="debug" additivity="false">
         <AppenderRef ref="async"/>
      </Logger>
      <Logger name="mercury" level="debug" additivity="false">
         <AppenderRef ref="async"/>
      </Logger>
      <Logger name="slate" level="debug" additivity="false">
         <AppenderRef ref="async"/>
      </Logger>
      <Logger name="cobalt" level="debug" additivity="false">
         <AppenderRef ref="async"/>
      </Logger>
      -->
      
      <Root level="WARN">
         <AppenderRef ref="async"/>
      </Root>
      
   
   </Loggers>   
      
</Configuration>

    • Related Articles

    • HL7 verbose logging (prior to 6432)

      To turn on Verbose logging for HL7 Rename your current log settings to log4j_old.xml Replace with attached log4j, then restart the passagepoint service.
    • HL7 verbose logging (6432 and higher)

      To turn on Verbose logging for HL7 Rename your current log settings to log4j2_old.xml Replace with attached log4j2.xml, then restart the passagepoint service.
    • Extra verbose logging in passagepoint

      We do not recommend customers enabling the logs unless required. See attached for log4j2.xml which has all verbose enabled. You can simply remove yours and replace with the attached, then restart. We have 5 different logging for a different purposes: ...
    • Adding the Onboard Signature Pad

      PassagePoint has an onboard signature pad that can be adding in to be use in conjunction with a touch screen. Keep in mind that this signature pad will be shown at the top of the screen and cannot be moved. Follow the direction below to add the ...
    • HL7 NON-verbose logging

      If PasasgePoint's HL7 logger is set to verbose, to remove verbose logging, replace log4j2.xml on your server with attached log4j2.xml, then restart the passagepoint service.