#1 2023-03-01 00:27:42

Sebam
Member
Registered: 2023-03-01
Posts: 1

TSynLogFamily.GetExistingLog issue

Hello
I have problem with TSynLogFamily.GetExistingLog.
It can return log text only when written with TFileStream, but TSynLog.CreateLogWriter creates TFileStreamEx for that purpose. TFileStreamEx does not inherit form TFileStream and GetExistingLog returns nothing.
Is it a bug or i don't know how to configure logging in mormot2?

Offline

#2 2023-03-01 08:06:04

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,206
Website

Re: TSynLogFamily.GetExistingLog issue

You are right - this is a bug.

Please try https://github.com/synopse/mORMot2/commit/d2d9d89d

Offline

Board footer

Powered by FluxBB