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

  • SEARCH
  • Home
  • 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 5977155
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T21:19:49+00:00 2026-05-22T21:19:49+00:00

UPDATE : The answer for this question is in the comments of Martins answer

  • 0

UPDATE: The answer for this question is in the comments of Martins answer

I have a this application on hibernate+spring installed on differents clients for one server. Just found out that they were compiled with the Hibernate – show_sql = true, and every time my app gets a hit it fills the catalina.out with hql. my catalina.out file is growing a lot. I need to turn this show_sql without stoping the server on production. Can this be done ?

My file is getting really big, i dont want to compile every application (have different releases by cliente), stop the server, upload, and restart.

Thank you!

  • 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-22T21:19:49+00:00Added an answer on May 22, 2026 at 9:19 pm

    There are a number of things not perfectly clear from that question so I’ll hazard a guess. You seem to be using Tomcat since you’re talking about catalina.out. That means your webapps should be extracted in a webapps directory somewhere. That means you should be able to find persistence.xml or hibernate-something.xml that holds your hibernate configuration. In that file you should have a <propery name="hibernate.show_sql" value="true"/> or simply <propery name="show_sql" value="true"/>.

    You can edit this file and change the value to false, but since it’s likely to be cached it will only take effect after you restart your web-apps. You could do this one at a time for the affected apps or restart your tomcat service which would likely be a bit more disruptive.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This question came up in the comments of this answer . The inability to
As made clear in update 3 on this answer , this notation: var hash
UPDATE: Solved. Thanks BusyMark! EDIT: This is revised based on the answer below from
I was looking at the answer of this question regarding multiple generic types in
This question have been answered. I recommend sumit_programmers solution below. For now, I've removed
In a previous question one of the comments from Dr. Herbie on the accepted
G'day, Inspired by a comment I made in my answer to this question on
In this question I have searched for a simple solution to unblock files. Thanks
This is a general question I haven't seen an answer for. Can I tell
I have been searching around Google and this site to find answer on my

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.