All Downloads are FREE. Search and download functionalities are using the official Maven repository.

mklab-stream-manager.0.2.1.source-code.log4j2.xml Maven / Gradle / Ivy

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

<Configuration status="info">

	<Appenders>
    	<File name="FILE" fileName="logs/stream-manager.log" append="false">
      		<PatternLayout pattern="%d  %-5p [%t] %C{2} (%F:%L) - %m%n"/>
    	</File>
    	<Console name="CONSOLE" target="SYSTEM_OUT">
      		<PatternLayout pattern="%d  %-5p [%t] %C{2} (%F:%L) - %m%n" />
    	</Console>
    	<Async name="AsyncAppender" includeLocation="true">
      		<AppenderRef ref="FILE"/>
      		<AppenderRef ref="CONSOLE"/>
    	</Async>
    	<RollingFile name="RollingFileAppender" fileName="logs/app.log" filePattern="logs/$${date:yyyy-MM}/app-%d{MM-dd-yyyy}-%i.log.gz">
      		<PatternLayout>
        		<Pattern>%d  %-5p [%t] %C{2} (%F:%L) - %m%n</Pattern>
      		</PatternLayout>
      		<Policies>
        		<TimeBasedTriggeringPolicy />
        		<SizeBasedTriggeringPolicy size="50 MB"/>
      		</Policies>
    	</RollingFile>
    	<GELF name="GelfAppender" server="127.0.0.1" port="12201" hostName="127.0.0.1"/>
  	</Appenders>
  	
  	<Loggers>
    	<Root level="info">
      		<AppenderRef ref="AsyncAppender" />
      		<AppenderRef ref="RollingFileAppender" />
      		<AppenderRef ref="GelfAppender"/>
    	</Root>
  	</Loggers>
</Configuration>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy