[logback-dev] [JIRA] Created: (CONSPLUG-23) double-click on console log message doesn't open editor when message came from an inner class

Joe Kearney (JIRA) noreply-jira at qos.ch
Mon Mar 8 15:56:16 CET 2010


double-click on console log message doesn't open editor when message came from an inner class
---------------------------------------------------------------------------------------------

                 Key: CONSPLUG-23
                 URL: http://jira.qos.ch/browse/CONSPLUG-23
             Project: Console Plugin
          Issue Type: Bug
         Environment: Eclipse 3.5.2, Logback console 1.1.0, logback 0.9.0, slf4j 1.5.11
            Reporter: Joe Kearney
            Assignee: Logback dev list


Example below. All three log messages are logged, but only the first goes to the log statement on double click.

{code:title=Scratch.java}
package logback.console.bug.demo;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class Scratch {
	private static final Logger LOGGER = LoggerFactory.getLogger(Scratch.class.getName());

	public static void main(String[] args) {
		LOGGER.info("hello from main()");
		new InnerClass().someMethod();
	}

	private static class InnerClass {
		private static final Logger LOCAL_LOGGER = LoggerFactory.getLogger(Scratch.InnerClass.class.getName());
		public void someMethod() {
			LOGGER.info("Hello from inner class through outer logger");
			LOCAL_LOGGER.info("Hello from inner class through inner logger");
		}
	}
}
{code}

-- 
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