You are not logged in.
Pages: 1
Hi Arnaud,
today i saw that some SOA Parameters i formerly could read are shortened now.
There was a const MAX_SIZE_RESPONSE_LOG which i changed to a larger Value
now this const is not used any more and at the places it was formerly used InternalLogResponse is called!
InterlogResponse uses LogEscape which uses a ShortString now an cuts all after 200 Char.
This is not very useful.
Last edited by itSDS (2025-05-16 08:30:20)
Rad Studio 12.3 Athens
Offline
As Workaround i changed:
procedure TRest.InternalLogResponse(const aContent: RawByteString;
const aContext: shortstring; Level: TSynLogLevel);
begin // caller checked that self<>nil and sllServiceReturn in fLogLevel
// fLogFamily.Add.LogEscape(Level, '%', [aContext], pointer(aContent), length(aContent), self);
fLogFamily.Add.Log(Level, aContent, self, MAX_SIZE_RESPONSE_LOG);
end;
Rad Studio 12.3 Athens
Offline
Pages: 1