Sql.log

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
Radiatorman
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 26
Joined: Fri Sep 18, 2009 2:24 pm

Sql.log

Post by Radiatorman » Tue Jun 01, 2010 3:21 pm

Is there a way to limit or stop (turn on/off) the creation/addition of the sql.log file? It is growing quite rapidly and I have a feeling it's going to fill my disk space.

User avatar
batmike
Commander (CMDR)
Commander (CMDR)
Posts: 123
Joined: Tue Sep 04, 2007 10:46 am
Location: Minneapolis, MN
Contact:

Re: Sql.log

Post by batmike » Wed Jun 02, 2010 7:04 am

If you have the source code (which is why this happened to me), make sure that the properties of the Visual Studio are set to build in release mode and not debug mode. If the project is built in debug mode, there is a condition in the code to generate the sql.log file to track problems. Once it's in release mode, that file is no longer generated.

Hope that helps, I know that file got huge on my system and I couldn't figure out why that was happening.

Mike

Radiatorman
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 26
Joined: Fri Sep 18, 2009 2:24 pm

Re: Sql.log

Post by Radiatorman » Wed Jun 02, 2010 5:57 pm

Sweet... it worked. Thank you so much.

Post Reply