Database Security. Database Auditing. Database Caching. Database Masking. Get it now

Log Timestamp.

in

Hi all.
I've made a little patch that adds timestamps on the lofgiles. it works fine .

Can be downloaded from here:

http://jero.rednu.com/software/greensql_patch_2008-09-04.patch

It gives a output like this:

[9/04/2008] 16:35:36 --> SQL_DEBUG: UNKNOWN COMMAND
[9/04/2008] 16:35:36 --> SQL_DEBUG: ................ | 00 00 00 01 85 A6 03 00 00 00 00 01 08 00 00 00
[9/04/2008] 16:35:36 --> SQL_DEBUG: ................ | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[9/04/2008] 16:35:36 --> SQL_DEBUG: ....test...).{.. | 00 00 00 00 74 65 73 74 00 14 87 29 FE 7B FE A5
[9/04/2008] 16:35:36 --> SQL_DEBUG: .>$....qX..|n. | FB 3E 24 A8 1D B1 BB 71 58 EB B7 7C 6E D9
[9/04/2008] 16:35:36 --> NET_DEBUG: Socket_write
[9/04/2008] 16:35:36 --> NET_DEBUG: [1]backend socket fired 10
[9/04/2008] 16:35:36 --> NET_DEBUG: packet size expected 76 bytes (received 76)
[9/04/2008] 16:35:36 --> SQL_DEBUG: SQL_ERROR: #28000Access denied for user 'test'@'localhost' (using password: YES)
[9/04/2008] 16:35:36 --> NET_DEBUG: Socket_write
[9/04/2008] 16:35:36 --> NET_DEBUG: [1]frontend socket fired 9
[9/04/2008] 16:35:36 --> NET_DEBUG: Failed to read socket, closing socket
[9/04/2008] 16:35:36 --> NET_DEBUG: connection close()

Thanks
-J

Comments

Thanks for your patch. It

Thanks for your patch.

It will be applied to new application version.

Best regards,
Yuli

Apache style

Back to top