asp.net web app - writing data to access or error logs?
        Posted  
        
            by chris
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by chris
        
        
        
        Published on 2010-04-09T12:01:44Z
        Indexed on 
            2010/04/09
            12:33 UTC
        
        
        Read the original article
        Hit count: 356
        
I'm looking for a quick way to log some data - I seem to remember a way to write to the access log, similar to System.Out.Println() but I can't seem to remember how to do it.
I can't attach a debugger, nor can I add additional information to the web app via Response.Write().
Is there a simple way - a single statement with no configuration changes would be ideal - to write to either the error or access logs?
© Stack Overflow or respective owner