[Swift-devel] Loging still messed up after Falkon provider installed

Michael Wilde wilde at mcs.anl.gov
Tue Oct 23 14:07:32 CDT 2007


I installed the deef provider per the instructions in the Falkon SVN 
root, and my swift .log file is no longer produced.

There was much discussion on this on the lists; was it never fixed, or 
did it break again?

My non-working log4j.properties file - what I had after installing the 
deef provider - is below.

Below that is what I added from one of Mihael's suggestions in a thread 
with Jing, which didnt solve the problem till I added back in all the 
lines that came with the default Swift build (r1339)

Is this my error somewhere in setting up Falkon, or is the Falkon 
provider install messing this up?

- Mike

----- Broken config after deef provider installed:

#Root category
log4j.rootCategory=WARN, CONSOLE

# CONSOLE is set to be a ConsoleAppender using a PatternLayout
# The class is not printed
log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender
log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout
log4j.appender.CONSOLE.layout.ConversionPattern=%-5p %x - %m%n

# CONSOLE-C is the same as above, but the class is printed
log4j.appender.CONSOLE-C=org.apache.log4j.ConsoleAppender
log4j.appender.CONSOLE-C.layout=org.apache.log4j.PatternLayout
log4j.appender.CONSOLE-C.layout.ConversionPattern=%-5p [%c] %x - %m%n

# %provider-deef%
         log4j.logger.org.apache.axis.utils.JavaUtils=ERROR
log4j.logger.org.globus.cog.abstraction.impl.execution.deef=DEBUG

# %abstraction%
         log4j.logger.org.globus.cog.abstraction=WARN

# %abstraction-common%
         log4j.logger.org.globus.cog.abstraction.impl.common=WARN

# %jglobus%

# %util%

# %provider-gt2%

# %provider-gt2ft%

# %provider-gt4_0_0%
         log4j.logger.org.apache.axis.utils.JavaUtils=ERROR
# %provider-condor%

# %provider-ssh%

# %provider-webdav%

# %provider-local%

---- logging works when I add the following lines:

         log4j.logger.org.globus.cog.abstraction.impl.common=WARN
log4j.logger.org.globus.cog.abstraction=DEBUG
# ^^ Added by Mike per Mihael

log4j.rootCategory=WARN, CONSOLE, FILE

log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender
log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout
log4j.appender.CONSOLE.Threshold=WARN
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.griphyn.vdl.karajan.Loader=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




More information about the Swift-devel mailing list