[Swift-user] reducing SetFieldValue logging levels

Justin M Wozniak wozniak at mcs.anl.gov
Mon Dec 27 21:09:44 CST 2010


Hi Allan,
 	You just need to change NONE to OFF.  To track down log4j 
problems, you can run Swift like

COG_OPTS=-Dlog4j.debug=true swift

 	Justin

On Wed, 1 Dec 2010, Allan Espinosa wrote:

> Hi,
>
> I set the logging level of SetFieldValue to NONE but still receive its
> log entries:
> $ grep SetFieldValue postproc-20101201-1412-58dz3i1h.log | head -n 10
> 2010-12-01 14:12:26,567-0600 DEBUG SetFieldValue Setting
> org.griphyn.vdl.mapping.RootDataNode identifier
> dataset:20101201-1412-y0ba3ap8:720000000048 type int with no value at
> dataset=num_time_steps (not closed) to 3000
> 2010-12-01 14:12:26,567-0600 DEBUG SetFieldValue Setting
> org.griphyn.vdl.mapping.RootDataNode identifier
> dataset:20101201-1412-y0ba3ap8:720000000049 type string with no value
> at dataset=spectra_period1 (not closed) to all
> 2010-12-01 14:12:26,567-0600 DEBUG SetFieldValue Setting
> org.griphyn.vdl.mapping.RootDataNode identifier
> dataset:20101201-1412-y0ba3ap8:720000000050 type float with no value
> at dataset=filter_highhz (not closed) to 5.0
> 2010-12-01 14:12:26,567-0600 DEBUG SetFieldValue Setting
> org.griphyn.vdl.mapping.RootDataNode identifier
> dataset:20101201-1412-y0ba3ap8:720000000053 type string with no value
> at dataset=datadir (not closed) to
> gsiftp://gridftp.pads.ci.uchicago.edu//gpfs/pads/swift/aespinosa/science/cybershake/Results
> 2010-12-01 14:12:26,567-0600 DEBUG SetFieldValue Setting
> org.griphyn.vdl.mapping.RootDataNode identifier
> dataset:20101201-1412-y0ba3ap8:720000000051 type float with no value
> at dataset=simulation_timeskip (not closed) to 0.1
> 2010-12-01 14:12:26,568-0600 DEBUG SetFieldValue Setting
> org.griphyn.vdl.mapping.RootDataNode identifier
> dataset:20101201-1412-y0ba3ap8:720000000052 type int with no value at
> dataset=run_id (not closed) to 664
> 2010-12-01 14:12:26,568-0600 DEBUG SetFieldValue Setting
> org.griphyn.vdl.mapping.RootDataNode identifier
> dataset:20101201-1412-y0ba3ap8:720000000057 type string with no value
> at dataset=swift#mapper#17045 (not closed) to
> gsiftp://gridftp.pads.ci.uchicago.edu//gpfs/pads/swift/aespinosa/science/cybershake/SgtFiles
> 2010-12-01 14:12:26,570-0600 DEBUG SetFieldValue Setting
> org.griphyn.vdl.mapping.RootDataNode identifier
> dataset:20101201-1412-y0ba3ap8:720000000056 type string with no value
> at dataset=swift#mapper#17044 (not closed) to
> org.griphyn.vdl.mapping.DataNode identifier
> dataset:20101201-1412-y0ba3ap8:720000000062 type string with no value
> at dataset=site path=.name (not closed)
>
> Do i have some conflicting logging config here?  my log4j.properties:
>
> log4j.rootCategory=INFO, CONSOLE, FILE
>
> log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender
> log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout
> log4j.appender.CONSOLE.Threshold=INFO
> log4j.appender.CONSOLE.layout.ConversionPattern=%m%n
>
> log4j.appender.FILE=org.apache.log4j.RollingFileAppender
> log4j.appender.FILE.MaxFileSize=1GB
> log4j.appender.FILE.File=swift.log
> log4j.appender.FILE.layout=org.apache.log4j.PatternLayout
> log4j.appender.FILE.layout.ConversionPattern=%d{yyyy-MM-dd
> HH:mm:ss,SSSZZZZZ} %-5p %c{1} %m%n
>
> log4j.logger.swift=INFO
>
> log4j.logger.org.apache.axis.utils=ERROR
>
> log4j.logger.org.globus.swift.trace=INFO
>
> log4j.logger.org.griphyn.vdl.karajan.Loader=DEBUG
> log4j.logger.org.globus.cog.karajan.workflow.events.WorkerSweeper=WARN
> log4j.logger.org.globus.cog.karajan.workflow.nodes.FlowNode=WARN
> log4j.logger.org.globus.cog.karajan.scheduler.WeightedHostScoreScheduler=DEBUG
> log4j.logger.org.griphyn.vdl.toolkit.VDLt2VDLx=DEBUG
> log4j.logger.org.griphyn.vdl.karajan.VDL2ExecutionContext=DEBUG
> log4j.logger.org.globus.cog.abstraction.impl.common.task.TaskImpl=INFO
> #log4j.logger.org.griphyn.vdl.karajan.lib.GetFieldValue=DEBUG
> log4j.logger.org.griphyn.vdl.engine.Karajan=INFO
> log4j.logger.org.globus.cog.abstraction.coaster.rlog=DEBUG
>
> # log4j.logger.org.globus.swift.data.Director=DEBUG
>
> #log4j.logger.swift=DEBUG
> log4j.logger.org.griphyn.vdl.karajan.lib=NONE
> log4j.logger.org.griphyn.vdl.karajan.lib.SetFieldValue=NONE
> log4j.logger.org.griphyn.vdl.mapping.AbstractDataNode=NONE
>
>
>

-- 
Justin M Wozniak



More information about the Swift-user mailing list