You can enable NHibernate logging to the console or to a file

2010/1/4 Mike Christensen <[email protected]>:
> This should be a simple question, but what's the best and easiest way
> to get a view of all SQL queries being run?  I was able to turn on a
> debug mode that would write queries to Console, but this no longer
> works when you're writing a web app.  If I could just Debug.WriteLine
> each query that would be awesome.  Is there like an event I can attach
> to or something?  Thanks!
>
> Mike
>
> --
>
> You received this message because you are subscribed to the Google Groups 
> "Castle Project Users" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/castle-project-users?hl=en.
>
>
>



-- 

Ricardo Lopes

--

You received this message because you are subscribed to the Google Groups 
"Castle Project Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/castle-project-users?hl=en.


Reply via email to