}
catch ( LdapException e )
{
- log.warn( "fail to get LdapConnection: {}", e.getMessage() );
+ log.warn( "fail to get LdapConnection: {}", e.getMessage(), e );
throw new ArchivaRestServiceException( e.getMessage(), e );
}
finally
}
catch ( InvalidNameException e )
{
- log.warn( "fail to get LdapConnection: {}", e.getMessage() );
+ log.warn( "fail to get LdapConnection: {}", e.getMessage(), e);
throw new ArchivaRestServiceException( e.getMessage(), e );
}
catch ( LdapException e )
{
- log.warn( "fail to get LdapConnection: {}", e.getMessage() );
+ log.warn( "fail to get LdapConnection: {}", e.getMessage(), e);
throw new ArchivaRestServiceException( e.getMessage(), e );
}
finally
<PatternLayout pattern="%highlight{%d{HH:mm:ss.SSS} [%t] %-5level %logger{36} - %msg%n}" />
</Console>
- <FastFile name="rolling" fileName="${logsDirectory}/archiva.log"
+ <FastRollingFileAppender name="rolling" fileName="${logsDirectory}/archiva.log"
filePattern="${logsDirectory}/archiva-%d{MM-dd-yyyy}.log" immediateFlush="false" append="true">
<PatternLayout>
<pattern>%d [%t] %-5p %c %x - %m%n</pattern>
<Policies>
<TimeBasedTriggeringPolicy />
</Policies>
- </FastFile>
+ </FastRollingFileAppender>
</appenders>
<loggers>