Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-9548

JBoss 5.0 log file is stopped getting updated after a while

    XMLWordPrintable

    Details

    • Type: Feature Request
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: JBossAS-5.0.1.GA
    • Fix Version/s: None
    • Component/s: Web Services
    • Labels:
      None

      Description

      We are using log back xml to configure application specific log file and copied the log back XML in JBoss class path. After server restarts, JBoss is generating the log files successfully. It was working from some time even in production. Recently we have noticed a weird issue in our dev environment that, application logs are writing in to log file and stopped writing after a while. We have to restart the JBoss to get back the Log files status. This issue seems coming continuously now a days. I would like to know is it some thing related to JBoss or more of environment issue.

      Here below the log back configuration we had

      <appender name="FILE"
      class="ch.qos.logback.core.rolling.RollingFileAppender">
      <File>${jboss.server.log.dir}/cbs2.log</File>
      <Append>true</Append>

      <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
      <FileNamePattern>${jboss.server.log.dir}/cbs2.%d

      {yyyy-MM-dd}

      .%i.log.gz
      </FileNamePattern>
      <timeBasedFileNamingAndTriggeringPolicy
      class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">
      <maxFileSize>200MB</maxFileSize>
      </timeBasedFileNamingAndTriggeringPolicy>
      </rollingPolicy>

      <layout class="ch.qos.logback.classic.PatternLayout">
      <Pattern>%d

      {yyyy-MM-dd;HH:mm:ss.SSS}

      [%thread] %-5level %logger

      {36}

      [%M:%L]
      [%X

      {id}

      ->%X

      {bcId}

      :%X

      {userId}

      :%X

      {loginId}

      ] - %msg%n</Pattern>
      </layout>
      </appender>

        Attachments

          Activity

            People

            Assignee:
            asoldano Alessio Soldano
            Reporter:
            kodali.rameshbabu Ramesh Kodali (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: