globally enable-audit-log

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

globally enable-audit-log

chris snow
Is it possible to globally enable-audit-log on all entities/all fields?

Many thanks,

Chris
Reply | Threaded
Open this post in threaded view
|

Re: globally enable-audit-log

Jacques Le Roux
Administrator
Yes, but I guess it will very time consuming

Jacques

From: "chris snow" <[hidden email]>

>
> Is it possible to globally enable-audit-log on all entities/all fields?
>
> Many thanks,
>
> Chris
> --
> View this message in context: http://n4.nabble.com/globally-enable-audit-log-tp974690p974690.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>

Reply | Threaded
Open this post in threaded view
|

Re: globally enable-audit-log

Chris Snow-3
Hi Jacques,

Sorry, I meant is there a way to enable it as a default setting in the
EntityEngine?

Many thanks,

Chris

Jacques Le Roux wrote:

> Yes, but I guess it will very time consuming
>
> Jacques
>
> From: "chris snow" <[hidden email]>
>>
>> Is it possible to globally enable-audit-log on all entities/all fields?
>>
>> Many thanks,
>>
>> Chris
>> --
>> View this message in context:
>> http://n4.nabble.com/globally-enable-audit-log-tp974690p974690.html
>> Sent from the OFBiz - User mailing list archive at Nabble.com.
>>
>


--
Chris Snow - CEng MBCS CITP MBA (Tech Mgmt) (Open) CISSP

Tel: 01453 890660
Mob: 07944 880950
Www: www.snowconsulting.co.uk

Reply | Threaded
Open this post in threaded view
|

Re: globally enable-audit-log

Jacques Le Roux
Administrator
Hi Chris,

AFAIK no http://svn.apache.org/viewvc?revision=652226&view=revision
Should be easy to add (serch/replace) text for all fields though.
If you do so, could you please report your experience relatively to performance?

Thanks

Jacques

From: "Christopher Snow" <[hidden email]>

> Hi Jacques,
>
> Sorry, I meant is there a way to enable it as a default setting in the
> EntityEngine?
>
> Many thanks,
>
> Chris
>
> Jacques Le Roux wrote:
>> Yes, but I guess it will very time consuming
>>
>> Jacques
>>
>> From: "chris snow" <[hidden email]>
>>>
>>> Is it possible to globally enable-audit-log on all entities/all fields?
>>>
>>> Many thanks,
>>>
>>> Chris
>>> --
>>> View this message in context:
>>> http://n4.nabble.com/globally-enable-audit-log-tp974690p974690.html
>>> Sent from the OFBiz - User mailing list archive at Nabble.com.
>>>
>>
>
>
> --
> Chris Snow - CEng MBCS CITP MBA (Tech Mgmt) (Open) CISSP
>
> Tel: 01453 890660
> Mob: 07944 880950
> Www: www.snowconsulting.co.uk
>

Reply | Threaded
Open this post in threaded view
|

Re: globally enable-audit-log

David E. Jones-2
In reply to this post by chris snow

You could certainly change the code to treat all fields as audited, and the easiest place is in the parser code. In fact, you may be able to change the entitymodel.xsd file to change the default from false to true.

Of course, I do NOT recommend doing this in a production environment until you know what you're getting into. I've certainly worked with people who said they wanted to audit log everything, but they really hadn't thought it through. What happens is far more system problems, load on the system, enormous amounts of data, and about 99% of the fields (not just the data which can be useful for auditing when you don't know what the threat is, but actual fields) with audit data are NEVER used or looked at, and by that I mean that no report or anything is ever even written to do anything with it, and no one ever looks at the data (except maybe to check that it is being recorded).

Sometimes people argue that you need all of this historical data because you don't know where a threat might come in and you need to be able to audit everything. That's a bit silly because most information just isn't that important. I suppose in certain industries keeping a good audit log for everything might be an issue, but still probably not everything.

Anyway, give it a try and run it in a simulated production environment (ie with load tests and such) and you'll see.

-David


On Dec 18, 2009, at 4:52 AM, chris snow wrote:

>
> Is it possible to globally enable-audit-log on all entities/all fields?
>
> Many thanks,
>
> Chris
> --
> View this message in context: http://n4.nabble.com/globally-enable-audit-log-tp974690p974690.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.