Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NHibernate.Glimpse and log4net #1

Open
freeman42x opened this issue Apr 9, 2013 · 2 comments
Open

NHibernate.Glimpse and log4net #1

freeman42x opened this issue Apr 9, 2013 · 2 comments

Comments

@freeman42x
Copy link

When using NHibernate.Glimpse, none of the log4net appenders work anymore for the NHibernate loggers.

Any way to configure it to be able to use both NHibernate.Glimpse and log4net at the same time?

Thanks!

@ranzlee
Copy link
Owner

ranzlee commented Apr 9, 2013

razvan, I had to implement a custom ILoggerFactory to hook in NH to get the Glimpse data. This prevents the use of log4net for logging. I will look into implementing some way to chain loggers so that log4net can be used along side if it is important to you,

@freeman42x
Copy link
Author

I think it would be very useful to be able to log NHibernate to other destinations. If you could find time to implement it, it would be awesome. 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants