Bug 777706 (SOA-222)

Summary: SOA-P production config - Out of the box log level definitions too verbose for a production environment (4K+ hibernate and jbpm DEBUG msg/min)
Product: [JBoss] JBoss Enterprise SOA Platform 4 Reporter: Len DiMaggio <ldimaggi>
Component: ConfigurationAssignee: Mike Brock <cbrock>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: 4.2 Beta 1CC: jwulf, rruss
Target Milestone: ---   
Target Release: 4.2 Beta 2   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/SOA-222
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
soa-4.2.0-IR8.0.zip
Last Closed: 2008-01-21 17:29:44 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
server.log none

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