[Swift-user] debug log not being produced

Mihael Hategan hategan at mcs.anl.gov
Sat Mar 29 08:27:57 CDT 2008


log4j.properties looks fine.

What's in amps2-20080328-1720-6jit1g59.d and what does swift.out say?

Mihael

On Sat, 2008-03-29 at 07:22 -0500, Michael Wilde wrote:
> Im not getting a swift <runid>.log file on the BGP after rebuilding 
> swift to 1771 with provider-deef.
> 
> Im backtracking and debugging now, but does anyone know of recent 
> changes in this area, or of what I might have done wrong?
> 
> (I lost access to many files when my sicortex NFS client host crashed 
> and then went into limited access mode, so I may have mis-configured things)
> 
> Does anyone see a cause?
> 
> Thanks,
> 
> Mike
> 
> -- Im running swift with this script:
> 
> WORKFLOW=$1
> shift
> 
> site $* >sites.xml
> 
> ( echo Swift script $WORKFLOW.swift starting at `date`
>    echo   running on sites: $*
>    echo
>    swift \
>     -sites.file ./sites.xml \
>     -tc.file ./tc.data \
>     $WORKFLOW.swift
>    echo
>    echo Swift Script $WORKFLOW.swift ended at `date` with exit code $?
> ) >swift.out 2>&1
> 
> -- etc/log4j.properties
> 
> bg$ cat log4j.properties
> # Set root category priority to WARN and its appenders to CONSOLE and FILE.
> 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.FileAppender
> 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=DEBUG
> 
> 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=DEBUG
> log4j.logger.org.griphyn.vdl.karajan.lib.GetFieldValue=DEBUG
> log4j.logger.org.griphyn.vdl.engine.Karajan=INFO
> 
> -- ~/.swift/swift.properties
> 
> sitedir.keep=true
> wrapperlog.always.transfer=true
> lazy.errors=true
> execution.retries=0
> 
> #kickstart.always.transfer=true
> 
> throttle.submit=off
> throttle.host.submit=off
> throttle.transfers=20
> throttle.file.operations=20
> throttle.score.job.factor=1000000
> 
> -- run dir after a swift run - no .log file!
> 
> bg$ cd ~/mars/run01
> bg$ ls -lt
> total 1280
> -rw-r--r-- 1 wilde users    908 Mar 28 17:20 swift.out
> -rw-r--r-- 1 wilde users     48 Mar 28 17:20 
> amps2-20080328-1720-6jit1g59.0.rlog
> drwxr-xr-x 2 wilde users 131072 Mar 28 17:20 amps2-20080328-1720-6jit1g59.d
> -rw-r--r-- 1 wilde users   7859 Mar 28 17:20 amps2.kml
> -rw-r--r-- 1 wilde users   4397 Mar 28 17:20 amps2.xml
> -rw-r--r-- 1 wilde users    422 Mar 28 17:20 sites.xml
> -rw-r--r-- 1 wilde users    103 Mar 28 16:02 paramlist
> -rw-r--r-- 1 wilde users   1432 Mar 28 14:48 tc.data
> -rw-r--r-- 1 wilde users    654 Mar 28 14:36 amps2.swift
> bg$
> 
> 
> 
> 
> _______________________________________________
> Swift-user mailing list
> Swift-user at ci.uchicago.edu
> http://mail.ci.uchicago.edu/mailman/listinfo/swift-user
> 




More information about the Swift-user mailing list