You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Jacopo Cappellato (JIRA)" <ji...@apache.org> on 2006/11/25 14:02:07 UTC

[jira] Reopened: (OFBIZ-361) Migrate webtools debug level screens to widget and add dynamic configuration of log4j loggers

     [ http://issues.apache.org/jira/browse/OFBIZ-361?page=all ]

Jacopo Cappellato reopened OFBIZ-361:
-------------------------------------

      Assignee: Jacopo Cappellato  (was: Jacques Le Roux)
             
I'd like to add the new log file definition as suggested by Chris so that the output will be formatted according to the css file and will be nice in the "ViewLog" screen of Webtools.
The appender settings I'd like to use are (mostly Chris' ones):

log4j.appender.html=org.apache.log4j.RollingFileAppender
log4j.appender.html.File=framework/logs/ofbiz.html
log4j.appender.html.MaxFileSize=200KB
log4j.appender.html.MaxBackupIndex=1
log4j.appender.html.DatePattern='.'yyyy-MM-dd-HH-mm'.html'
log4j.appender.html.layout=org.apache.log4j.PatternLayout
log4j.appender.html.layout.ConversionPattern=<div class=%p>%d (%t) [%24F:%-3L:%-5p]%x %m </div>%n

And the css are the ones provided by Chris.
Can I commit this?



> Migrate webtools debug level screens to widget and add dynamic configuration of log4j loggers
> ---------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-361
>                 URL: http://issues.apache.org/jira/browse/OFBIZ-361
>             Project: OFBiz (The Open for Business Project)
>          Issue Type: New Feature
>          Components: framework
>         Environment: Linux, sun-jdk-1.5.0
>            Reporter: Peter Goron
>         Assigned To: Jacopo Cappellato
>            Priority: Minor
>             Fix For: SVN trunk
>
>         Attachments: LogConfiguration.png, webtools-debugging-screens-2.patch, webtools-debugging-screens.patch
>
>
> I was looking for a way to modify logging system without having to restart ofbiz. So I've enhanced debug level webtools screen to be able to add new loggers and change logging level of existing ones during ofbiz execution.
> In the same time, I've switched this screen from regions to screen and form widgets.
> See attached screenshot.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira