[ https://issues.apache.org/jira/browse/OFBIZ-7944?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Nicolas Malin updated OFBIZ-7944: --------------------------------- Description: 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. was: Currently we have two methods or 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* 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 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. > 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 > > > 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 (v6.3.4#6332) |
Free forum by Nabble | Edit this page |