PDA

View Full Version : CustomData


tms
26-Oct-2006, 07:39 AM
Hallo!

When I set CustomData
(OnCustomDataRequest) with some string including ": ", Custom Data section
in LogText shows it as ":_". Also if CustomData begins with CRLF, LogText
adds "." before it.

Example:
OnCustomDataRequest:
CustomData := #13#10'Driver: SQL Server'

EurekaExceptionRecord.LogText (Section 7.1):
'7.1 : .'#13#10'Driver:_SQL Server'

--
Regards
Tomasz

admin
26-Oct-2006, 08:12 AM
tms wrote:
> Hallo!
>
> When I set CustomData
> (OnCustomDataRequest) with some string including ": ", Custom Data section
> in LogText shows it as ":_". Also if CustomData begins with CRLF, LogText
> adds "." before it.
>
> Example:
> OnCustomDataRequest:
> CustomData := #13#10'Driver: SQL Server'
>
> EurekaExceptionRecord.LogText (Section 7.1):
> '7.1 : .'#13#10'Driver:_SQL Server'
>
> --
> Regards
> Tomasz

This isn't a bug but just a standard behavior.
This changes are make to allow a correct parsing of the log file.

Without this changes the log file will be not parsing from EurekaLog.

--
Best regards...

Fabio Dell'Aria.
----------------
http://www.eurekalog.com
Catch every BUG, every time!

tms
26-Oct-2006, 09:07 AM
User "admin"...
> This isn't a bug but just a standard behavior.
> This changes are make to allow a correct parsing of the log file.
>
> Without this changes the log file will be not parsing from EurekaLog.

Ok, now I see it separates name/value and whole sections... but... isn't it
possible to handle Custom Data section individually. Until next section
header caption. In fact you already have to treat it different than other
ones.
Just take a quick look, please. Nevermind if it's too much work :)
--
Regards
Tomasz

tms
26-Oct-2006, 10:00 AM
User "tms" wrote...
>[...] isn't it possible to handle Custom Data section individually. Until
>next section header caption. In fact you already have to treat it different
>than other ones.
> Just take a quick look, please. Nevermind if it's too much work :)

Nevermind. I see that's not only Custom Data section.
Sorry for bothering you :)
--
Regards
Tomasz

admin
26-Oct-2006, 10:08 AM
Hi,

tms wrote:
> User "tms" wrote...
>> [...] isn't it possible to handle Custom Data section individually. Until
>> next section header caption. In fact you already have to treat it different
>> than other ones.
>> Just take a quick look, please. Nevermind if it's too much work :)
>
> Nevermind. I see that's not only Custom Data section.
> Sorry for bothering you :)
> --
> Regards
> Tomasz

Don't worry! :)

--
Best regards...

Fabio Dell'Aria.
----------------
http://www.eurekalog.com
Catch every BUG, every time!