Forum Discussion

lwakeman's avatar
lwakeman
New Contributor
12 years ago

Can't write out to files from code

I'm using basic Soap-UI, so maybe that's my problem. I have a lot of debugging steps in my WCF code that writes to a log file. Normally this works fine. However, when running my service in Soap-UI nothing is written to these files, they're not even created!

The service seems to run okay, but without the logging I can't really be sure.

Is there some configuration setting to allow code to write to files, or another approach I can try (I've tried diagnostic logging from WCF but that doesn't give the results I need)? I'm fairly certain it's not a permissions error as the file writing doesn't work no matter if I run the service locally or on the web server.

Thanks!
Larry

1 Reply

  • nmrao's avatar
    nmrao
    Icon for Champion Level 1 rankChampion Level 1
    I am really not sure how you are running the tests.

    Regarding logging issue, May be it would help you if you take a look at the soapui-log4j.xml which is under $SOAPUI_HOME/bin.