Keeping track of changes to data in Entity

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Keeping track of changes to data in Entity

advait75
Hi,

Does OFBiz have any kind if audit trail mechanism? In other words, I would like to keep a record of every change that has been made in the data in an entity, and who has made the change.
I would like to know what entity, field was modified, and what the old value was, the new value is and who changed this data and when.

I have seen similar posts a few years ago on the forum, but couldn't find an answer.

Thanks in advance.
Reply | Threaded
Open this post in threaded view
|

Re: Keeping track of changes to data in Entity

Amit Sharma-10
Hi Advait

Yes,  you can audit any activity in particular  field. You need to
specify  enable-audit-log="true" for particular  field which  you  want  
audit and Record will be updated in EntityAuditLog entity.

HTH

Thanks And Regards
--
Amit Sharma

advait75 wrote:

> Hi,
>
> Does OFBiz have any kind if audit trail mechanism? In other words, I would
> like to keep a record of every change that has been made in the data in an
> entity, and who has made the change.
> I would like to know what entity, field was modified, and what the old value
> was, the new value is and who changed this data and when.
>
> I have seen similar posts a few years ago on the forum, but couldn't find an
> answer.
>
> Thanks in advance.
>  

Reply | Threaded
Open this post in threaded view
|

Re: Keeping track of changes to data in Entity

advait75
Hi Amit,

Thank you for the extremely prompt response. It works great.

Thanks again.

Amit Sharma-10 wrote
Hi Advait

Yes,  you can audit any activity in particular  field. You need to
specify  enable-audit-log="true" for particular  field which  you  want  
audit and Record will be updated in EntityAuditLog entity.

HTH

Thanks And Regards
--
Amit Sharma

advait75 wrote:
> Hi,
>
> Does OFBiz have any kind if audit trail mechanism? In other words, I would
> like to keep a record of every change that has been made in the data in an
> entity, and who has made the change.
> I would like to know what entity, field was modified, and what the old value
> was, the new value is and who changed this data and when.
>
> I have seen similar posts a few years ago on the forum, but couldn't find an
> answer.
>
> Thanks in advance.
>  
Reply | Threaded
Open this post in threaded view
|

Re: Keeping track of changes to data in Entity

prasath
Hi all,

Ofbiz maintaining logs in single table EntityAuditLog,
What about load and performance?

Regards
prasath.r

prasath rajan 9442369696
Reply | Threaded
Open this post in threaded view
|

Re: Keeping track of changes to data in Entity

Jacques Le Roux
Administrator
If you have any problems simply remove enable-audit-log where needed

OOTB only some OrderItem,  OrderItemShipGroup and ReturnItem fields are concerned. Nobody complained so far...

Jacques

From: "prasath" <[hidden email]>

> Hi all,
>
> Ofbiz maintaining logs in single table EntityAuditLog,
> What about load and performance?
>
> Regards
> prasath.r
>
>
>
> -----
> prasath rajan
> 9442369696
> --
> View this message in context: http://ofbiz.135035.n4.nabble.com/Keeping-track-of-changes-to-data-in-Entity-tp788215p4091423.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
Reply | Threaded
Open this post in threaded view
|

Re: Keeping track of changes to data in Entity

Bilgin Ibryam-2
In reply to this post by prasath
On Mon, Nov 21, 2011 at 12:57 PM, prasath <[hidden email]> wrote:
> Hi all,
>
> Ofbiz maintaining logs in single table EntityAuditLog,
> What about load and performance?
>

It affects the overall performance, you have to use it very carefully,
only for the fields/entities you are interested to audit.

When we last used it, If I remember correct we also did some changes
to the audit log code, to improve its performance, which actually had
some good effect (but not big though)

Bilgin


> Regards
> prasath.r
>
>
>
> -----
> prasath rajan
> 9442369696
> --
> View this message in context: http://ofbiz.135035.n4.nabble.com/Keeping-track-of-changes-to-data-in-Entity-tp788215p4091423.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>