1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/jitsi_ynh.git synced 2024-09-03 19:35:57 +02:00
jitsi_ynh/conf/jitsi-videobridge-log4j2.xml

33 lines
1 KiB
XML
Raw Normal View History

2020-04-15 08:50:39 +02:00
<?xml version="1.0" encoding="UTF-8"?>
<Configuration>
<Properties>
<Property name="log-path">/var/log/__APP__</Property>
</Properties>
<Appenders>
<RollingFile name="RollingFile" fileName="${log-path}/cs.log"
filePattern="${log-path}/$${date:yyyy-MM}/cs-%d{MM-dd-yyyy}-%i.log.gz">
<PatternLayout pattern="%d %-5p (%F:%L) - %m%n"/>
<Policies>
<TimeBasedTriggeringPolicy />
<SizeBasedTriggeringPolicy size="250 MB"/>
</Policies>
</RollingFile>
<!--
<Console name="STDOUT" target="SYSTEM_OUT">
<PatternLayout pattern="%d %-5p (%F:%L) - %m%n"/>
</Console>
-->
</Appenders>
<Loggers>
<!--<Logger name="org.apache.log4j.xml" level="debug"/>-->
<Logger name="org.apache.log4j.xml" level="info"/>
<Root level="info">
<AppenderRef ref="RollingFile"/>
<!-- <AppenderRef ref="STDOUT"/> -->
</Root>
</Loggers>
</Configuration>
<!--
-Dlog4j.configurationFile=config/log4j2.xml has to be used in VM args
-->