Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- See: http://old.nabble.com/Config-file-failures-unexplained-in-list-or-JIRA-to34713039.html#a34729410
- HelloJava.java
- ---------------------------------------
- import org.slf4j.Logger;
- import org.slf4j.LoggerFactory;
- public class HelloJava {
- public static final Logger LOG = LoggerFactory.getLogger(HelloJava.class);
- public static void main(String args[]) {
- LOG.debug("hello world");
- }
- }
- CONSOLE OUTPUT
- ---------------------------------------
- 20:31:39,699 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback.groovy]
- 20:31:39,699 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback-test.xml]
- 20:31:39,699 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Found resource [logback.xml] at [file:/Users/tony/Developer/eclipse-workspace/HelloJava/bin/logback.xml]
- 20:31:39,804 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.rolling.RollingFileAppender]
- 20:31:39,808 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [file]
- 20:31:39,848 |-INFO in c.q.l.core.rolling.TimeBasedRollingPolicy - No compression will be used
- 20:31:39,850 |-INFO in c.q.l.core.rolling.TimeBasedRollingPolicy - Will use the pattern ./tmp/its/%d{yyyy-MM-dd}--Idcp.log for the active file
- 20:31:39,854 |-INFO in c.q.l.core.rolling.DefaultTimeBasedFileNamingAndTriggeringPolicy - The date pattern is 'yyyy-MM-dd' from file name pattern './tmp/its/%d{yyyy-MM-dd}--Idcp.log'.
- 20:31:39,854 |-INFO in c.q.l.core.rolling.DefaultTimeBasedFileNamingAndTriggeringPolicy - Roll-over at midnight.
- 20:31:39,859 |-INFO in c.q.l.core.rolling.DefaultTimeBasedFileNamingAndTriggeringPolicy - Setting initial period to Tue Nov 27 20:31:39 CST 2012
- 20:31:39,861 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property
- 20:31:39,884 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[file] - Active log file name: ./tmp/its/Idcp.log
- 20:31:39,884 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[file] - File property is set to [./tmp/its/Idcp.log]
- 20:31:39,885 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.rolling.RollingFileAppender]
- 20:31:39,885 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [fileFlowRow]
- 20:31:39,887 |-INFO in c.q.l.core.rolling.TimeBasedRollingPolicy - No compression will be used
- 20:31:39,887 |-INFO in c.q.l.core.rolling.TimeBasedRollingPolicy - Will use the pattern ./tmp/its/%d{yyyy-MM-dd}--Idcp.log for the active file
- 20:31:39,888 |-INFO in c.q.l.core.rolling.DefaultTimeBasedFileNamingAndTriggeringPolicy - The date pattern is 'yyyy-MM-dd' from file name pattern './tmp/its/%d{yyyy-MM-dd}--Idcp.log'.
- 20:31:39,888 |-INFO in c.q.l.core.rolling.DefaultTimeBasedFileNamingAndTriggeringPolicy - Roll-over at midnight.
- 20:31:39,888 |-INFO in c.q.l.core.rolling.DefaultTimeBasedFileNamingAndTriggeringPolicy - Setting initial period to Tue Nov 27 20:31:39 CST 2012
- 20:31:39,889 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property
- 20:31:39,890 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[fileFlowRow] - Active log file name: ./tmp/its/Idcp.log
- 20:31:39,890 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[fileFlowRow] - File property is set to [./tmp/its/Idcp.log]
- 20:31:39,890 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender]
- 20:31:39,892 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [console]
- 20:31:39,893 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property
- 20:31:39,894 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender]
- 20:31:39,894 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [consoleFlowRow]
- 20:31:39,895 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property
- 20:31:39,896 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [idcpFlowRow] to null, i.e. INHERITED
- 20:31:39,896 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [fileFlowRow] to Logger[idcpFlowRow]
- 20:31:40,179 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [consoleFlowRow] to Logger[idcpFlowRow]
- 20:31:40,180 |-INFO in ch.qos.logback.classic.joran.action.RootLoggerAction - Setting level of ROOT logger to DEBUG
- 20:31:40,180 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [file] to Logger[ROOT]
- 20:31:40,182 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [console] to Logger[ROOT]
- 20:31:40,183 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - End of configuration.
- 20:31:40,184 |-INFO in ch.qos.logback.classic.joran.JoranConfigurator@388530b8 - Registering current configuration as safe fallback point
- [39mDEBUG[0;39m HelloJava.main - hello world
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement