Bug 724143 (BRMS-86) - BRMS logs package creation, but not package archiving or deletion
Summary: BRMS logs package creation, but not package archiving or deletion
Keywords:
Status: CLOSED NEXTRELEASE
Alias: BRMS-86
Product: JBoss Enterprise BRMS Platform 5
Classification: JBoss
Component: User Interface
Version: 5.0.0 CR1
Hardware: Unspecified
OS: Unspecified
high
unspecified
Target Milestone: ---
: 5.1.0 GA
Assignee: Jervis Liu
QA Contact:
URL: http://jira.jboss.org/jira/browse/BRM...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-04-23 19:02 UTC by Len DiMaggio
Modified: 2013-11-07 22:09 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
April 17 2009 CR1 build
Last Closed: 2010-11-22 19:44:28 UTC
Type: Bug


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker BRMS-86 0 None None None Never

Description Len DiMaggio 2009-04-23 19:02:03 UTC
These message are written to the log when a package is created - nothing is logged - at least at an INFO level - when a package is archived or deleted. For auditing, we should also log archiving/deletion of packages.


2009-04-23 14:44:45,674 INFO  [STDOUT] INFO  23-04 14:44:45,673 (ServiceImplementation.java:createPackage:751)   USER: CREATING package [TestPackage.April23]
2009-04-23 14:46:03,512 INFO  [STDOUT] INFO  23-04 14:46:03,511 (ServiceImplementation.java:savePackage:832)     USER: SAVING package [TestPackage.April23]
2009-04-23 14:46:03,943 INFO  [STDOUT] DEBUG 23-04 14:46:03,943 (PackageItem.java:queryAssets:433)       SQL is SELECT * FROM drools:assetNodeType WHERE jcr:path LIKE '/drools:repository/drools:package_area/TestPackage.April23/assets[%]/%' and drools:format='model.drl' AND drools:archive = 'false' ORDER BY drools:title
2009-04-23 14:46:03,965 INFO  [STDOUT] DEBUG 23-04 14:46:03,964 (PackageItem.java:queryAssets:439)       QueryExec time is: 20
2009-04-23 14:46:03,965 INFO  [STDOUT] DEBUG 23-04 14:46:03,965 (PackageItem.java:queryAssets:441)       org.apache.jackrabbit.core.query.lucene.QueryResultImpl$LazyScoreNodeIterator
2009-04-23 14:46:03,966 INFO  [STDOUT] DEBUG 23-04 14:46:03,966 (PackageItem.java:queryAssets:433)       SQL is SELECT * FROM drools:assetNodeType WHERE jcr:path LIKE '/drools:repository/drools:package_area/TestPackage.April23/assets[%]/%' and drools:format='jar' AND drools:archive = 'false' ORDER BY drools:title
2009-04-23 14:46:03,974 INFO  [STDOUT] DEBUG 23-04 14:46:03,974 (PackageItem.java:queryAssets:439)       QueryExec time is: 7
2009-04-23 14:46:03,975 INFO  [STDOUT] DEBUG 23-04 14:46:03,974 (PackageItem.java:queryAssets:441)       org.apache.jackrabbit.core.query.lucene.QueryResultImpl$LazyScoreNodeIterator
2009-04-23 14:46:03,975 INFO  [STDOUT] DEBUG 23-04 14:46:03,975 (PackageItem.java:queryAssets:433)       SQL is SELECT * FROM drools:assetNodeType WHERE jcr:path LIKE '/drools:repository/drools:package_area/TestPackage.April23/assets[%]/%' and drools:format='dsl' AND drools:archive = 'false' ORDER BY drools:title
2009-04-23 14:46:03,981 INFO  [STDOUT] DEBUG 23-04 14:46:03,980 (PackageItem.java:queryAssets:439)       QueryExec time is: 4
2009-04-23 14:46:03,981 INFO  [STDOUT] DEBUG 23-04 14:46:03,981 (PackageItem.java:queryAssets:441)       org.apache.jackrabbit.core.query.lucene.QueryResultImpl$LazyScoreNodeIterator
2009-04-23 14:46:03,982 INFO  [STDOUT] DEBUG 23-04 14:46:03,981 (PackageItem.java:queryAssets:433)       SQL is SELECT * FROM drools:assetNodeType WHERE jcr:path LIKE '/drools:repository/drools:package_area/TestPackage.April23/assets[%]/%' and drools:format='enumeration' AND drools:archive = 'false' ORDER BY drools:title
2009-04-23 14:46:04,000 INFO  [STDOUT] DEBUG 23-04 14:46:03,994 (PackageItem.java:queryAssets:439)       QueryExec time is: 12
2009-04-23 14:46:04,001 INFO  [STDOUT] DEBUG 23-04 14:46:04,000 (PackageItem.java:queryAssets:441)       org.apache.jackrabbit.core.query.lucene.QueryResultImpl$LazyScoreNodeIterator

Comment 1 Len DiMaggio 2009-04-23 19:03:07 UTC
Link: Added: This issue is a dependency of GUVNOR-267


Comment 2 David Le Sage 2010-10-14 03:37:12 UTC
Draft text for release note states:


https://jira.jboss.org/browse/GUVNOR-267

                Package deletion and archiving were not being logged but users required this for auditing purposes.  This functionality has now been added so that full logs tracing all package actions are now supplied.  

Comment 3 Dana Mison 2010-10-26 06:55:52 UTC
Writer: Added: dlesage


Comment 4 Dana Mison 2010-10-26 07:10:30 UTC
Release Notes Docs Status: Added: Documented as Resolved Issue


Comment 5 Dana Mison 2010-10-27 03:06:37 UTC
Release Notes Text: Added: test


Comment 6 Dana Mison 2010-10-27 03:13:49 UTC
Release Notes Text: Removed: test 


Comment 7 David Le Sage 2010-11-15 06:49:47 UTC
Release Notes Text: Added: Draft text for release note states:


https://jira.jboss.org/browse/GUVNOR-267

                Package deletion and archiving were not being logged but users required this for auditing purposes. This functionality has now been added so that full logs tracing all package actions are now supplied. 


Comment 8 Len DiMaggio 2010-11-22 19:44:28 UTC
Verified fixed in BRMS 5.1 - ER4 build.


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