Hello,
I have 2 log connections: txt and binary. When tSiSession.logSQL() is called, the SQL command is stored in binary log. However it is not stored in txt log.
this is my call:
siMain.LogSql( lvdebug, 'HPPC SQL', SQL );
Text log contains only 'HPPC SQL'
best regards
Piotr Rezmer
Subscribe to forum
Forum
logSQL doesn't store SQL in txt file
Page: 1
| Author | Post |
|---|---|
|
#1 Sat Dec 15, 2007 1:59 pm
|
|
|
Member
Registered: Dec 2007
Posts: 35
Location: Poland
|
|
|
#2 Sat Dec 15, 2007 3:00 pm
|
|
|
Administrator
Registered: Sep 2007
Posts: 133
|
Hello Piotr,
The reason for this is that the 'text' protocol does not output any attached data such as your sql query. The 'text' protocol is mostly intended for end-users and can only output the basic log entry properties such as the title, timestamp, log level, session name and so on. Since the attached data can also consist of binary data (such as a picture or a memory dump, for instance), the data wouldn't be printable in all cases and we therefore decided to omit the attached data. |
Page: 1