Warning: Can't synchronize with repository "(default)" (/home/git/ome.git does not appear to be a Git repository.). Look in the Trac log for more information.
Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

Task #559 (new)

Opened 17 years ago

Improve logging of DB modifications.

Reported by: jamoore Owned by: jamoore
Priority: trivial Milestone: Unscheduled
Component: General Version: 3.0-Beta1
Keywords: n.a. Cc:
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: n.a.
Sprint: n.a.

Description

Currently BasicSecuritySystem produces output of the form:

2006-12-12 12:36:46,380 INFO  [ome.security.basic.BasicSecuritySystem] Adding log:UPDATE,class ome.model.meta.Experimenter,1
2006-12-12 12:36:46,380 INFO  [ome.security.basic.BasicSecuritySystem] Adding log:UPDATE,class ome.model.meta.Experimenter,1
2006-12-12 12:36:46,417 INFO  [ome.security.basic.BasicSecuritySystem] Adding log:INSERT,class ome.model.core.Image,741

This could be simplified to:

2006-12-12 12:36:46,380 INFO  [ome.security.basic.BasicSecuritySystem] UPDATE class ome.model.meta.Experimenter,1
2006-12-12 12:36:46,380 INFO  [ome.security.basic.BasicSecuritySystem] UPDATE class ome.model.meta.Experimenter,1
2006-12-12 12:36:46,417 INFO  [ome.security.basic.BasicSecuritySystem] INSERT class ome.model.core.Image,741

Change History (0)

Note: See TracTickets for help on using tickets. You may also have a look at Agilo extensions to the ticket.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.63250 sec.)

We're Hiring!