As the title, is there an easy to do that? For eg., put some codes in scope provider, so that we can log all back-end sql generated for each operation, logged by log4net or something else, is it doable? Thanks.
1 Answer, 1 is accepted
0
Alexander
Telerik team
answered on 15 Jun 2009, 01:39 PM
Hello Leon,
OpenAccess has its own logging mechanism, you just have to enable it. Open the OpenAccess menu -> "Configuration" -> "Backend Configuration Settings", scroll to the "Logging" section and enable "Event tracing". You can choose logging to a file, to the Output console of Visual Studio or both. If file logging is enabled, you have to specify a file name as well. The log level should be "normal" or higher to track the SQL statements.