Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 373675
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T14:19:52+00:00 2026-05-12T14:19:52+00:00

I have an empty app.config file, but I still get NHibernate debug logs NHibernate:

  • 0

I have an empty app.config file, but I still get NHibernate debug logs

NHibernate: SELECT this_.LogID as LogID71_0_, this_.Level as Level71_0_, this_.Message as Message71_0_, this_.EventTime as EventTime71_0_, this_.Component as ...

I tried adding a log4net configuration with an ERROR log level, but no use. How can I stop these log messages?

The thing I’m puzzled about is why do these appear in the first place if I have an empty app.config to being with. It doesn’t make sense to me that I have to configure it not to print these messaages – the default should be off. Could it be my code is setting them on programatically somehow? What should I look for?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T14:19:52+00:00Added an answer on May 12, 2026 at 2:19 pm

    Configure Log4Net for use with NHibernate may be helpful.

    You need to have both these loggers:

     <logger name="NHibernate">
       <level value="ERROR" />
     </logger>
    
     <logger name="NHibernate.SQL">
       <level value="ERROR" />
     </logger>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an app.config file that looks like this: <?xml version=1.0 encoding=utf-8 ?> <configuration>
I am building an Day View calendar app. I have already created the empty
I have a csv file which may have empty or blank rows. I want
I am generating an Excel file through MATLAB and I have empty cells in
I have written an app that takes an uncompressed .wav file and encodes into
In Yii, I have enabled APC caching through the config/main.php file: 'cache' => array(
When I am writing for example Spring Bean I often have empty element without
I have an empty matrix m : m <- matrix(0, nrow = 4, ncol
I have an empty array into which I am pushing values using javascript. I
I have an empty JTable, absolutely nothing in it. I need to dynamically generate

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.