<div dir="ltr">The problem with the log file name comes from the following in your configuration:<div><br></div><file>${LOG_HOME}/${someErrorLog}.log</file><br><br>At an earlier point in your config you defined the following property:<div>
<br><property name="errorLogName" value="someErrorLog"/></div><div><br></div><div>According to this, you should have configured your file name as:</div><div><br></div><file>${LOG_HOME}/${errorLogName}.log</file><div>
<br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Mar 7, 2014 at 6:50 AM, Chandraprakash <span dir="ltr"><<a href="mailto:chandraprakash.kalwar@gmail.com" target="_blank">chandraprakash.kalwar@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<div>
<div>Dear logback team,
<p class="MsoNormal"> </p>
<p class="MsoNormal">I am using logback-1.1.1 and slf4j-1.7.6.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">I am getting logs files generated in
following format: ‘someErrorLog_IS_UNDEFINED.log’ which is
undesired.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">My logback.xml is:</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"><span style="background:silver"><?xml
version="1.0" encoding="UTF-8"?></span></p>
<p class="MsoNormal"><span style="background:silver"><!--<configuration
debug="true" scan="true" scanPeriod="30 seconds">--></span></p>
<p class="MsoNormal"><span style="background:silver"><configuration></span></p>
<p class="MsoNormal"><span style="background:silver"> </span></p>
<p class="MsoNormal"><span style="background:silver"><!--
<property name="LOG_HOME" value="/home/logs"/>
--></span></p>
<p class="MsoNormal"><span style="background:silver">
<property name="LOG_HOME" value="C:/Logs"/>
</span></p>
<p class="MsoNormal"><span style="background:silver"> <property
name="infoLogName" value="someInfoLog"/></span></p>
<p class="MsoNormal"><span style="background:silver">
<property name="errorLogName" value="someErrorLog"/></span></p>
<p class="MsoNormal"><span style="background:silver"> </span></p>
<p class="MsoNormal"><span style="background:silver"> <timestamp
key="bySecond" datePattern="yyyyMMdd'T'HHmmss"/></span></p>
<p class="MsoNormal"><span style="background:silver"> </span></p>
<p class="MsoNormal"><span style="background:silver"> </span></p>
<p class="MsoNormal"><span style="background:silver">
<appender name="infofileAppender"
class="ch.qos.logback.core.rolling.RollingFileAppender"></span></p>
<p class="MsoNormal"><span style="background:silver"><!--
<file>C:/Logs/myLogFile.log</file>--></span></p>
<p class="MsoNormal"><span style="background:silver">
<file>C:/Logs/someInfoLog.log</file></span></p>
<p class="MsoNormal"><span style="background:silver">
<append>true</append></span></p>
<p class="MsoNormal"><span style="background:silver"> </span></p>
<p class="MsoNormal"><span style="background:silver"> <rollingPolicy
class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"></span></p>
<p class="MsoNormal"><span style="background:silver">
<!-- rollover daily --></span></p>
<p class="MsoNormal"><span style="background:silver">
<fileNamePattern>C:/Logs/someInfoLog.log.%d{'.'yyyy-MM-dd}</fileNamePattern></span></p>
<p class="MsoNormal"><span style="background:silver"><!--
<fileNamePattern>mylog-%d{yyyy-MM-dd}.%i.log.gz</fileNamePattern>
--></span></p>
<p class="MsoNormal"><span style="background:silver">
<maxHistory>1</maxHistory></span></p>
<p class="MsoNormal"><span style="background:silver">
<timeBasedFileNamingAndTriggeringPolicy
class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP"></span></p>
<p class="MsoNormal"><span style="background:silver">
<!-- or whenever the file size reaches 100MB --></span></p>
<p class="MsoNormal"><span style="background:silver">
<maxFileSize>1MB</maxFileSize></span></p>
<p class="MsoNormal"><span style="background:silver">
</timeBasedFileNamingAndTriggeringPolicy></span></p>
<p class="MsoNormal"><span style="background:silver">
</rollingPolicy> </span>
</p>
<p class="MsoNormal"><span style="background:silver"> </span></p>
<p class="MsoNormal"><span style="background:silver"> <encoder></span></p>
<p class="MsoNormal"><span style="background:silver"><!--
<pattern>%-30(%d{HH:mm:ss.SSS} [%thread])
%highlight(%-5level) %cyan(%-20.30logger{35}) [%<a>file:%line</a>]
- %msg%n</pattern>--></span></p>
<p class="MsoNormal"><span style="background:silver">
<pattern>%-30(%d{HH:mm:ss.SSS} [%thread]) %-5level
%-20.50logger{35} - %msg%n</pattern></span></p>
<p class="MsoNormal"><span style="background:silver"><!--
<immediateFlush>false</immediateFlush>--></span></p>
<p class="MsoNormal"><span style="background:silver">
<immediateFlush>false</immediateFlush></span></p>
<p class="MsoNormal"><span style="background:silver">
<outputPatternAsHeader>true</outputPatternAsHeader></span></p>
<p class="MsoNormal"><span style="background:silver">
</encoder></span></p>
<p class="MsoNormal"><span style="background:silver"> </span></p>
<p class="MsoNormal"><span style="background:silver"> </appender>
</span></p>
<p class="MsoNormal"><span style="background:silver"> </span></p>
<p class="MsoNormal"><span style="background:silver"> <appender
name="errorfileAppender"
class="ch.qos.logback.core.rolling.RollingFileAppender"></span></p>
<p class="MsoNormal"><span style="background:silver"><!--
<file>C:/Logs/myLogFile.log</file>--></span></p>
<p class="MsoNormal"><span style="background:silver">
<file>${LOG_HOME}/${someErrorLog}.log</file></span></p>
<p class="MsoNormal"><span style="background:silver">
<append>true</append></span></p>
<p class="MsoNormal"><span style="background:silver"> </span></p>
<p class="MsoNormal"><span style="background:silver"> <rollingPolicy
class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"></span></p>
<p class="MsoNormal"><span style="background:silver">
<!-- rollover daily --></span></p>
<p class="MsoNormal"><span style="background:silver">
<fileNamePattern>${someErrorLog}.%d{yyyy-MM-dd}.%i.log.zip</fileNamePattern></span></p>
<p class="MsoNormal"><span style="background:silver"><!--
<fileNamePattern>mylog-%d{yyyy-MM-dd}.%i.log.gz</fileNamePattern>
--></span></p>
<p class="MsoNormal"><span style="background:silver">
<maxHistory>30</maxHistory></span></p>
<p class="MsoNormal"><span style="background:silver">
<timeBasedFileNamingAndTriggeringPolicy
class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP"></span></p>
<p class="MsoNormal"><span style="background:silver">
<!-- or whenever the file size reaches 100MB --></span></p>
<p class="MsoNormal"><span style="background:silver">
<maxFileSize>25MB</maxFileSize></span></p>
<p class="MsoNormal"><span style="background:silver">
</timeBasedFileNamingAndTriggeringPolicy></span></p>
<p class="MsoNormal"><span style="background:silver">
</rollingPolicy> </span>
</p>
<p class="MsoNormal"><span style="background:silver"> </span></p>
<p class="MsoNormal"><span style="background:silver"> <encoder></span></p>
<p class="MsoNormal"><span style="background:silver"><!--
<pattern>%-30(%d{HH:mm:ss.SSS} [%thread])
%highlight(%-5level) %cyan(%-20.30logger{35}) [%<a>file:%line</a>]
- %msg%n</pattern>--></span></p>
<p class="MsoNormal"><span style="background:silver">
<pattern>%-30(%d{HH:mm:ss.SSS} [%thread]) %-5level
%-20.50logger{35} - %msg%n</pattern></span></p>
<p class="MsoNormal"><span style="background:silver">
<immediateFlush>true</immediateFlush></span></p>
<p class="MsoNormal"><span style="background:silver">
<outputPatternAsHeader>true</outputPatternAsHeader></span></p>
<p class="MsoNormal"><span style="background:silver">
</encoder></span></p>
<p class="MsoNormal"><span style="background:silver"> </span></p>
<p class="MsoNormal"><span style="background:silver"> <filter
class="ch.qos.logback.classic.filter.LevelFilter"></span></p>
<p class="MsoNormal"><span style="background:silver">
<level>ERROR</level></span></p>
<p class="MsoNormal"><span style="background:silver">
<onMatch>ACCEPT</onMatch></span></p>
<p class="MsoNormal"><span style="background:silver">
<onMismatch>DENY</onMismatch></span></p>
<p class="MsoNormal"><span style="background:silver">
</filter> </span>
</p>
<p class="MsoNormal"><span style="background:silver"> </span></p>
<p class="MsoNormal"><span style="background:silver"> </appender>
</span></p>
<p class="MsoNormal"><span style="background:silver"> </span></p>
<p class="MsoNormal"><span style="background:silver"> <appender
name="STDOUT"
class="ch.qos.logback.core.ConsoleAppender"></span></p>
<p class="MsoNormal"><span style="background:silver">
<append>true</append></span></p>
<p class="MsoNormal"><span style="background:silver">
<encoder></span></p>
<p class="MsoNormal"><span style="background:silver">
<pattern>%-30(%d{HH:mm:ss.SSS} [%thread]) %-5level
%-20.50logger{35} - %msg%n</pattern></span></p>
<p class="MsoNormal"><span style="background:silver">
</encoder></span></p>
<p class="MsoNormal"><span style="background:silver">
</appender> </span></p>
<p class="MsoNormal"><span style="background:silver"> </span></p>
<p class="MsoNormal"><span style="background:silver">
<root level="TRACE" additivity="true"></span></p>
<p class="MsoNormal"><span style="background:silver">
<appender-ref ref="infofileAppender" /></span></p>
<p class="MsoNormal"><span style="background:silver">
<appender-ref ref="errorfileAppender"/></span></p>
<p class="MsoNormal"><span style="background:silver">
</root></span></p>
<p class="MsoNormal"><span style="background:silver"></configuration></span></p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">I am using glassfish 4 web profile server.</p>
<p class="MsoNormal">The logs printed while stratup are:</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"><span style="background:silver">INFO:
15:11:25,188 |-INFO in
ch.qos.logback.classic.LoggerContext[default] - Could NOT
find resource [logback.groovy]</span></p>
<p class="MsoNormal"><span style="background:silver">15:11:25,189
|-INFO in ch.qos.logback.classic.LoggerContext[default] -
Could NOT find resource [logback-test.xml]</span></p>
<p class="MsoNormal"><span style="background:silver">15:11:25,190
|-INFO in ch.qos.logback.classic.LoggerContext[default] -
Found resource [logback.xml] at
[<a>file:/C:/workspaces/NetBeans/SomeProject7/build/web/WEB-INF/classes/logback.xml</a>]</span></p>
<p class="MsoNormal"><span style="background:silver">15:11:25,412
|-INFO in
ch.qos.logback.classic.joran.action.ConfigurationAction -
debug attribute not set</span></p>
<p class="MsoNormal"><span style="background:silver">15:11:25,449
|-INFO in ch.qos.logback.core.joran.action.TimestampAction -
Using current interpretation time, i.e. now, as time
reference.</span></p>
<p class="MsoNormal"><span style="background:silver">15:11:25,451
|-INFO in ch.qos.logback.core.joran.action.TimestampAction -
Adding property to the context with key="bySecond" and
value="20140307T151125" to the LOCAL scope</span></p>
<p class="MsoNormal"><span style="background:silver">15:11:25,451
|-INFO in ch.qos.logback.core.joran.action.AppenderAction -
About to instantiate appender of type
[ch.qos.logback.core.rolling.RollingFileAppender]</span></p>
<p class="MsoNormal"><span style="background:silver">15:11:25,464
|-INFO in ch.qos.logback.core.joran.action.AppenderAction -
Naming appender as [infofileAppender]</span></p>
<p class="MsoNormal"><span style="background:silver">15:11:25,754
|-INFO in c.q.l.core.rolling.TimeBasedRollingPolicy - No
compression will be used</span></p>
<p class="MsoNormal"><span style="background:silver">15:11:25,758
|-INFO in c.q.l.core.rolling.TimeBasedRollingPolicy - Will
use the pattern C:/Logs/someInfoLog.log.%d{'.'yyyy-MM-dd}
for the active file</span></p>
<p class="MsoNormal"><span style="background:silver">15:11:25,765
|-INFO in <a href="mailto:ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP@1405f8b" target="_blank">
ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP@1405f8b</a>
- The date pattern is '.' from file name pattern
'C:/Logs/someInfoLog.log.%d{'.'yyyy-MM-dd}'.</span></p>
<p class="MsoNormal"><span style="background:silver">15:11:25,765
|-INFO in <a href="mailto:ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP@1405f8b" target="_blank">
ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP@1405f8b</a>
- Unknown periodicity.</span></p>
<p class="MsoNormal"><span style="background:silver">15:11:25,765
|-INFO in <a href="mailto:ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP@1405f8b" target="_blank">
ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP@1405f8b</a>
- Setting initial period to Fri Mar 07 15:11:25 IST 2014</span></p>
<p class="MsoNormal"><span style="background:silver">15:11:25,767
|-ERROR in <a href="mailto:ch.qos.logback.core.joran.spi.Interpreter@32:25" target="_blank">
ch.qos.logback.core.joran.spi.Interpreter@32:25</a> -
RuntimeException in Action for tag [rollingPolicy]
java.lang.IllegalStateException: Unknown periodicity type.</span></p>
<p class="MsoNormal"><span style="background:silver">
at java.lang.IllegalStateException: Unknown periodicity
type.</span></p>
<p class="MsoNormal"><span style="background:silver">
at at
ch.qos.logback.core.rolling.helper.RollingCalendar.getRelativeDate(RollingCalendar.java:234)</span></p>
<p class="MsoNormal"><span style="background:silver">
at at
ch.qos.logback.core.rolling.helper.RollingCalendar.getNextTriggeringDate(RollingCalendar.java:241)</span></p>
<p class="MsoNormal"><span style="background:silver">
at at
ch.qos.logback.core.rolling.helper.RollingCalendar.getNextTriggeringMillis(RollingCalendar.java:64)</span></p>
<p class="MsoNormal"><span style="background:silver">
at at
ch.qos.logback.core.rolling.TimeBasedFileNamingAndTriggeringPolicyBase.computeNextCheck(TimeBasedFileNamingAndTriggeringPolicyBase.java:75)</span></p>
<p class="MsoNormal"><span style="background:silver">
at at
ch.qos.logback.core.rolling.TimeBasedFileNamingAndTriggeringPolicyBase.start(TimeBasedFileNamingAndTriggeringPolicyBase.java:67)</span></p>
<p class="MsoNormal"><span style="background:silver">
at at
ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP.start(SizeAndTimeBasedFNATP.java:38)</span></p>
<p class="MsoNormal"><span style="background:silver">
at at
ch.qos.logback.core.rolling.TimeBasedRollingPolicy.start(TimeBasedRollingPolicy.java:90)</span></p>
<p class="MsoNormal"><span style="background:silver">
at at
ch.qos.logback.core.joran.action.NestedComplexPropertyIA.end(NestedComplexPropertyIA.java:167)</span></p>
<p class="MsoNormal"><span style="background:silver">
at at
ch.qos.logback.core.joran.spi.Interpreter.callEndAction(Interpreter.java:317)</span></p>
<p class="MsoNormal"><span style="background:silver">
at at
ch.qos.logback.core.joran.spi.Interpreter.endElement(Interpreter.java:196)</span></p>
<p class="MsoNormal"><span style="background:silver">
at at
ch.qos.logback.core.joran.spi.Interpreter.endElement(Interpreter.java:182)</span></p>
<p class="MsoNormal"><span style="background:silver">
at at
ch.qos.logback.core.joran.spi.EventPlayer.play(EventPlayer.java:62)</span></p>
<p class="MsoNormal"><span style="background:silver">
at at
ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:149)</span></p>
<p class="MsoNormal"><span style="background:silver">
at at
ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:135)</span></p>
<p class="MsoNormal"><span style="background:silver">
at at
ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:99)</span></p>
<p class="MsoNormal"><span style="background:silver">
at at
ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:49)</span></p>
<p class="MsoNormal"><span style="background:silver">
at at
ch.qos.logback.classic.util.ContextInitializer.configureByResource(ContextInitializer.java:75)</span></p>
<p class="MsoNormal"><span style="background:silver">
at at
ch.qos.logback.classic.util.ContextInitializer.autoConfig(ContextInitializer.java:150)</span></p>
<p class="MsoNormal"><span style="background:silver">
at at
org.slf4j.impl.StaticLoggerBinder.init(StaticLoggerBinder.java:85)</span></p>
<p class="MsoNormal"><span style="background:silver">
at at
org.slf4j.impl.StaticLoggerBinder.<clinit>(StaticLoggerBinder.java:55)</span></p>
<p class="MsoNormal"><span style="background:silver">
at at
org.slf4j.LoggerFactory.bind(LoggerFactory.java:129)</span></p>
<p class="MsoNormal"><span style="background:silver">
at at
org.slf4j.LoggerFactory.performInitialization(LoggerFactory.java:108)</span></p>
<p class="MsoNormal"><span style="background:silver">
at at
org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:302)</span></p>
<p class="MsoNormal"><span style="background:silver">
at at
org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:276)</span></p>
<p class="MsoNormal"><span style="background:silver">
at at
org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:288)</span></p>
<p class="MsoNormal"><span style="background:silver">
at at
com.edubond.web.security.AuthorizationListener.<clinit>(AuthorizationListener.java:30)</span></p>
<p class="MsoNormal"><span style="background:silver">
at at java.lang.Class.forName0(Native Method)</span></p>
<p class="MsoNormal"><span style="background:silver">
at at java.lang.Class.forName(Class.java:266)</span></p>
<p class="MsoNormal"><span style="background:silver">
at at
com.sun.faces.util.Util.loadClass(Util.java:301)</span></p>
<p class="MsoNormal"><span style="background:silver">
at at
com.sun.faces.config.processor.AbstractConfigProcessor.loadClass(AbstractConfigProcessor.java:376)</span></p>
<p class="MsoNormal"><span style="background:silver">
at at
com.sun.faces.config.processor.AbstractConfigProcessor.createInstance(AbstractConfigProcessor.java:278)</span></p>
<p class="MsoNormal"><span style="background:silver">
at at
com.sun.faces.config.processor.LifecycleConfigProcessor.addPhaseListeners(LifecycleConfigProcessor.java:132)</span></p>
<p class="MsoNormal"><span style="background:silver">
at at
com.sun.faces.config.processor.LifecycleConfigProcessor.process(LifecycleConfigProcessor.java:111)</span></p>
<p class="MsoNormal"><span style="background:silver">
at at
com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:152)</span></p>
<p class="MsoNormal"><span style="background:silver">
at at
com.sun.faces.config.processor.FactoryConfigProcessor.process(FactoryConfigProcessor.java:239)</span></p>
<p class="MsoNormal"><span style="background:silver">
at at
com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:435)</span></p>
<p class="MsoNormal"><span style="background:silver">
at at
com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:214)</span></p>
<p class="MsoNormal"><span style="background:silver">
at at
org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:5362)</span></p>
<p class="MsoNormal"><span style="background:silver">
at at
com.sun.enterprise.web.WebModule.contextListenerStart(WebModule.java:743)</span></p>
<p class="MsoNormal"><span style="background:silver">
at at
org.apache.catalina.core.StandardContext.start(StandardContext.java:5898)</span></p>
<p class="MsoNormal"><span style="background:silver">
at at
com.sun.enterprise.web.WebModule.start(WebModule.java:691)</span></p>
<p class="MsoNormal"><span style="background:silver">
at at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:1041)</span></p>
<p class="MsoNormal"><span style="background:silver">
at at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:1024)</span></p>
<p class="MsoNormal"><span style="background:silver">
at at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:747)</span></p>
<p class="MsoNormal"><span style="background:silver">
at at
com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:2278)</span></p>
<p class="MsoNormal"><span style="background:silver">
at at
com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1924)</span></p>
<p class="MsoNormal"><span style="background:silver">
at at
com.sun.enterprise.web.WebApplication.start(WebApplication.java:139)</span></p>
<p class="MsoNormal"><span style="background:silver">
at at
org.glassfish.internal.data.EngineRef.start(EngineRef.java:122)</span></p>
<p class="MsoNormal"><span style="background:silver">
at at
org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:291)</span></p>
<p class="MsoNormal"><span style="background:silver">
at at
org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:352)</span></p>
<p class="MsoNormal"><span style="background:silver">
at at
com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:497)</span></p>
<p class="MsoNormal"><span style="background:silver">
at at
com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:219)</span></p>
<p class="MsoNormal"><span style="background:silver">
at at
org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:491)</span></p>
<p class="MsoNormal"><span style="background:silver">
at at
com.sun.enterprise.v3.admin.CommandRunnerImpl$2$1.run(CommandRunnerImpl.java:527)</span></p>
<p class="MsoNormal"><span style="background:silver">
at at
com.sun.enterprise.v3.admin.CommandRunnerImpl$2$1.run(CommandRunnerImpl.java:523)</span></p>
<p class="MsoNormal"><span style="background:silver">
at at
java.security.AccessController.doPrivileged(Native Method)</span></p>
<p class="MsoNormal"><span style="background:silver">
at at
javax.security.auth.Subject.doAs(Subject.java:356)</span></p>
<p class="MsoNormal"><span style="background:silver">
at at
com.sun.enterprise.v3.admin.CommandRunnerImpl$2.execute(CommandRunnerImpl.java:522)</span></p>
<p class="MsoNormal"><span style="background:silver">
at at
com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:546)</span></p>
<p class="MsoNormal"><span style="background:silver">
at at
com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1423)</span></p>
<p class="MsoNormal"><span style="background:silver">
at at
com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1500(CommandRunnerImpl.java:108)</span></p>
<p class="MsoNormal"><span style="background:silver">
at at
com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1762)</span></p>
<p class="MsoNormal"><span style="background:silver">
at at
com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1674)</span></p>
<p class="MsoNormal"><span style="background:silver">
at at
com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:534)</span></p>
<p class="MsoNormal"><span style="background:silver">
at at
com.sun.enterprise.v3.admin.AdminAdapter.onMissingResource(AdminAdapter.java:224)</span></p>
<p class="MsoNormal"><span style="background:silver">
at at
org.glassfish.grizzly.http.server.StaticHttpHandler.service(StaticHttpHandler.java:297)</span></p>
<p class="MsoNormal"><span style="background:silver">
at at
com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:246)</span></p>
<p class="MsoNormal"><span style="background:silver">
at at
org.glassfish.grizzly.http.server.HttpHandler.runService(HttpHandler.java:191)</span></p>
<p class="MsoNormal"><span style="background:silver">
at at
org.glassfish.grizzly.http.server.HttpHandler.doHan</span></p>
<p class="MsoNormal"><span style="background:silver">INFO:
dle(HttpHandler.java:168)</span></p>
<p class="MsoNormal"><span style="background:silver">
at at
org.glassfish.grizzly.http.server.HttpServerFilter.handleRead(HttpServerFilter.java:189)</span></p>
<p class="MsoNormal"><span style="background:silver">
at at
org.glassfish.grizzly.filterchain.ExecutorResolver$9.execute(ExecutorResolver.java:119)</span></p>
<p class="MsoNormal"><span style="background:silver">
at at
org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:288)</span></p>
<p class="MsoNormal"><span style="background:silver">
at at
org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:206)</span></p>
<p class="MsoNormal"><span style="background:silver">
at at
org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:136)</span></p>
<p class="MsoNormal"><span style="background:silver">
at at
org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:114)</span></p>
<p class="MsoNormal"><span style="background:silver">
at at
org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:77)</span></p>
<p class="MsoNormal"><span style="background:silver">
at at
org.glassfish.grizzly.nio.transport.TCPNIOTransport.fireIOEvent(TCPNIOTransport.java:838)</span></p>
<p class="MsoNormal"><span style="background:silver">
at at
org.glassfish.grizzly.strategies.AbstractIOStrategy.fireIOEvent(AbstractIOStrategy.java:113)</span></p>
<p class="MsoNormal"><span style="background:silver">
at at
org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.run0(WorkerThreadIOStrategy.java:115)</span></p>
<p class="MsoNormal"><span style="background:silver">
at at
org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.access$100(WorkerThreadIOStrategy.java:55)</span></p>
<p class="MsoNormal"><span style="background:silver">
at at
org.glassfish.grizzly.strategies.WorkerThreadIOStrategy$WorkerThreadRunnable.run(WorkerThreadIOStrategy.java:135)</span></p>
<p class="MsoNormal"><span style="background:silver">
at at
org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:564)</span></p>
<p class="MsoNormal"><span style="background:silver">
at at
org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:544)</span></p>
<p class="MsoNormal"><span style="background:silver">
at at java.lang.Thread.run(Thread.java:722)</span></p>
<p class="MsoNormal"><span style="background:silver">15:11:25,767
|-ERROR in <a href="mailto:ch.qos.logback.core.joran.spi.Interpreter@34:18" target="_blank">
ch.qos.logback.core.joran.spi.Interpreter@34:18</a> - no
applicable action for [encoder], current ElementPath is
[[configuration][appender][encoder]]</span></p>
<p class="MsoNormal"><span style="background:silver">15:11:25,767
|-ERROR in <a href="mailto:ch.qos.logback.core.joran.spi.Interpreter@36:22" target="_blank">
ch.qos.logback.core.joran.spi.Interpreter@36:22</a> - no
applicable action for [pattern], current ElementPath is
[[configuration][appender][encoder][pattern]]</span></p>
<p class="MsoNormal"><span style="background:silver">15:11:25,767
|-ERROR in <a href="mailto:ch.qos.logback.core.joran.spi.Interpreter@38:29" target="_blank">
ch.qos.logback.core.joran.spi.Interpreter@38:29</a> - no
applicable action for [immediateFlush], current ElementPath
is [[configuration][appender][encoder][immediateFlush]]</span></p>
<p class="MsoNormal"><span style="background:silver">15:11:25,767
|-ERROR in <a href="mailto:ch.qos.logback.core.joran.spi.Interpreter@39:36" target="_blank">
ch.qos.logback.core.joran.spi.Interpreter@39:36</a> - no
applicable action for [outputPatternAsHeader], current
ElementPath is
[[configuration][appender][encoder][outputPatternAsHeader]]</span></p>
<p class="MsoNormal"><span style="background:silver">15:11:25,769
|-WARN in
ch.qos.logback.core.rolling.RollingFileAppender[infofileAppender]
- No TriggeringPolicy was set for the RollingFileAppender
named infofileAppender</span></p>
<p class="MsoNormal"><span style="background:silver">15:11:25,769
|-WARN in
ch.qos.logback.core.rolling.RollingFileAppender[infofileAppender]
- For more information, please visit
<a href="http://logback.qos.ch/codes.html#rfa_no_tp" target="_blank">http://logback.qos.ch/codes.html#rfa_no_tp</a></span></p>
<p class="MsoNormal"><span style="background:silver">15:11:25,769
|-WARN in ch.qos.logback.core.joran.action.AppenderAction -
The object at the of the stack is not the appender named
[infofileAppender] pushed earlier.</span></p>
<p class="MsoNormal"><span style="background:silver">15:11:25,769
|-INFO in ch.qos.logback.core.joran.action.AppenderAction -
About to instantiate appender of type
[ch.qos.logback.core.rolling.RollingFileAppender]</span></p>
<p class="MsoNormal"><span style="background:silver">15:11:25,769
|-INFO in ch.qos.logback.core.joran.action.AppenderAction -
Naming appender as [errorfileAppender]</span></p>
<p class="MsoNormal"><span style="background:silver">15:11:25,770
|-INFO in c.q.l.core.rolling.TimeBasedRollingPolicy - Will
use zip compression</span></p>
<p class="MsoNormal"><span style="background:silver">15:11:25,770
|-INFO in c.q.l.core.rolling.TimeBasedRollingPolicy - Will
use the pattern
someErrorLog_IS_UNDEFINED.%d{yyyy-MM-dd}.%i.log for the
active file</span></p>
<p class="MsoNormal"><span style="background:silver">15:11:25,771
|-INFO in <a href="mailto:ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP@ab1de2" target="_blank">
ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP@ab1de2</a>
- The date pattern is 'yyyy-MM-dd' from file name pattern
'someErrorLog_IS_UNDEFINED.%d{yyyy-MM-dd}.%i.log.zip'.</span></p>
<p class="MsoNormal"><span style="background:silver">15:11:25,771
|-INFO in <a href="mailto:ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP@ab1de2" target="_blank">
ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP@ab1de2</a>
- Roll-over at midnight.</span></p>
<p class="MsoNormal"><span style="background:silver">15:11:25,771
|-INFO in <a href="mailto:ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP@ab1de2" target="_blank">
ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP@ab1de2</a>
- Setting initial period to Mon Mar 03 15:52:40 IST 2014</span></p>
<p class="MsoNormal"><span style="background:silver">15:11:25,775
|-INFO in
ch.qos.logback.core.joran.action.NestedComplexPropertyIA -
Assuming default type
[ch.qos.logback.classic.encoder.PatternLayoutEncoder] for
[encoder] property</span></p>
<p class="MsoNormal"><span style="background:silver">15:11:25,901
|-INFO in
ch.qos.logback.core.rolling.RollingFileAppender[errorfileAppender]
- Active log file name:
C:/Logs/someErrorLog_IS_UNDEFINED.log</span></p>
<p class="MsoNormal"><span style="background:silver">15:11:25,901
|-INFO in
ch.qos.logback.core.rolling.RollingFileAppender[errorfileAppender]
- File property is set to
[C:/Logs/someErrorLog_IS_UNDEFINED.log]</span></p>
<p class="MsoNormal"><span style="background:silver">15:11:25,908
|-INFO in ch.qos.logback.core.joran.action.AppenderAction -
About to instantiate appender of type
[ch.qos.logback.core.ConsoleAppender]</span></p>
<p class="MsoNormal"><span style="background:silver">15:11:25,915
|-INFO in ch.qos.logback.core.joran.action.AppenderAction -
Naming appender as [STDOUT]</span></p>
<p class="MsoNormal"><span style="background:silver">15:11:25,920
|-ERROR in <a href="mailto:ch.qos.logback.core.joran.spi.Interpreter@77:17" target="_blank">
ch.qos.logback.core.joran.spi.Interpreter@77:17</a> - no
applicable action for [append], current ElementPath is
[[configuration][appender][append]]</span></p>
<p class="MsoNormal"><span style="background:silver">15:11:25,920
|-INFO in
ch.qos.logback.core.joran.action.NestedComplexPropertyIA -
Assuming default type
[ch.qos.logback.classic.encoder.PatternLayoutEncoder] for
[encoder] property</span></p>
<p class="MsoNormal"><span style="background:silver">15:11:25,921
|-INFO in
ch.qos.logback.classic.joran.action.RootLoggerAction -
Setting level of ROOT logger to TRACE</span></p>
<p class="MsoNormal"><span style="background:silver">15:11:25,921
|-INFO in ch.qos.logback.core.joran.action.AppenderRefAction
- Attaching appender named [infofileAppender] to
Logger[ROOT]</span></p>
<p class="MsoNormal"><span style="background:silver">15:11:25,923
|-INFO in ch.qos.logback.core.joran.action.AppenderRefAction
- Attaching appender named [errorfileAppender] to
Logger[ROOT]</span></p>
<p class="MsoNormal"><span style="background:silver">15:11:25,923
|-INFO in
ch.qos.logback.classic.joran.action.ConfigurationAction -
End of configuration.</span></p>
<p class="MsoNormal"><span style="background:silver">15:11:25,925
|-INFO in <a href="mailto:ch.qos.logback.classic.joran.JoranConfigurator@370ff5" target="_blank">
ch.qos.logback.classic.joran.JoranConfigurator@370ff5</a>
- Registering current configuration as safe fallback point</span></p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Please tell what is wrong in my
configuration file? FileAppender is not working as expected.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Regards,</p>
<p class="MsoNormal">Chandra</p>
</div>
This e-mail and all material transmitted with it are for the use
of the intended recipient(s) ONLY and contains confidential and/or
privileged information. If you are not the intended recipient,
please contact the sender by reply e-mail and destroy all copies
and the original message. Any unauthorized review, use,
disclosure, dissemination, forwarding, printing or copying of this
email or any action taken pursuant to the contents of the present
e-mail is strictly prohibited and is unlawful. The recipient
acknowledges that Comviva Technologies Limited or its management
or directors, are unable to exercise control or ensure the
integrity over /of the contents of the information contained in
e-mail. Any views expressed herein are those of the individual
sender only and no binding nature of the contents shall be implied
or assumed unless the sender does so expressly with due authority
of Comviva Technologies Limited. E-mail and any contents
transmitted with it are prone to viruses and related defects
despite all efforts to avoid such by Comviva Technologies Limited.
<br>
</div>
<br>
</div>
<br>_______________________________________________<br>
Logback-user mailing list<br>
<a href="mailto:Logback-user@qos.ch">Logback-user@qos.ch</a><br>
<a href="http://mailman.qos.ch/mailman/listinfo/logback-user" target="_blank">http://mailman.qos.ch/mailman/listinfo/logback-user</a><br></blockquote></div><br></div>