Update 20211219 _ erweiterung Logging

master
Stefan Hutter 4 years ago
parent c910bc7cc9
commit 2424a2bfbb

Binary file not shown.

@ -329,7 +329,8 @@ Public Class Service1
Private Sub PrintTempJournal(s As String) Private Sub PrintTempJournal(s As String)
If Params.Logpath = "" Then Exit Sub If Params.Logpath = "" Then Exit Sub
FileOpen(14, Params.Logpath, OpenMode.Append) Dim fn As String = Params.Logpath + "\" + Now.ToString("yyyyMMdd") + "_log.txt"
FileOpen(14, fn, OpenMode.Append)
WriteLine(14, Now.ToString("yyyy-MM-dd hh:mm:ss:hs") + " " + s) WriteLine(14, Now.ToString("yyyy-MM-dd hh:mm:ss:hs") + " " + s)
FileClose(14) FileClose(14)
End Sub End Sub

Binary file not shown.

Binary file not shown.

@ -13,7 +13,7 @@ GSF_Conf_Dateiendung =xml
Directorytimer =10 Directorytimer =10
Directorys =E:\Software-Projekte\EDOKA\batch\EDKB08\EDKB08\bin\DirectoriesToScan.txt Directorys =E:\Software-Projekte\EDOKA\batch\EDKB08\EDKB08\bin\DirectoriesToScan.txt
IndexSicherung =k:\edoka\edkb08\indsik\ IndexSicherung =k:\edoka\edkb08\indsik\
TempLogFile =K:\EDOKA\EDKB08\Log\log.txt TempLogFilePath =K:\EDOKA\EDKB08\Log
Use FileEvent Rename =False Use FileEvent Rename =False
Wait_after_fileevent =3 Wait_after_fileevent =3
Wait_before_process =5 Wait_before_process =5

Loading…
Cancel
Save