Advertisement
Guest User

test app output from logback 1.0.7, slf4j-api-1.7.2, janino

a guest
Nov 27th, 2012
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 5.48 KB | None | 0 0
  1. See: http://old.nabble.com/Config-file-failures-unexplained-in-list-or-JIRA-to34713039.html#a34729410
  2.  
  3.  
  4. HelloJava.java
  5. ---------------------------------------
  6. import org.slf4j.Logger;
  7. import org.slf4j.LoggerFactory;
  8.  
  9.  
  10. public class HelloJava {
  11.   public static final Logger LOG = LoggerFactory.getLogger(HelloJava.class);
  12.   public static void main(String args[]) {
  13.     LOG.debug("hello world");
  14.   }
  15. }
  16.  
  17.  
  18.  
  19. CONSOLE OUTPUT
  20. ---------------------------------------
  21.  
  22. 20:31:39,699 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback.groovy]
  23. 20:31:39,699 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback-test.xml]
  24. 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]
  25. 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]
  26. 20:31:39,808 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [file]
  27. 20:31:39,848 |-INFO in c.q.l.core.rolling.TimeBasedRollingPolicy - No compression will be used
  28. 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
  29. 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'.
  30. 20:31:39,854 |-INFO in c.q.l.core.rolling.DefaultTimeBasedFileNamingAndTriggeringPolicy - Roll-over at midnight.
  31. 20:31:39,859 |-INFO in c.q.l.core.rolling.DefaultTimeBasedFileNamingAndTriggeringPolicy - Setting initial period to Tue Nov 27 20:31:39 CST 2012
  32. 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
  33. 20:31:39,884 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[file] - Active log file name: ./tmp/its/Idcp.log
  34. 20:31:39,884 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[file] - File property is set to [./tmp/its/Idcp.log]
  35. 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]
  36. 20:31:39,885 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [fileFlowRow]
  37. 20:31:39,887 |-INFO in c.q.l.core.rolling.TimeBasedRollingPolicy - No compression will be used
  38. 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
  39. 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'.
  40. 20:31:39,888 |-INFO in c.q.l.core.rolling.DefaultTimeBasedFileNamingAndTriggeringPolicy - Roll-over at midnight.
  41. 20:31:39,888 |-INFO in c.q.l.core.rolling.DefaultTimeBasedFileNamingAndTriggeringPolicy - Setting initial period to Tue Nov 27 20:31:39 CST 2012
  42. 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
  43. 20:31:39,890 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[fileFlowRow] - Active log file name: ./tmp/its/Idcp.log
  44. 20:31:39,890 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[fileFlowRow] - File property is set to [./tmp/its/Idcp.log]
  45. 20:31:39,890 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender]
  46. 20:31:39,892 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [console]
  47. 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
  48. 20:31:39,894 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender]
  49. 20:31:39,894 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [consoleFlowRow]
  50. 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
  51. 20:31:39,896 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [idcpFlowRow] to null, i.e. INHERITED
  52. 20:31:39,896 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [fileFlowRow] to Logger[idcpFlowRow]
  53. 20:31:40,179 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [consoleFlowRow] to Logger[idcpFlowRow]
  54. 20:31:40,180 |-INFO in ch.qos.logback.classic.joran.action.RootLoggerAction - Setting level of ROOT logger to DEBUG
  55. 20:31:40,180 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [file] to Logger[ROOT]
  56. 20:31:40,182 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [console] to Logger[ROOT]
  57. 20:31:40,183 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - End of configuration.
  58. 20:31:40,184 |-INFO in ch.qos.logback.classic.joran.JoranConfigurator@388530b8 - Registering current configuration as safe fallback point
  59. DEBUG HelloJava.main - hello world
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement