Bug 777706 (SOA-222) - SOA-P production config - Out of the box log level definitions too verbose for a production environment (4K+ hibernate and jbpm DEBUG msg/min)
Summary: SOA-P production config - Out of the box log level definitions too verbose fo...
Keywords:
Status: CLOSED NEXTRELEASE
Alias: SOA-222
Product: JBoss Enterprise SOA Platform 4
Classification: JBoss
Component: Configuration
Version: 4.2 Beta 1
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 4.2 Beta 2
Assignee: Mike Brock
QA Contact:
URL: http://jira.jboss.org/jira/browse/SOA...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-12-06 18:10 UTC by Len DiMaggio
Modified: 2013-06-17 05:11 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
soa-4.2.0-IR8.0.zip
Last Closed: 2008-01-21 17:29:44 UTC
Type: Bug


Attachments (Terms of Use)
server.log (4.87 MB, text/x-log)
2007-12-06 18:12 UTC, Len DiMaggio
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 777821 0 medium CLOSED Non-fatal error - in production server log4j file 2021-02-22 00:41:40 UTC
Red Hat Bugzilla 778009 0 high CLOSED SOA Platform, standalone server, default configuration - log4j configuration = 300,000 log messages/hour on idle server 2021-02-22 00:41:40 UTC
Red Hat Bugzilla 778600 0 high CLOSED SOA Platform, standalone server, default configuration - log4j configuration = 300,000 log messages/hour on idle server 2021-02-22 00:41:40 UTC
Red Hat Bugzilla 779139 0 medium CLOSED FILE apender configured with Threshold set to INFO in jboss-log4j.xml 2021-02-22 00:41:40 UTC
Red Hat Issue Tracker SOA-222 0 None None None Never

Internal Links: 777821 778009 778600 779139

Description Len DiMaggio 2007-12-06 18:10:22 UTC
Date of First Response: 2007-12-17 23:26:37
project_key: SOA

Description of problem:
The out of the box SOA-P soa-4.2.0-IR8.0.zip production config logging definitions in server/production/conf/jboss-log4j.xml are identical to EAP 4.3. With SOA-P, this log4j configuration results in a very verbose log due to jbpm+hibernate DEBUG level messages.

Version-Release number of selected component (IR or RC #, component ver)
soa-4.2.0-IR8.0.zip

How reproducible:
100%

Steps to Reproduce: 
1.  Unzip the distribution file - start up the server

Actual results:

In a ~3 minute test - on an idle server - 12,000+ hibernate and 3000+ jbpm log messages were generated.

 head -1 server.log 
2007-12-06 12:54:20,047 DEBUG [org.jboss.logging.Log4jService] Installed System.out adapter
[ldimaggi@ldimaggi log]$ tail -1 server.log 
2007-12-06 12:57:03,580 INFO  [org.jboss.system.server.Server] Shutdown complete
[ldimaggi@ldimaggi log]$ 
[ldimaggi@ldimaggi log]$ cat server.log | grep -i hibernate | wc -l
12045
[ldimaggi@ldimaggi log]$ cat server.log | grep -i jbpm | wc -l
3731

Expected results:

The EAP 4.2 production config server has these log4j limits set:

   <category name="org.jboss.web">
     <priority value="INFO" />
   </category>

   <category name="org.jboss.ha">
     <priority value="INFO" />
   </category>

Why not add limits at the INFO level for 

  <category name="org.hibernate">
     <priority value="INFO" />
   </category>

  <category name="org.jbpm">
     <priority value="INFO" />
   </category>

Additional info: (e.g., stack trace)

This problem has been present in the SOA-P builds since the beginning. It's likely that customers will adjust logging for their own environments. 

But - there is an out of the box impact for users.

The getting started guide includes instructions for the customer to deploy and run the helloworld quickstart. On the production config, the user will have to tail or grep the server.log to see the test results. It is VERY hard to see the results from the quickstart with 4000+ jbpm and hibernate DEBUG messages being written to the log every minute.

Attachments (e.g., server log)

Comment 1 Len DiMaggio 2007-12-06 18:12:43 UTC
Attachment: Added: server.log


Comment 2 Mike Brock 2007-12-18 04:26:37 UTC
fixed.

Comment 3 Jiri Pechanec 2007-12-20 13:16:51 UTC
Still too verbose, I would prefer to add 
<param name="Threshold" value="INFO"/>
on file appender

Comment 4 Mark Little 2008-01-09 23:21:11 UTC
What's the status of this? Seems like an easy fix.

Comment 5 Mike Brock 2008-01-10 02:35:51 UTC
done.

Comment 6 Len DiMaggio 2008-01-21 17:14:53 UTC
Link: Added: This issue is related to SOA-347


Comment 7 Len DiMaggio 2008-01-21 17:29:44 UTC
Verified in beta2 build.

Comment 8 Julian Coleman 2008-07-07 11:55:29 UTC
Link: Added: This issue related SOA-536


Comment 9 Julian Coleman 2008-12-11 16:30:14 UTC
Link: Added: This issue related SOA-1073


Comment 10 trev 2009-10-19 14:23:25 UTC
Link: Added: This issue related SOA-1537



Note You need to log in before you can comment on or make changes to this bug.