Date and time format for log files
- Last UpdatedApr 30, 2024
- 1 minute read
The default date and time format in the log files is yyyy-MM-dd HH:mm:ss. However, you can change the format to suit your preferences, such as dd-MM-yyyy HH:mm:ss.
There are multiple settings that control the date and time format, one for each type of log file:
-
In the bin folder, in the InternalSettings.json file, set the standard_serilog_outputTemplate entry.
-
In bin folder, set the serilog:write-to:File.outputTemplate parameter in the following files:
-
Rts.exe.config
-
RtsServer.exe.config
-
ScriptHost.exe.config.
-
-
In the bin\WebUI folder, in the appsettings.json file, set the outputTemplate entry.