database log
Hi CFers
I wanted to record all database calls from Coldfusion 8 (IIS) to MSSQL 2008. I enabled database log on the data source page. But I find that there are too much unnecessary details in the database log. The file grows too quickly and CFIDE cannot even show the file.
Is there a way to control the database log so that it only writes "sql statements" to the log?
I'm not sure about the mechanics of the jdbc log, but it seems JDBC Spy is used for logging.
There is a Log4jdbc which has an option of logging "sql only". Is there a way to configure the JDBC spy to do the same?
Or, is there a way to tell Coldfusion to use log4jdbc?
Thanks.
