[ 
http://issues.apache.org/jira/browse/OFBIZ-361?page=comments#action_12441607 ] 
            
Chris Howe commented on OFBIZ-361:
----------------------------------

Additionally, you could simply tag the conversion pattern like so:
log4j.appender.file.layout.ConversionPattern=<div class=%p>%d (%t) 
[%24F:%-3L:%-5p]%x %m </div>%n
and create css based on the log type

.DEBUG{
color:grey;}
.WARN{
color:blue;
font-weight:bold;}
.INFO{
color:green;}
.ERROR{
color:red;
font-weight:bold;
border: 2px solid red;}

who knew logging could be so fun ;)

> 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: Jacques Le Roux
>            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

        

Reply via email to