[wsf-c-dev] [jira] Created: (WSFRUBY-61) log file name appends to the existing log file name when i define a new log file for a different WSClient in the same class

Dushshantha Chandradasa (JIRA) jira at wso2.org
Mon Jun 30 23:09:34 PDT 2008


log file name appends to the existing log file name when i define a new log file for a different WSClient in the same class
---------------------------------------------------------------------------------------------------------------------------

                 Key: WSFRUBY-61
                 URL: https://wso2.org/jira/browse/WSFRUBY-61
             Project: WSO2 WSF/Ruby
          Issue Type: Bug
    Affects Versions: Current (nightly)
         Environment: Windows
            Reporter: Dushshantha Chandradasa
            Assignee: Ruwan Janapriya
             Fix For: Current (nightly)


I define 2 WSClinets in 2 different methods in a single class, and use 2 different log files for those. When the 2nd method invokes, the log file name concatanates with the previous one.  Following is the error i get. This happens even if I didnt set a log file name. 

Errno::ENOENT: No such file or directory - C:\wsf_ruby_1.1.0\wso2-wsf-ruby-bin-1.1.0-win32\wsf_c\logs/wsf_ruby_client.log/wsf_ruby_client.log
    C:/ruby/lib/ruby/1.8/logger.rb:525:in `initialize'
    C:/ruby/lib/ruby/1.8/logger.rb:525:in `open'
    C:/ruby/lib/ruby/1.8/logger.rb:525:in `create_logfile'
    C:/ruby/lib/ruby/1.8/logger.rb:520:in `open_logfile'
    C:/ruby/lib/ruby/1.8/logger.rb:487:in `initialize'
    C:/ruby/lib/ruby/1.8/logger.rb:263:in `new'
    C:/ruby/lib/ruby/1.8/logger.rb:263:in `initialize'
    C:/ruby/lib/ruby/site_ruby/1.8/logger/wslogger.rb:30:in `new'
    C:/ruby/lib/ruby/site_ruby/1.8/logger/wslogger.rb:30:in `init'
    C:/ruby/lib/ruby/site_ruby/1.8/wsf/wsclient.rb:44:in `initialize'
    ./echo_client.rb:42:in `new'
    ./echo_client.rb:42:in `test_myTest'

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://wso2.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the Wsf-c-dev mailing list