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

<configuration>
	<appender name="log-file" class="ch.qos.logback.core.rolling.RollingFileAppender">
		<file>${LOG_DIRECTORY}/ngrinder.log</file>
 
		<encoder>
			<pattern>%d{HH:mm:ss} %-5level %logger{36}  %marker:  %message%n</pattern>
		</encoder>

		<rollingPolicy class="ch.qos.logback.core.rolling.FixedWindowRollingPolicy">
			<fileNamePattern>${PREFIX}.log%i</fileNamePattern>
			<minIndex>1</minIndex>
			<maxIndex>10</maxIndex>
		</rollingPolicy>
		
		<triggeringPolicy class="net.grinder.util.logback.RollOnStartUp" />
		<triggeringPolicy class="ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy">
			<maxFileSize>200MB</maxFileSize>
		</triggeringPolicy>

	</appender>

	<root>
		<level value="${LOG_LEVEL}" />
		<appender-ref ref="log-file" />
	</root>
</configuration>
<?xml version="1.0" encoding="UTF-8"?>

<configuration>
	<appender name="log-file" class="ch.qos.logback.core.rolling.RollingFileAppender">
		<file>${LOG_DIRECTORY}/ngrinder.log</file>
 
		<encoder>
			<pattern>%d{HH:mm:ss} %-5level %logger{36}  %marker:  %message%n</pattern>
		</encoder>

		<rollingPolicy class="ch.qos.logback.core.rolling.FixedWindowRollingPolicy">
			<fileNamePattern>${PREFIX}.log%i</fileNamePattern>
			<minIndex>1</minIndex>
			<maxIndex>10</maxIndex>
		</rollingPolicy>
		
		<triggeringPolicy class="net.grinder.util.logback.RollOnStartUp" />
		<triggeringPolicy class="ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy">
			<maxFileSize>200MB</maxFileSize>
		</triggeringPolicy>

	</appender>

	<logger name="net.grinder" level="${LOG_LEVEL}" additivity="false">
	  <appender-ref ref="log-file" />
	</logger> 
	
	<logger name="org.ngrinder" level="${LOG_LEVEL}" additivity="false">
	  <appender-ref ref="log-file" />
    </logger>


	<root>
		<level value="WARN" />
		<appender-ref ref="log-file" />
	</root>
</configuration>
Add logger setting to ngrinder agent - Decrease log level when verbose
[NGRINDER-181] Add logger setting to ngrinder agent 
- Decrease log level when verbose
