Log all the sql operations

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

Log all the sql operations

Jack Liu-2
Hi, All
I want to log all the SQL operations in OFBiz.
Has it been implemented in OFBiz or not?
Do you have any idea to implement it without need to write code
everywhere, something like Spring's Interceptors?

Thanks !

Jack

Reply | Threaded
Open this post in threaded view
|

Re: Log all the sql operations

Jacques Le Roux
Administrator
OFBiz don't use aspects so there are nothing like Spring's Interceptors in OFBiz
The only effort I'm aware of is https://issues.apache.org/jira/browse/OFBIZ-1030

Jacques


From: "Jack Liu" <[hidden email]>
Hi, All
I want to log all the SQL operations in OFBiz.
Has it been implemented in OFBiz or not?
Do you have any idea to implement it without need to write code
everywhere, something like Spring's Interceptors?

Thanks !

Jack



Reply | Threaded
Open this post in threaded view
|

Re: Log all the sql operations

BJ Freeman
In reply to this post by Jack Liu-2
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

verbose log setting.

Jack Liu sent the following on 3/24/2009 10:22 PM:

> Hi, All
> I want to log all the SQL operations in OFBiz.
> Has it been implemented in OFBiz or not?
> Do you have any idea to implement it without need to write code
> everywhere, something like Spring's Interceptors?
>
> Thanks !
>
> Jack
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJyht7rP3NbaWWqE4RAls+AJ4hNnKk2TCesTY00iJkKJl6lhjVEgCfemmF
miTCjYT5U0CXfr1CR6Fodsg=
=wgjw
-----END PGP SIGNATURE-----
Reply | Threaded
Open this post in threaded view
|

Re: Log all the sql operations

BJ Freeman
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

The way I use is a DB application that shows all db activity.
this lets you see how ofbiz sends them to the DB.
Some db's ofbiz creates stored procedures or functions.


BJ Freeman sent the following on 3/25/2009 4:54 AM:

> verbose log setting.
>
> Jack Liu sent the following on 3/24/2009 10:22 PM:
>> Hi, All
>> I want to log all the SQL operations in OFBiz.
>> Has it been implemented in OFBiz or not?
>> Do you have any idea to implement it without need to write code
>> everywhere, something like Spring's Interceptors?
>
>> Thanks !
>
>> Jack
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJyiMTrP3NbaWWqE4RAj0YAKCXzqRySOi53dLvI496mRiKRJNYVwCdF6jq
tiYLInuiQJ66uQ6hQ46ezbA=
=2lS9
-----END PGP SIGNATURE-----