[ http://issues.apache.org/jira/browse/OFBIZ-361?page=comments#action_12453832 ] Jacopo Cappellato commented on OFBIZ-361: -----------------------------------------
Chris's last comment is good... using a freemarker template seems to have solved the issue. No I have one last (I hope) question for you! In the action tag of the screen definition for the viewLog page I set the path to the log file to display in the following way: <property-to-field resource="debug" property="debug.log4j.appender.file.File" field="logFileName" default="framework/logs/ofbiz.log" no-locale="true"/> However the file is not found and so the default value "framework/logs/ofbiz.log" is always used... am I doing something wrong? THANKS > 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
