lwakeman
12 years agoNew Contributor
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
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