[Swift-devel] [Bug 192] New: displeasing stack trace when pwd is not writable

bugzilla-daemon at mcs.anl.gov bugzilla-daemon at mcs.anl.gov
Thu Apr 2 03:21:10 CDT 2009


https://bugzilla.mcs.anl.gov/swift/show_bug.cgi?id=192

           Summary: displeasing stack trace when pwd is not writable
           Product: Swift
           Version: unspecified
          Platform: PC
        OS/Version: Mac OS
            Status: NEW
          Severity: normal
          Priority: P2
         Component: General
        AssignedTo: benc at hawaga.org.uk
        ReportedBy: benc at hawaga.org.uk


The logging system outputs the following trace in swift 0.8 when pwd is
unwritable:

train02 at vm-125-58:/sw/swift$ swift
log4j:ERROR setFile(null,true) call failed.
java.io.FileNotFoundException: swift.log (Permission denied)
    at java.io.FileOutputStream.openAppend(Native Method)
    at java.io.FileOutputStream.<init>(FileOutputStream.java:177)
    at java.io.FileOutputStream.<init>(FileOutputStream.java:102)
    at org.apache.log4j.FileAppender.setFile(FileAppender.java:272)
    at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:151)
    at org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:247)
    at
org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:123)
    at
org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:87)
    at
org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigurator.java:645)
    at
org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigurator.java:603)
    at
org.apache.log4j.PropertyConfigurator.configureRootCategory(PropertyConfigurator.java:500)
    at
org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:406)
    at
org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:432)
    at
org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:460)
    at org.apache.log4j.LogManager.<clinit>(LogManager.java:113)
    at org.apache.log4j.Logger.getLogger(Logger.java:94)
    at org.globus.cog.karajan.Loader.<clinit>(Loader.java:43)
No SwiftScript program specified

-- 
Configure bugmail: https://bugzilla.mcs.anl.gov/swift/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
You are watching the reporter.



More information about the Swift-devel mailing list