[logback-dev] [JIRA] Commented: (LBCORE-157) Initial log messages have changed after 0.9.19 version
Andres Gomez Casanova (JIRA)
noreply-jira at qos.ch
Fri Jun 11 16:17:16 CEST 2010
[ http://jira.qos.ch/browse/LBCORE-157?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=11765#action_11765 ]
Andres Gomez Casanova commented on LBCORE-157:
----------------------------------------------
VERSION 0.9.18
-----------------------------------------------------------------------------
C:\Documentos\workspace2\slf4cInitOutput\bin>main-0_9_18.bat
ERROR - Hola
VERSION 0.9.19
-----------------------------------------------------------------------------
C:\Documentos\workspace2\slf4cInitOutput\bin>main-0_9_19.bat
15:35:48,593 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Found resource [logback-0_9_19.xml] at [file:/C:/
Documentos/workspace2/slf4cInitOutput/bin/logback-0_9_19.xml]
15:35:48,640 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - debug attribute not set
15:35:48,656 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.l
ogback.core.FileAppender]
15:35:48,656 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [LogFile]
15:35:48,671 |-ERROR in ch.qos.logback.core.joran.spi.Interpreter at 7:15 - no applicable action for [Encoding], current pa
ttern is [[configuration][appender][Encoding]]
15:35:48,671 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Pushing component [encoder] on top of
the object stack.
15:35:48,703 |-INFO in ch.qos.logback.core.FileAppender[LogFile] - File property is set to [main.log]
15:35:48,703 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.l
ogback.core.ConsoleAppender]
15:35:48,703 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [Console]
15:35:48,703 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Pushing component [encoder] on top of
the object stack.
15:35:48,703 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [main] to WARN
15:35:48,703 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting additivity of logger [main] to true
15:35:48,703 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [Console] to Logger
[main]
15:35:48,703 |-INFO in ch.qos.logback.classic.joran.action.RootLoggerAction - Setting level of ROOT logger to OFF
SLF4J: The requested version 1.5.11 by your slf4j binding is not compatible with [1.6]
SLF4J: See http://www.slf4j.org/codes.html#version_mismatch for further details.
ERROR - Hola
This is the not desired output.
> Initial log messages have changed after 0.9.19 version
> ------------------------------------------------------
>
> Key: LBCORE-157
> URL: http://jira.qos.ch/browse/LBCORE-157
> Project: logback-core
> Issue Type: Bug
> Components: Joran
> Affects Versions: 0.9.19
> Reporter: Andres Gomez Casanova
> Assignee: Logback dev list
>
> Sorry, I posted this message in SLF4J, and it is probably better here.
> I'm developing an application for command line, and I use slf4j + logback for logging (http://db2sa.sourceforge.net/)
> When using normally (not testing, not debugging), I have to show less messages in the screen, so the logging has not to be verbose. Just the important messages has to be shown.
> I was using the version 0.9.15, and I updated my application to the version 0.9.21.
> I saw, that the layout has to be changed to encoder, and I did it in the xml configuration file.
> However, I'm facing a problem when starting the application. The logger is showing all the configuration phase, and I'm sure that the internal log is not in debug:
> <configuration debug="false">
> It seems that the new version does not take in account this property.
> I searched the problematic version, and this issue was introduced in the version 0.9.19.
> I created an example for showing the difference when loading the configuration between 0.9.18 and 0.9.19.
> It can be executed by running the .bat
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.qos.ch/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the logback-dev
mailing list