Hi,

Thanks for the answer, i was under the impression that setting show_sql to false the statements will not be logged to log4net either. Anyhow just after sending the first mail i realized that i don't really want to see the SQL :) I only need to know that if I'll ever want to see it i will have a quick way to do so.

Diego Mijelshon wrote:
Um... by not setting show_sql?

   Diego


On Thu, Jan 28, 2010 at 07:54, eti <[email protected] <mailto:[email protected]>> wrote:

    Hi,

    It seems that when show_sql is set to true in the configuration
    NHibernate also logs the sql queries to stdout. Looking at the code i
    see that there is a property called LogToStdout but i have no idea
    where to set it to false.

    Can anyone provide a way of turning off loggin to stdout? ( but
    keeping the logging with log4net as it is )

    Thanks,
    eti

    --
    You received this message because you are subscribed to the Google
    Groups "nhusers" group.
    To post to this group, send email to [email protected]
    <mailto:[email protected]>.
    To unsubscribe from this group, send email to
    [email protected]
    <mailto:nhusers%[email protected]>.
    For more options, visit this group at
    http://groups.google.com/group/nhusers?hl=en.


--
You received this message because you are subscribed to the Google Groups "nhusers" 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/nhusers?hl=en.

--
You received this message because you are subscribed to the Google Groups 
"nhusers" 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/nhusers?hl=en.

Reply via email to