#1 Re: mORMot 1 » Problem with ISynLog Leave » 2016-07-27 11:58:02

Oh, thank you.

Last but not least, when I set NoEnvironmentVariable := True; loading the Log File with LogView.exe results in AV. I believe it has something to do with TSynLogFileView.

I can give you a sample log file if you need.

#2 Re: mORMot 1 » Problem with ISynLog Leave » 2016-07-27 10:30:18

Hi,

I was referring to the link below:

http://synopse.info/files/html/api-1.18 … NLOG_ENTER

May I also ask the meaning of "02.517.950" in line "20160727 07064648  -    02.517.950"?

Thank you.

#3 mORMot 1 » Problem with ISynLog Leave » 2016-07-27 08:16:27

akaya
Replies: 4

Hi,

According to the documentation I am supposed to get a log line with Method Name at the end of the method if I log the procedure with .Enter method. However, my log looks like this:

20160727 07064416  +    TMainForm(05024790).FormCreate
20160727 07064648  -    02.517.950

I was expecting something like this:
20110325 19325801  +    MyDBUnit.TMyDB(004E11F4).SQLExecute
20110325 19325801  -    MyDBUnit.TMyDB(004E11F4).SQLExecute

Configuration:
with TSynLog.Family do
  begin
    NoEnvironmentVariable := True;
    Level := LOG_VERBOSE;
    DestinationPath := '.\Logs';
    CustomFileName := FormatDateTime('yyyymmdd', Date);
    RotateFileCount := 1;
    RotateFileDailyAtHour := 0;
    FileExistsAction := acAppend;
  end;

I have examined TSynLog._Release but could not determine the cause.

What am I doing wrong?

Thank you.

Board footer

Powered by FluxBB