You are not logged in.
Pages: 1
Hi Arnaud,
today i testet TSynLog with
RotateFileCount := 10
RotateFileSize := 10;
If i open the synlz Files in LogView, only the very first can be opened.
All other LogFiles raise an Exception.
I stopped Loggging after 3 Files where created:
lf.3.synlz <-- Exception
lf.2.synlz <-- Exception
lf.1.synlz <- No Exception
If you run around all files could not be opened.
Rad Studio 12.1 Santorini
Offline
Offline
Hi Arnaud i sent you my synlz files via EMail
The Exception is at
:775f4598 KERNELBASE.RaiseException + 0x48
:0040a524 NotifyNonDelphiException + $1C
:77820283 ;
LogViewMain.TMainLogView.EventsListClickCheck(nil)
LogViewMain.TMainLogView.BtnFilterMenu($219D390)
LogViewMain.TMainLogView.SetLogFileName('C:\projekte\delphi\vcl\mORMot\SQLite3\Samples\11 - Exception logging\ICMService.1.synlz')
LogViewMain.TMainLogView.FilesClick($20E2710)
if ndx>=0 then
ndx := FLogSelected[ndx];
Exception cause: ndx = 0 and FLogSelected is Empty !
Last edited by itSDS (2015-02-26 13:49:06)
Rad Studio 12.1 Santorini
Offline
Next Problem:
i testet RotateFileDailyAtHour := 23
No synlz file is produced at the specified point of time.
IDEA: I think each log file which is produced shoul look like all LogFiles (I'm Missing the Header in the 2nd, 3rd and so on.
If you create the new LogFile add Header at Top and e Log Entry "LogFile Changed at ... cause... (Time reached/FileSize to Big, ...)"
Rad Studio 12.1 Santorini
Offline
Pages: 1