Logging
Posted in Technical by JarrettV on 3/28/2010 1:45:00 PM - CSTJust like the rest of AtomSite, the logging infrastructure is modular. Out of the box, AtomSite is configured to use regular TraceSouce logging. The log data goes directly through the debug system. You can view it with debug view. However, if your site is deployed, you may want to log to a file so you can view the logs of your remote server.
Default Logging Setup (web.config)
The default logging setup uses the default log listener.
Recommended Logging Setup (web.config)
This logging setup removes the default listener and replaces it with a file log. Only warnings, errors, and fatal errors will be logged to this file. When debugging, you can change the source switch value to Verbose to get more information.
The built-in TextWriterTraceListener does not work in medium trust.