Subject Audit with fbTrace.dll - Application Name isn't logged.
Author Microleme Sistemas - Peterson Seridonio
Hello everyone.



I'm using firebird 2.5.1, super server on Windows 7 x64.



I enabled auditing using fbTrace.dll, the parameters was configured and the
log is being recorded.



When I use the IBExpert to execute a query the application name is recorded,
but when I do from my application the application name isn't recorded.

There are something that I can do to the application name always be
recorded?



IBexpert log:

2012-08-06T17:14:28.7860 (744:0119DC2C) EXECUTE_STATEMENT_START

C:\TESTE.FDB (ATT_31, SYSDBA:NONE, DOS850,
TCPv4:192.168.0.2)

C:\Program Files
(x86)\HK-Software\IBExpert\ibexpert.exe:2540

(TRA_816, READ_COMMITTED | REC_VERSION |
NOWAIT | READ_WRITE)



Statement 682:

----------------------------------------------------------------------------
---

Insert Into T001 Values (2, 'Pessoa2');





Application log:

2012-08-06T17:41:49.2060 (2672:00D1D188) EXECUTE_STATEMENT_START

C:\TESTE.FDB (ATT_35, SYSDBA:NONE, DOS850,
TCPv4:192.168.0.2)

(TRA_1021, READ_COMMITTED | NO_REC_VERSION |
WAIT | READ_WRITE)



Statement 155:

----------------------------------------------------------------------------
---

Insert Into T002 (CP00200, CP00201) Values (?, ?)



param0 = integer, "400"

param1 = varchar(100), "Produto 400"





Thanks



Peterson





[Non-text portions of this message have been removed]