HI Franck,

Consider looking at the logback.xml file (and the corresponding
documentation) to add a logger directive :

<logger name="ch.qos.logback" level="ERROR" />

Regards,

Sebastien BAHLOUL

2015-07-28 10:47 GMT+02:00 <[email protected]>:

> Hello the list,
>
>
> I have a configuration problem somewhere I think, each time I run the
> script I get a bunch of INFO or Warning log I do not want.
> How can I get rid of these and only see Error logs ?
>
> Best regards.
> Franck
>
> etc/lsc/openldap2ad# /usr/bin/lsc -f /etc/lsc/openldap2ad/ -s migGroup
> 09:41:01,473 |-INFO in ch.qos.logback.classic.LoggerContext[default] -
> Could NOT find resource [logback-test.xml]
> 09:41:01,474 |-INFO in ch.qos.logback.classic.LoggerContext[default] -
> Found resource [logback.xml] at [file:/etc/lsc/openldap2ad/logback.xml]
> 09:41:01,475 |-WARN in ch.qos.logback.classic.LoggerContext[default] -
> Resource [logback.xml] occurs multiple times on the classpath.
> 09:41:01,475 |-WARN in ch.qos.logback.classic.LoggerContext[default] -
> Resource [logback.xml] occurs at [file:/etc/lsc/openldap2ad/logback.xml]
> 09:41:01,475 |-WARN in ch.qos.logback.classic.LoggerContext[default] -
> Resource [logback.xml] occurs at
> [jar:file:/usr/lib/lsc/lsc-core-2.1.3.jar!/logback.xml]
> 09:41:01,605 |-INFO in
> ch.qos.logback.classic.joran.action.ConfigurationAction - debug attribute
> not set
> 09:41:01,620 |-INFO in ch.qos.logback.core.joran.action.AppenderAction -
> About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender]
> 09:41:01,627 |-INFO in ch.qos.logback.core.joran.action.AppenderAction -
> Naming appender as [CONSOLE]
> 09:41:01,671 |-INFO in
> ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Pushing
> component [encoder] on top of the object stack.
> 09:41:01,704 |-INFO in
> ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Pushing
> component [layout] on top of the object stack.
> 09:41:01,786 |-INFO in
> ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Pushing
> component [filter] on top of the object stack.
> 09:41:01,791 |-INFO in ch.qos.logback.core.joran.action.AppenderAction -
> About to instantiate appender of type
> [ch.qos.logback.core.rolling.RollingFileAppender]
> 09:41:01,795 |-INFO in ch.qos.logback.core.joran.action.AppenderAction -
> Naming appender as [LSC]
> 09:41:01,805 |-INFO in
> ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Pushing
> component [layout] on top of the object stack.
> 09:41:01,806 |-WARN in
> ch.qos.logback.core.rolling.RollingFileAppender[LSC] - This appender no
> longer admits a layout as a sub-component, set an encoder instead.
> 09:41:01,806 |-WARN in
> ch.qos.logback.core.rolling.RollingFileAppender[LSC] - To ensure
> compatibility, wrapping your layout in LayoutWrappingEncoder.
> 09:41:01,806 |-WARN in
> ch.qos.logback.core.rolling.RollingFileAppender[LSC] - See also
> http://logback.qos.ch/codes.html#layoutInsteadOfEncoder for details
> 09:41:01,806 |-INFO in
> ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Pushing
> component [filter] on top of the object stack.
> 09:41:01,810 |-INFO in
> ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Pushing
> component [rollingPolicy] on top of the object stack.
> 09:41:01,824 |-INFO in
> ch.qos.logback.core.rolling.FixedWindowRollingPolicy@1be7ff5 - Will use
> gz compression
> 09:41:01,827 |-INFO in
> ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Pushing
> component [triggeringPolicy] on top of the object stack.
> 09:41:01,837 |-WARN in
> ch.qos.logback.core.rolling.RollingFileAppender[LSC] - Append mode is
> mandatory for RollingFileAppender
> 09:41:01,837 |-INFO in
> ch.qos.logback.core.rolling.RollingFileAppender[LSC] - Active log file
> name: /var/log/lsc/lsc.log
> 09:41:01,837 |-INFO in
> ch.qos.logback.core.rolling.RollingFileAppender[LSC] - File property is set
> to [/var/log/lsc/lsc.log]
> 09:41:01,838 |-INFO in ch.qos.logback.core.joran.action.AppenderAction -
> About to instantiate appender of type [ch.qos.logback.core.FileAppender]
> 09:41:01,838 |-INFO in ch.qos.logback.core.joran.action.AppenderAction -
> Naming appender as [LSC_STATUS]
> 09:41:01,839 |-INFO in
> ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Pushing
> component [layout] on top of the object stack.
> 09:41:01,840 |-WARN in ch.qos.logback.core.FileAppender[LSC_STATUS] - This
> appender no longer admits a layout as a sub-component, set an encoder
> instead.
> 09:41:01,840 |-WARN in ch.qos.logback.core.FileAppender[LSC_STATUS] - To
> ensure compatibility, wrapping your layout in LayoutWrappingEncoder.
> 09:41:01,840 |-WARN in ch.qos.logback.core.FileAppender[LSC_STATUS] - See
> also http://logback.qos.ch/codes.html#layoutInsteadOfEncoder for details
> 09:41:01,841 |-INFO in
> ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Pushing
> component [filter] on top of the object stack.
> 09:41:01,841 |-INFO in ch.qos.logback.core.FileAppender[LSC_STATUS] - File
> property is set to [/var/log/lsc/lsc.status]
> 09:41:01,841 |-INFO in ch.qos.logback.core.joran.action.AppenderAction -
> About to instantiate appender of type
> [ch.qos.logback.core.rolling.RollingFileAppender]
> 09:41:01,841 |-INFO in ch.qos.logback.core.joran.action.AppenderAction -
> Naming appender as [LDIF]
> 09:41:01,842 |-INFO in
> ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Pushing
> component [layout] on top of the object stack.
> 09:41:01,843 |-WARN in
> ch.qos.logback.core.rolling.RollingFileAppender[LDIF] - This appender no
> longer admits a layout as a sub-component, set an encoder instead.
> 09:41:01,843 |-WARN in
> ch.qos.logback.core.rolling.RollingFileAppender[LDIF] - To ensure
> compatibility, wrapping your layout in LayoutWrappingEncoder.
> 09:41:01,843 |-WARN in
> ch.qos.logback.core.rolling.RollingFileAppender[LDIF] - See also
> http://logback.qos.ch/codes.html#layoutInsteadOfEncoder for details
> 09:41:01,843 |-INFO in
> ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Pushing
> component [filter] on top of the object stack.
> 09:41:01,844 |-INFO in
> ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Pushing
> component [rollingPolicy] on top of the object stack.
> 09:41:01,845 |-INFO in
> ch.qos.logback.core.rolling.FixedWindowRollingPolicy@1c2bc0d - Will use
> gz compression
> 09:41:01,846 |-INFO in
> ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Pushing
> component [triggeringPolicy] on top of the object stack.
> 09:41:01,846 |-INFO in
> ch.qos.logback.core.rolling.RollingFileAppender[LDIF] - Active log file
> name: /var/log/lsc/lsc.ldif
> 09:41:01,846 |-INFO in
> ch.qos.logback.core.rolling.RollingFileAppender[LDIF] - File property is
> set to [/var/log/lsc/lsc.ldif]
> 09:41:01,846 |-INFO in ch.qos.logback.core.joran.action.AppenderAction -
> About to instantiate appender of type [ch.qos.logback.core.FileAppender]
> 09:41:01,846 |-INFO in ch.qos.logback.core.joran.action.AppenderAction -
> Naming appender as [LDIF]
> 09:41:01,847 |-INFO in
> ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Pushing
> component [layout] on top of the object stack.
> 09:41:01,849 |-ERROR in
> ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Could not find
> an appropriate class for property [logOperations]
> 09:41:01,849 |-ERROR in org.lsc.utils.output.LdifLayout(null) - Empty or
> null pattern.
> 09:41:01,850 |-WARN in ch.qos.logback.core.FileAppender[LDIF] - This
> appender no longer admits a layout as a sub-component, set an encoder
> instead.
> 09:41:01,850 |-WARN in ch.qos.logback.core.FileAppender[LDIF] - To ensure
> compatibility, wrapping your layout in LayoutWrappingEncoder.
> 09:41:01,850 |-WARN in ch.qos.logback.core.FileAppender[LDIF] - See also
> http://logback.qos.ch/codes.html#layoutInsteadOfEncoder for details
> 09:41:01,850 |-INFO in ch.qos.logback.core.FileAppender[LDIF] - File
> property is set to [/tmp/ldif.log]
> 09:41:01,850 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction -
> Setting level of logger [org.lsc] to INFO
> 09:41:01,850 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction -
> Setting additivity of logger [org.lsc] to true
> 09:41:01,850 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction
> - Attaching appender named [LSC] to Logger[org.lsc]
> 09:41:01,853 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction
> - Attaching appender named [LSC_STATUS] to Logger[org.lsc]
> 09:41:01,853 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction -
> Setting level of logger [lsc] to INFO
> 09:41:01,853 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction -
> Setting additivity of logger [lsc] to true
> 09:41:01,853 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction
> - Attaching appender named [LDIF] to Logger[lsc]
> 09:41:01,853 |-INFO in
> ch.qos.logback.classic.joran.action.RootLoggerAction - Setting level of
> ROOT logger to WARN
> 09:41:01,853 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction
> - Attaching appender named [CONSOLE] to Logger[ROOT]
> _______________________________________________________________
> Ldap Synchronization Connector (LSC) - http://lsc-project.org
>
> lsc-users mailing list
> [email protected]
> http://lists.lsc-project.org/listinfo/lsc-users
>
_______________________________________________________________
Ldap Synchronization Connector (LSC) - http://lsc-project.org

lsc-users mailing list
[email protected]
http://lists.lsc-project.org/listinfo/lsc-users

Reply via email to