Uploaded image for project: 'Kaa'
  1. Kaa
  2. KAA-238

Redundant logback logging to sysout during server components restart

    XMLWordPrintable

    Details

      Description

      Some redundant log records are present in system out during restart of server components. This is probably related to logback configuration. Sample log:

      08:04:32,732 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback.groovy]
      08:04:32,732 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback-test.xml]
      08:04:32,733 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Found resource [logback.xml] at file:/usr/lib/kaa-bootstrap/conf/logback.xml
      08:04:32,744 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback.xml] occurs multiple times on the classpath.
      08:04:32,744 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback.xml] occurs at file:/usr/lib/kaa-bootstrap/conf/logback.xml
      08:04:32,744 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback.xml] occurs at [jar:file:/usr/lib/kaa-bootstrap/lib/bootstrap-0.6.1.jar!/logback.xml]
      08:04:33,351 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - debug attribute not set
      08:04:33,388 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender]
      08:04:33,450 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [console]
      08:04:33,654 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property
      08:04:34,115 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.rolling.RollingFileAppender]
      08:04:34,143 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [fileLogAppender]
      08:04:34,400 |-INFO in c.q.l.core.rolling.TimeBasedRollingPolicy - No compression will be used
      08:04:34,419 |-INFO in c.q.l.core.rolling.TimeBasedRollingPolicy - Will use the pattern logFile.%d

      {yyyy-MM-dd}.log for the active file
      08:04:34,466 |-INFO in c.q.l.core.rolling.DefaultTimeBasedFileNamingAndTriggeringPolicy - The date pattern is 'yyyy-MM-dd' from file name pattern 'logFile.%d{yyyy-MM-dd}

      .log'.
      08:04:34,466 |-INFO in c.q.l.core.rolling.DefaultTimeBasedFileNamingAndTriggeringPolicy - Roll-over at midnight.
      08:04:34,503 |-INFO in c.q.l.core.rolling.DefaultTimeBasedFileNamingAndTriggeringPolicy - Setting initial period to Fri Nov 28 15:23:08 PST 2014
      08:04:34,505 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property
      08:04:34,554 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[fileLogAppender] - Active log file name: /var/log/kaa/kaa-bootstrap-serverserver_log_sufix_IS_UNDEFINED.log
      08:04:34,554 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[fileLogAppender] - File property is set to [/var/log/kaa/kaa-bootstrap-serverserver_log_sufix_IS_UNDEFINED.log]
      08:04:34,577 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.kaaproject.kaa.server.common.Environment] to INFO
      08:04:34,577 |-INFO in ch.qos.logback.classic.joran.action.RootLoggerAction - Setting level of ROOT logger to INFO
      08:04:34,577 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [console] to Logger[ROOT]
      08:04:34,578 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [fileLogAppender] to Logger[ROOT]
      08:04:34,578 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - End of configuration.
      08:04:34,601 |-INFO in [email protected] - Registering current configuration as safe fallback point

      Getting SDK for requested project...
      Unexpected service error occurred: 500 Server Error
      Failed!

        Attachments

          Activity

            People

            Assignee:
            ashvayka Andrew Shvayka
            Reporter:
            ashvayka Andrew Shvayka
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Git Integration