JiscMail Logo
Email discussion lists for the UK Education and Research communities

Help for DAWN Archives


DAWN Archives

DAWN Archives


DAWN@JISCMAIL.AC.UK


View:

Message:

[

First

|

Previous

|

Next

|

Last

]

By Topic:

[

First

|

Previous

|

Next

|

Last

]

By Author:

[

First

|

Previous

|

Next

|

Last

]

Font:

Proportional Font

LISTSERV Archives

LISTSERV Archives

DAWN Home

DAWN Home

DAWN  July 2012

DAWN July 2012

Options

Subscribe or Unsubscribe

Subscribe or Unsubscribe

Log In

Log In

Get Password

Get Password

Subject:

How to change the log level for DAWN workflows logs?

From:

Olof Svensson <[log in to unmask]>

Reply-To:

Main mail list for the dawn collaboration <[log in to unmask]>

Date:

Thu, 26 Jul 2012 11:27:26 +0200

Content-Type:

text/plain

Parts/Attachments:

Parts/Attachments

text/plain (108 lines)

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

Top of Message | Previous Page | Permalink

JiscMail Tools


RSS Feeds and Sharing


Advanced Options


Archives

May 2024
September 2023
July 2023
December 2022
April 2022
March 2022
November 2021
November 2019
March 2019
June 2018
May 2018
December 2016
November 2016
October 2016
September 2016
July 2016
June 2016
March 2016
January 2016
September 2015
July 2015
April 2015
March 2015
December 2014
October 2014
September 2014
July 2014
May 2014
April 2014
February 2014
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2013
April 2013
March 2013
February 2013
January 2013
December 2012
November 2012
October 2012
September 2012
August 2012
July 2012
June 2012
May 2012
April 2012
March 2012
January 2012
March 2011
February 2011


JiscMail is a Jisc service.

View our service policies at https://www.jiscmail.ac.uk/policyandsecurity/ and Jisc's privacy policy at https://www.jisc.ac.uk/website/privacy-notice

For help and support help@jisc.ac.uk

Secured by F-Secure Anti-Virus CataList Email List Search Powered by the LISTSERV Email List Manager