diff options
Diffstat (limited to 'example_log_configurations')
5 files changed, 71 insertions, 71 deletions
diff --git a/example_log_configurations/README b/example_log_configurations/README index d7ed52f4..6c473103 100755 --- a/example_log_configurations/README +++ b/example_log_configurations/README @@ -1,5 +1,5 @@ -Example WSJT-X Logging Configuration Files -========================================== - -Here you will find some typical loggin configuration files. Pick a -suitable one and copy it to the WSJT-X log files directory. +Example WSJT-X Logging Configuration Files
+==========================================
+
+Here you will find some typical loggin configuration files. Pick a
+suitable one and copy it to the WSJT-X log files directory.
diff --git a/example_log_configurations/wsjtx_log_config.ini.console b/example_log_configurations/wsjtx_log_config.ini.console index a1076b78..47ddb3b5 100755 --- a/example_log_configurations/wsjtx_log_config.ini.console +++ b/example_log_configurations/wsjtx_log_config.ini.console @@ -1,14 +1,14 @@ -# -# Example logging confguration file to send records to the console terminal -# - -[Core] -# Set DisableLogging to true to disable all logging. -DisableLogging="false" - -[Sinks.Console] -Destination="Console" -Asynchronous="false" -AutoFlush="true" -Format="[%TimeStamp(format=\"%H:%M:%S.%f\")%][%Channel%:%Severity%] %Message%" +#
+# Example logging confguration file to send records to the console terminal
+#
+
+[Core]
+# Set DisableLogging to true to disable all logging.
+DisableLogging="false"
+
+[Sinks.Console]
+Destination="Console"
+Asynchronous="false"
+AutoFlush="true"
+Format="[%TimeStamp(format=\"%H:%M:%S.%f\")%][%Channel%:%Severity%] %Message%"
Filter="(%Channel% matches \"SYSLOG\" & %Severity% >= trace) | (%Channel% matches \"RIGCTRL\" & %Severity% >= info)"
\ No newline at end of file diff --git a/example_log_configurations/wsjtx_log_config.ini.debugger b/example_log_configurations/wsjtx_log_config.ini.debugger index 71056aee..344c021f 100755 --- a/example_log_configurations/wsjtx_log_config.ini.debugger +++ b/example_log_configurations/wsjtx_log_config.ini.debugger @@ -1,15 +1,15 @@ -# -# Example WSJT-X logging configuration for sending records to the -# attached Windows debugger (e.g. gdb) -# - -[Core] -# Set DisableLogging to true to disable all logging. -DisableLogging="false" - -[Sinks.Debugger] -Destination="Debugger" -Asynchronous="false" -AutoFlush="true" -Format="[%TimeStamp(format=\"%H:%M:%S.%f\")%][%Channel%][%Severity%] %File%(%Line%) %Function%: %Message%" +#
+# Example WSJT-X logging configuration for sending records to the
+# attached Windows debugger (e.g. gdb)
+#
+
+[Core]
+# Set DisableLogging to true to disable all logging.
+DisableLogging="false"
+
+[Sinks.Debugger]
+Destination="Debugger"
+Asynchronous="false"
+AutoFlush="true"
+Format="[%TimeStamp(format=\"%H:%M:%S.%f\")%][%Channel%][%Severity%] %File%(%Line%) %Function%: %Message%"
Filter="(%Channel% matches \"SYSLOG\" & %Severity% >= debug) | (%Channel% matches \"RIGCTRL\" & %Severity% >= info)"
\ No newline at end of file diff --git a/example_log_configurations/wsjtx_log_config.ini.rig_control b/example_log_configurations/wsjtx_log_config.ini.rig_control index bcf981b3..dbf61f75 100755 --- a/example_log_configurations/wsjtx_log_config.ini.rig_control +++ b/example_log_configurations/wsjtx_log_config.ini.rig_control @@ -1,25 +1,25 @@ -[Sinks.SYSLOG] -Destination=TextFile -Asynchronous=true -AutoFlush=false -FileName="${AppLocalDataLocation}/wsjtx_syslog.log" -TargetFileName="${AppLocalDataLocation}/logs/wsjtx_syslog_%Y-%m.log" -RotationTimePoint="01 00:00:00" -Append=true -EnableFinalRotation=false -MaxSize=52428800 -MinFreeSpace=1073741824 -MaxFiles=12 -Target="${AppLocalDataLocation}/logs" -ScanForFiles="Matching" -Format="[%Channel%][%TimeStamp(format=\"%Y-%m-%d %H:%M:%S.%f\")%][%Uptime(format=\"%O:%M:%S.%f\")%][%Severity%] %Message%" -Filter="%Severity% >= info" - -[Sinks.RIGCTRL] -Destination=TextFile -Asynchronous=true -AutoFlush=true -FileName="${DesktopLocation}/WSJT-X_RigControl.log" -Append=true -Format="[%TimeStamp(format=\"%Y-%m-%d %H:%M:%S.%f\")%][%Uptime(format=\"%O:%M:%S.%f\")%][%Channel%:%Severity%] %Message%" -Filter="%Channel% matches \"RIGCTRL\" | %Severity% >= info" +[Sinks.SYSLOG]
+Destination=TextFile
+Asynchronous=true
+AutoFlush=false
+FileName="${AppLocalDataLocation}/wsjtx_syslog.log"
+TargetFileName="${AppLocalDataLocation}/logs/wsjtx_syslog_%Y-%m.log"
+RotationTimePoint="01 00:00:00"
+Append=true
+EnableFinalRotation=false
+MaxSize=52428800
+MinFreeSpace=1073741824
+MaxFiles=12
+Target="${AppLocalDataLocation}/logs"
+ScanForFiles="Matching"
+Format="[%Channel%][%TimeStamp(format=\"%Y-%m-%d %H:%M:%S.%f\")%][%Uptime(format=\"%O:%M:%S.%f\")%][%Severity%] %Message%"
+Filter="%Severity% >= info"
+
+[Sinks.RIGCTRL]
+Destination=TextFile
+Asynchronous=true
+AutoFlush=true
+FileName="${DesktopLocation}/WSJT-X_RigControl.log"
+Append=true
+Format="[%TimeStamp(format=\"%Y-%m-%d %H:%M:%S.%f\")%][%Uptime(format=\"%O:%M:%S.%f\")%][%Channel%:%Severity%] %Message%"
+Filter="%Channel% matches \"RIGCTRL\" | %Severity% >= info"
diff --git a/example_log_configurations/wsjtx_log_config.ini.simple_verbose b/example_log_configurations/wsjtx_log_config.ini.simple_verbose index 26047ebb..2f68b243 100755 --- a/example_log_configurations/wsjtx_log_config.ini.simple_verbose +++ b/example_log_configurations/wsjtx_log_config.ini.simple_verbose @@ -1,14 +1,14 @@ -[Sinks.SYSLOG] -Destination="TextFile" -Asynchronous="true" -AutoFlush="true" -Format="[%TimeStamp(format=\"%Y-%m-%d %H:%M:%S.%f\")%][%Uptime(format=\"%O:%M:%S.%f\")%][%Channel%][%Severity%] %File%(%Line%) %Function%: %Message%" -RotationTimePoint="11:42:00" -Target="${AppLocalDataLocation}/logs" -FileName="${AppLocalDataLocation}/wsjtx_syslog.log" -TargetFileName="${AppLocalDataLocation}/logs/wsjtx_syslog_%Y-%m_%3N.log" -Append="true" -EnableFinalRotation="false" -ScanForFiles="Matching" -MaxSize=1073741824 -MaxFiles="10" +[Sinks.SYSLOG]
+Destination="TextFile"
+Asynchronous="true"
+AutoFlush="true"
+Format="[%TimeStamp(format=\"%Y-%m-%d %H:%M:%S.%f\")%][%Uptime(format=\"%O:%M:%S.%f\")%][%Channel%][%Severity%] %File%(%Line%) %Function%: %Message%"
+RotationTimePoint="11:42:00"
+Target="${AppLocalDataLocation}/logs"
+FileName="${AppLocalDataLocation}/wsjtx_syslog.log"
+TargetFileName="${AppLocalDataLocation}/logs/wsjtx_syslog_%Y-%m_%3N.log"
+Append="true"
+EnableFinalRotation="false"
+ScanForFiles="Matching"
+MaxSize=1073741824
+MaxFiles="10"
|
