roller-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Greg Huber (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (ROL-2016) roller-startup.log not created on startup
Date Tue, 10 Jun 2014 07:21:02 GMT

    [ https://issues.apache.org/jira/browse/ROL-2016?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14026196#comment-14026196
] 

Greg Huber edited comment on ROL-2016 at 6/10/14 7:19 AM:
----------------------------------------------------------

Roller ignores the error and continues, but if there is something fundamentally wrong, it
should log to the startup file.  Considering we are already coded to use tomcat in the roller.properties,
I guess we could assume the same here.

{code:xml}
log4j.rootLogger=ERROR, roller

log4j.appender.roller=org.apache.log4j.DailyRollingFileAppender
log4j.appender.roller.File=${catalina.base}/logs/roller.log
log4j.appender.roller.layout=org.apache.log4j.PatternLayout
log4j.appender.roller.layout.ConversionPattern=%-5p %d{yyyy-MM-dd HH:mm:ss,SSS} %C{1}:%M -
%m%n
{code}


was (Author: gregh99):
Roller ignores the error and continues, but if there is something fundamentally wrong, it
should log to the startup file.  Considering we are already coded to use tomcat in the roller.properties,
I guess we could assume the same here.

log4j.rootLogger=ERROR, roller

log4j.appender.roller=org.apache.log4j.DailyRollingFileAppender
log4j.appender.roller.File=${catalina.base}/logs/roller.log
log4j.appender.roller.layout=org.apache.log4j.PatternLayout
log4j.appender.roller.layout.ConversionPattern=%-5p %d{yyyy-MM-dd HH:mm:ss,SSS} %C{1}:%M -
%m%n


> roller-startup.log not created on startup
> -----------------------------------------
>
>                 Key: ROL-2016
>                 URL: https://issues.apache.org/jira/browse/ROL-2016
>             Project: Apache Roller
>          Issue Type: Bug
>          Components: Installation & Configuration
>    Affects Versions: 5.0.3
>         Environment: Tomcat
>            Reporter: Greg Huber
>            Assignee: Greg Huber
>            Priority: Minor
>
> When starting in tomcat I get a permission denied on the roller-startup.log.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message