NHibernate Forge
The official new home for the NHibernate for .NET community

Browse Site by Tags

Showing related tags and posts across the entire site.
  • Configure Log4Net for use with NHibernate

    The Log4Net assembly is distributed with NHibernate binaries. If you are not sure about details of the configuration shown below please refer to this documentation. Running without Log4Net If you only want NHibernate to log the queries it sends to the data source when running unit tests you don't...
    Posted to How to by John Davidson on 09-19-2011
    Filed under: log4net, logging
  • Generate better NHibernate logs

    I will show you in this post two tricks you can do to enhance and add value to your nhibernate logs. Format Sql This is widely know trick, you can add a configuration setting to your hibernate.cfg.xml, app.config or web.config as follow: <property name="hibernate.format_sql" value="true"...
    Posted to NHibernate blog by Jose Romaniello on 05-05-2011
    Filed under: logging
  • .NET Client Profile Support in NHibernate 3

    [This article was originally published on my personal blog here . I hereby grant myself permission to re-publish it on NHForge.org.] [Code for this article is available on GitHub here .] NHibernate 3 introduces support for both the .NET 3.5 Client Profile and .NET 4.0 Client Profile. This means that...
    Posted to NHibernate blog by James Kovacs on 02-24-2011
    Filed under: logging, ClientProfile
  • Using NLog via Common.Logging with NHibernate

    The NHibernate 3 Trunk-Version contains a new Interface "IInternalLogger" which provides interface for custom loggers to be configured with NHibernate. NHibernate provides' a log4net log provider for this interface out of the box. So if you are using NHibernate with log4net just deliver...
    Posted to How to by mgernand on 09-27-2010
    Filed under: common.logging, ilogger, log, logging, Nhibernate, nlog
  • How to configure Log4Net for use with NHibernate

    Recently there was a question in the NHUser group about how to configure Log4Net to log the queries generated by NHibernate. First of all: you can get Log4Net here . There you also find the documentation. If you are not sure about details of the configuration shown below please refer to this documentation...
    Posted to NHibernate blog by gabriel.schenker on 09-06-2008
    Filed under: configuration, logging
Page 1 of 1 (20 items)
Powered by Community Server (Commercial Edition), by Telligent Systems