[ 
https://issues.apache.org/jira/browse/OFBIZ-1169?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12515080
 ] 

Leon Torres commented on OFBIZ-1169:
------------------------------------

Oh yeah, I forgot to mention that BshUtil.java is a little noisy, because it 
both logs the exception and throws it, causing redundant messages.  I just shut 
it off in debug.properties:

log4r.logger.org.ofbiz.base.util=OFF

Try this patch with this logger setting and it should be more concise. :-)

> Eliminate redundant log messages in screen widgets
> --------------------------------------------------
>
>                 Key: OFBIZ-1169
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1169
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Leon Torres
>            Assignee: Si Chen
>             Fix For: SVN trunk
>
>         Attachments: screen-render-exception.patch, screenwidget-log-fix.patch
>
>
> Currently, if you have a typo or minor bug in a bsh or ftl file that is part 
> of a screen widget definition, the resulting error message in the log and on 
> screen can be overwhelming.  This causes a serious usability issue with 
> developers and new users.
> I decided to spend some personal time to see what the source of the log 
> "explosion" is and how it can be fixed.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to