tracker issue : CF-3588717

select a category, or use search below
(searches all categories and all time range)
Title:

Hibernate log4j.properties settings issue

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/

Reporter/Name(from Bugbase): Phill Nacelli / Phill Nacelli (Phill Nacelli)

Created: 07/02/2013

Components: ORM Support

Versions: 10.0

Failure Type: Performance Issue

Found In Build/Fixed In Build: Final /

Priority/Frequency: Major / All users will encounter

Locale/System: English / Platforms All

Vote Count: 1

Problem Description:
The log4j.properties settings for hibernate is causing files to get incrementally larger without any restrictions.

the log appender library is not set correctly and is missing commented out settings to allow file size control and rolling archival.

See attached thread discussion explaining the bug in details.

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	3588717

External Customer Info:
External Company:  
External Customer Name: Phill Nacelli
External Customer Email:

Attachments:

  1. July 02, 2013 00:00:00: 1_Stop_ColdFusion_10_from_logging_to_hibernatesql.pdf

Comments:

You can refer to this article to find out how to configure your log4j.properties file to get a RollingAppender for hibernate log. http://www.rupeshk.org/blog/index.php/2009/07/coldfusion-orm-how-to-log-sql/
Comment by Rupesh K.
15077 | January 17, 2014 06:20:12 AM GMT
While this setting can be changed via log4j properties, the default should not have been changed since CF9. Most people will run into disk space problem before realizing the log4j properties needed to be change!
Vote by External U.
15078 | September 30, 2014 01:01:05 PM GMT