<?xml version="1.0" encoding="UTF-8"?>
<Configuration status="WARN">
	<Appenders>
		<Console name="Console" target="SYSTEM_OUT">
			<PatternLayout pattern="%d{HH:mm:ss.SSS} [%t] %-5level %logger{36} - %msg%n" />
		</Console>
	</Appenders>
	<Loggers>
		<Root level="error">
			<AppenderRef ref="Console" />
		</Root>
	</Loggers>
</Configuration>
<?xml version="1.0" encoding="UTF-8"?>

<!-- status => The level of internal Log4j events that should be logged to the console.  -->
<Configuration status="WARN">

	<Properties>
		<Property name="log-path">logs</Property>
	</Properties>
	
	<Appenders>
	
		<Console name="console-log" target="SYSTEM_OUT">
			<PatternLayout
				pattern="[%-5level] %d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %logger - %msg%n" />
		</Console>
		
		<RollingFile name="trace-log" fileName="${log-path}/mycuteblog-trace.log"
			filePattern="${log-path}/msalsa-webui-trace-%d{yyyy-MM-dd}.log">
			<PatternLayout>
				<pattern>[%-5level] %date{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %logger - %msg%n
				</pattern>
			</PatternLayout>
			<Policies>
				<TimeBasedTriggeringPolicy interval="1"
					modulate="true" />
			</Policies>
		</RollingFile>
		
		<RollingFile name="error-log" fileName="${log-path}/mycuteblog-error.log"
			filePattern="${log-path}/msalsa-webui-error-%d{yyyy-MM-dd}.log">
			<PatternLayout>
				<pattern>[%-5level] %date{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %logger - %msg%n
				</pattern>
			</PatternLayout>
			<Policies>
				<TimeBasedTriggeringPolicy interval="1"
					modulate="true" />
			</Policies>
		</RollingFile>
		
	</Appenders>
	
	<Loggers>

		<Root level="debug" additivity="false">
			<AppenderRef ref="trace-log" level="debug" />
			<AppenderRef ref="error-log" level="error" />
			<AppenderRef ref="console-log" level="debug" />
		</Root>
		
	</Loggers>
	
</Configuration>
Edit log settings for web server
[ENH] Edit log settings for web server

Set 2 file logger:
- system.out for debug
- trace one (enable while beta)
- errors one
Closed #1
