Hi,
I have come to a point where the extremely verbose output from DAWN
workflow logs is having a negative impact on trying to get workflows
running. I therefore spent some time to try to change the log levels for
DAWN and the workflows but I ran into problems:
The DAWN log level seems to set by the file
uk.ac.diamond.scisoft/logging/log_configuration.xml. In the repository
(master) it is set to the level 'ALL'. Hence, when DAWN is started I get
a lot of messages like these:
> 11:15:35.692 DEBUG Adding files to python path
> 11:15:36.395 DEBUG Jar/dir found: .git
> 11:15:36.395 DEBUG Jar/dir found: uk.ac.diamond.scisoft.analysis.rcp
> 11:15:36.396 DEBUG Adding plugin directory
> /mntdirect/_scisoft/users/svensson/WorkSpace-dawn-master_git/scisoft/scisoft-ui.git/uk.ac.diamond.scisoft.analysis.rcp
>
> 11:15:36.396 DEBUG Jar/dir found: uk.ac.diamond.sda.polling
> 11:15:36.396 DEBUG Adding plugin directory
> /mntdirect/_scisoft/users/svensson/WorkSpace-dawn-master_git/scisoft/scisoft-ui.git/uk.ac.diamond.sda.polling
>
> 11:15:36.396 DEBUG Jar/dir found:
> uk.ac.diamond.scisoft.analysis.rcp.contributions
> 11:15:36.396 DEBUG Adding plugin directory
> /mntdirect/_scisoft/users/svensson/WorkSpace-
...
When I open a workflow I get a lot of trace messages:
> 11:17:14.515 TRACE ChangeRequest executed in RelationEditPart
> 11:17:14.515 TRACE ChangeRequest executed in RelationEditPart
> 11:17:14.515 TRACE ChangeRequest executed in RelationEditPart
> 11:17:14.515 TRACE ChangeRequest executed in RelationEditPart
> 11:17:14.515 TRACE ChangeRequest executed in RelationEditPart
> 11:17:14.515 TRACE ChangeRequest executed in RelationEditPart
> 11:17:18.196 DEBUG Refresh model
> 11:17:21.460 TRACE Change Executed
> 11:17:21.460 TRACE Change Executed
> 11:17:21.460 TRACE Change Executed
> 11:17:21.460 TRACE Change Executed
> 11:17:21.460 TRACE Change Executed
> 11:17:21.460 TRACE Change Executed
> 11:17:21.460 TRACE Change Executed
> 11:17:21.460 TRACE Change Executed
> 11:17:21.460 TRACE Change Executed
> 11:17:21.460 TRACE ChangeRequest executed in RelationEditPart
> 11:17:21.460 TRACE ChangeRequest executed in RelationEditPart
> 11:17:21.460 TRACE ChangeRequest executed in RelationEditPart
> 11:17:21.460 TRACE ChangeRequest executed in RelationEditPart
> 11:17:21.460 TRACE ChangeRequest executed in RelationEditPart
> 11:17:21.460 TRACE ChangeRequest executed in RelationEditPart
> 11:17:21.460 TRACE ChangeRequest executed in RelationEditPart
...
I therefore tried to set the log level to "INFO" in
uk.ac.diamond.scisoft/logging/log_configuration.xml. Now the output is
indeed more compact:
> !ENTRY org.eclipse.ui 4 4 2012-07-26 11:18:53.605
> !MESSAGE Plug-in 'org.dawb.tango.extensions' contributed an invalid
> Menu Extension (Path: 'tools' is invalid):
> org.dawb.tango.extensions.open.shared.mem.monitor
>
> !ENTRY org.eclipse.ui 4 4 2012-07-26 11:18:53.619
> !MESSAGE Plug-in 'org.dawb.common.ui' contributed an invalid Menu
> Extension (Path: 'tools' is invalid): org.edna.common.ui.import.folder
> 11:18:55.170 ERROR Could not find a folder for 'uk.ac.gda.libs'
> defaulting to standard
> 11:18:55.172 WARN Could not find jython jar, looking again
However, when I run a workflow I don't get the INFO messages in the
console starting DAWN (only WARN and ERROR), and in the workbench
console I still get the DEBUG messages:
> 11:20:53.639 [main] INFO c.i.p.w.model.launch.ModelRunner - Workspace
> folder set to: /mntdirect/_scisoft/users/svensson/beamline_workspace
> 11:20:54.893 [main] INFO c.i.p.w.model.launch.ModelRunner - Running
> model :
> /mntdirect/_scisoft/users/svensson/beamline_workspace/mesh/tests/test_XrayCentring_composite.moml
> 11:20:54.893 [main] DEBUG c.i.p.w.model.launch.ModelRunner - The jmx
> port is set to : '21703'
> 11:20:54.905 [main] DEBUG c.i.p.w.model.jmx.RemoteManagerAgent -
> Workflow URI: /jndi/rmi://mxedna.esrf.fr:21703/workflow
> 11:20:55.092 [main] DEBUG c.i.p.w.model.jmx.RemoteManagerAgent -
> Workflow service started on
> service:jmx:rmi:///jndi/rmi://mxedna.esrf.fr:21703/workflow
> 11:20:55.104 [main] DEBUG o.d.w.jmx.RemoteWorkbenchAgent - Found
> 'com.isencia.jmx.service.port' set at port 21703
> 11:20:55.105 [main] DEBUG o.d.w.jmx.RemoteWorkbenchAgent - Workbench
> URI: /jndi/rmi://mxedna.esrf.fr:21703/workbench
> 11:20:55.171 [main] INFO c.i.p.w.model.utils.ModelUtils - Running
> project file L/mesh/tests/test_XrayCentring_composite.moml
> 11:20:55.269 [main] DEBUG c.i.passerelle.domain.cap.Director - Test
> mode set to : false
> 11:20:55.269 [main] DEBUG c.i.passerelle.domain.cap.Director - Expert
> mode set to : false
> 11:20:55.269 [main] DEBUG c.i.passerelle.domain.cap.Director -
> Initialization validation set to : true
....
Can someone please help me to enable only INFO messages from the
workflow log? Thanks in advance!
Regards,
Olof
|