Log in webapp

Topics: Developer Forum, Project Management Forum, User Forum
Feb 11, 2010 at 4:50 PM

Hi,

which the better way to configure the log in my webapp in order to dump all SQL sentences? I have tried TextFileLogRecorder but i can't get any file, where could i configure the file where sentences should be dumped?

 

Thanks.

Juan Pedro Rubio
www.inditar.com

 

Coordinator
Feb 12, 2010 at 8:37 AM

In Lephone.Settings section:

<add key="SqlLogRecorder" value="Lephone.Util.Logging.TextFileLogRecorder, Lephone.Util"/>

Will save all sql sentences to text file. And the following will save them to database:

<add key="SqlLogRecorder" value="Lephone.Data.Logging.DatabaseLogRecorder, Lephone.Data"/>