DZone
Performance Zone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
  • Refcardz
  • Trend Reports
  • Webinars
  • Zones
  • |
    • Agile
    • AI
    • Big Data
    • Cloud
    • Database
    • DevOps
    • Integration
    • IoT
    • Java
    • Microservices
    • Open Source
    • Performance
    • Security
    • Web Dev
DZone > Performance Zone > Hibernate Logging Guide [Video]

Hibernate Logging Guide [Video]

It's important to choose the right logging configuration in order to find performance issues during development instead of during production.

Thorben Janssen user avatar by
Thorben Janssen
·
May. 27, 17 · Performance Zone · Presentation
Like (3)
Save
Tweet
2.18K Views

Join the DZone community and get the full member experience.

Join For Free

Choosing the right logging configuration can make the difference between finding a performance issue during development or suffering from it in production. But it can also create an overhead that slows down your application. You need to decide which information you need and configure your system accordingly.

I, therefore, prefer to use two different configurations:

  • A development configuration that logs enough internal information to understand the database interactions, see the number of executed queries, and check the SQL statements.
  • A production configuration that logs as few messages as possible and avoids any overhead.

I explain both configurations in more detail in the following video.


Or if you prefer to read, you can find a detailed description of Hibernate's logging configuration and my recommendations for development and production in the Hibernate Logging Guide on my blog.

Hibernate

Opinions expressed by DZone contributors are their own.

Popular on DZone

  • RestTemplate vs. WebClient
  • What Is Data Analytics? Understanding Data Analytics Techniques
  • Secure Your WSO2 Micro Integrator Deployment
  • Component Testing of Frontends: Karate Netty Project

Comments

Performance Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • MVB Program
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com
  • +1 (919) 678-0300

Let's be friends:

DZone.com is powered by 

AnswerHub logo