ofbiz-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nicolas Malin (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (OFBIZ-7944) Improve log visualisation throught webtools
Date Fri, 05 Aug 2016 12:57:20 GMT

     [ https://issues.apache.org/jira/browse/OFBIZ-7944?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Nicolas Malin updated OFBIZ-7944:
    Attachment: OFBIZ-7944-13.07.patch

If you want use the fecth log functionnality on 13.07 I load a backport patch from trunk

> Improve log visualisation throught webtools
> -------------------------------------------
>                 Key: OFBIZ-7944
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-7944
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework/webtools
>    Affects Versions: Trunk
>            Reporter: Nicolas Malin
>            Assignee: Nicolas Malin
>            Priority: Minor
>              Labels: log, webtools
>             Fix For: Upcoming Branch
>         Attachments: OFBIZ-7944-13.07.patch
> Currently we have two methods for display log in OFBiz throught webtools :
> * https://localhost:8443/webtools/control/LogView
> * https://localhost:8443/webtools/control/FetchLogs
> Each method use the same line rendering and the difference is : LogView display only
runtime/logs/ofbiz.log (or you can surcharge it vith debug.properties) and FecthLogs list
all file name ofbiz* present on runtime/logs/ofbiz.log and offert the possibility to search
only line that macth a string.
> I review the code to use only one script (remove LogView.groovy) and improve following
points :
> * Optimise the FetchLog.groovy to display with same velocity a file with or without string
chain filtering
> * Add a property to change the root log directory. Under linux we use /var/log/ofbiz/
> * Add a regExp to match the file name of file present in the directory. Helpful when
you want to see error.log
> * Complete debug.properties with comment for describe example for new properties
> And last point, add refresh button on the end page to reload the log without lost your
state on the page.

This message was sent by Atlassian JIRA

View raw message