Issue Type: Bug Bug
Affects Versions: 1.0.13
Assignee: Logback dev list
Components: logback-core
Created: 15/Aug/13 2:41 PM
Description:
18:17:52,649 |-ERROR in ch.qos.logback.core.joran.action.IncludeAction - Failed to open [file:/SOME_PATH/logback.xml] java.io.FileNotFoundException: /SOME_PATH/logback.xml (Нет такого файла или каталога)
	at java.io.FileNotFoundException: /SOME_PATH/logback.xml (Нет такого файла или каталога)
	at 	at java.io.FileInputStream.open(Native Method)
	at 	at java.io.FileInputStream.<init>(FileInputStream.java:138)
	at 	at java.io.FileInputStream.<init>(FileInputStream.java:97)
	at 	at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:90)
	at 	at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:188)
	at 	at java.net.URL.openStream(URL.java:1037)
	at 	at ch.qos.logback.core.joran.action.IncludeAction.openURL(IncludeAction.java:144)
	at 	at ch.qos.logback.core.joran.action.IncludeAction.getInputStream(IncludeAction.java:210)
	at 	at ch.qos.logback.core.joran.action.IncludeAction.begin(IncludeAction.java:60)
	at 	at ch.qos.logback.core.joran.spi.Interpreter.callBeginAction(Interpreter.java:275)
	at 	at ch.qos.logback.core.joran.spi.Interpreter.startElement(Interpreter.java:147)
	at 	at ch.qos.logback.core.joran.spi.Interpreter.startElement(Interpreter.java:129)
	at 	at ch.qos.logback.core.joran.spi.EventPlayer.play(EventPlayer.java:50)
	at 	at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:149)
	at 	at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:135)
	at 	at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:99)
	at 	at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:49)
	at 	at ch.qos.logback.classic.util.ContextInitializer.configureByResource(ContextInitializer.java:75)
	at 	at ch.qos.logback.classic.util.ContextInitializer.autoConfig(ContextInitializer.java:148)
	at 	at org.slf4j.impl.StaticLoggerBinder.init(StaticLoggerBinder.java:85)
	at 	at org.slf4j.impl.StaticLoggerBinder.<clinit>(StaticLoggerBinder.java:55)
	at 	at org.slf4j.LoggerFactory.bind(LoggerFactory.java:128)
	at 	at org.slf4j.LoggerFactory.performInitialization(LoggerFactory.java:107)
	at 	at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:295)
	at 	at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:269)
	at 	at org.eclipse.jetty.util.log.Slf4jLog.<init>(Slf4jLog.java:38)
	at 	at org.eclipse.jetty.util.log.Slf4jLog.<init>(Slf4jLog.java:32)
	at 	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at 	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
	at 	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at 	at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
	at 	at java.lang.Class.newInstance(Class.java:374)
	at 	at org.eclipse.jetty.util.log.Log.initialized(Log.java:172)
	at 	at org.eclipse.jetty.util.log.Log.getLogger(Log.java:283)
	at 	at org.eclipse.jetty.util.log.Log.getLogger(Log.java:273)
	at 	at org.eclipse.jetty.osgi.boot.JettyBootstrapActivator.<clinit>(JettyBootstrapActivator.java:48)
	at 	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at 	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
	at 	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at 	at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
	at 	at java.lang.Class.newInstance(Class.java:374)
	at 	at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadBundleActivator(AbstractBundle.java:167)
	at 	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:679)
	at 	at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:381)
	at 	at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:390)
	at 	at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1176)
	at 	at org.eclipse.osgi.framework.internal.core.PackageAdminImpl.resumeBundles(PackageAdminImpl.java:317)
	at 	at org.eclipse.osgi.framework.internal.core.PackageAdminImpl.processDelta(PackageAdminImpl.java:556)
	at 	at org.eclipse.osgi.framework.internal.core.PackageAdminImpl.doResolveBundles(PackageAdminImpl.java:251)
	at 	at org.eclipse.osgi.framework.internal.core.PackageAdminImpl$1.run(PackageAdminImpl.java:174)
	at 	at java.lang.Thread.run(Thread.java:724)

As you can see "\tat" is added two times. One time in
ch.qos.logback.core.util.StatusPrinter#appendThrowable
and one time in
ch.qos.logback.core.helpers.ThrowableToStringArray#extract

(the first method calls the second).

Project: logback
Priority: Trivial Trivial
Reporter: Mikhail Mazursky
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
logback-dev mailing list
logback-dev@qos.ch
http://mailman.qos.ch/mailman/listinfo/logback-dev

Reply via email to