Hi,
I think I found a bug :
- get into your home directory
- put the logback.xml joint with this mail.
- run lsc -f <your config dir>
You should see a directory called __home__
Actually this logback.xml is a template I use : on installing, __home__
should be replaces with the home directory of the user beeing installing
logback.xml
Whatever, I think lsc shouldn't use this logback.xml, but the one in <your
config dir> :)
--
Gabriel Guillon
Expert
OCTO Technology
..........................................................
50, Avenue des Champs-Elysées
75008 Paris
Tél : (33) 1 58 56 10 00
Fax : (33) 1 58 56 10 01
GSM : (33) 6 67 35 33 58
http://www.octo.com/
http://blog.octo.com/
...........................................................
DevOps<http://blog.octo.com/devops-le-mouvement-qui-tend-a-%E2%80%9Cagilifier%E2%80%9D-votre-dsi/>?
TTM + Stabilité = $€ !
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<timestamp key="byMinute" datePattern="yyyyMMdd-HHmm"/>
<!-- standard output to console -->
<appender name="CONSOLE" class="ch.qos.logback.core.ConsoleAppender">
<layout class="org.lsc.utils.output.LdifLayout">
<Pattern>%date{MMM dd HH:mm:ss} - %-5level - %message%n</Pattern>
</layout>
</appender>
<!-- log all application messages to the file /tmp/lsc.log -->
<!-- this file is rotated every 10000KB, compressed and 7 files are kept for history -->
<appender name="LSC" class="ch.qos.logback.core.FileAppender">
<File>__home__/log/lsc-${byMinute}.log</File>
<layout class="org.lsc.utils.output.LdifLayout">
<Pattern>%date{MMM dd HH:mm:ss} - %-5level - %message%n</Pattern>
</layout>
<filter class="ch.qos.logback.classic.filter.ThresholdFilter">
<level>INFO</level>
</filter>
<!--
<rollingPolicy class="ch.qos.logback.core.rolling.FixedWindowRollingPolicy">
<FileNamePattern>lsc.log.%i.gz</FileNamePattern>
<MinIndex>1</MinIndex>
<MaxIndex>7</MaxIndex>
</rollingPolicy>
<triggeringPolicy class="ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy">
<MaxFileSize>10000KB</MaxFileSize>
</triggeringPolicy>
-->
</appender>
<!-- special logger to have a LDIF file of all modifications applied -->
<!-- this file is rotated every 10000KB, compressed and 7 files are kept for history -->
<appender name="LDIF" class="ch.qos.logback.core.FileAppender">
<!--See also http://logback.qos.ch/manual/appenders.html#RollingFileAppender-->
<Append>true</Append>
<File>__home__/log/lsc-${byMinute}.ldif</File>
<layout class="org.lsc.utils.output.LdifLayout">
<Pattern>%m%n</Pattern>
</layout>
<filter class="ch.qos.logback.classic.filter.ThresholdFilter">
<level>INFO</level>
</filter>
<!--
<rollingPolicy class="ch.qos.logback.core.rolling.FixedWindowRollingPolicy">
<FileNamePattern>lsc.ldif.%i.gz</FileNamePattern>
<MinIndex>1</MinIndex>
<MaxIndex>7</MaxIndex>
</rollingPolicy>
<triggeringPolicy class="ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy">
<MaxFileSize>10000KB</MaxFileSize>
</triggeringPolicy>
-->
</appender>
<!-- link log sources and log appenders -->
<logger name="communicationLogger" level="WARN">
<appender-ref ref="CONSOLE"/>
</logger>
<logger name="org.lsc" level="DEBUG">
<appender-ref ref="LSC"/>
</logger>
<logger name="lsc" level="INFO">
<appender-ref ref="LDIF"/>
</logger>
<logger name="org.apache" level="WARN">
<appender-ref ref="CONSOLE"/>
</logger>
<logger name="poolLogger" level="ERROR">
<appender-ref ref="CONSOLE"/>
</logger>
<root level="WARN">
<appender-ref ref="CONSOLE"/>
</root>
</configuration>
_______________________________________________________________
Ldap Synchronization Connector (LSC) - http://lsc-project.org
lsc-users mailing list
[email protected]
http://lists.lsc-project.org/listinfo/lsc-users