From 061dc1a349738747489ef0c0ebeeb4443e369501 Mon Sep 17 00:00:00 2001 From: Christoph Berg Date: Tue, 5 Jan 2021 22:09:50 +0100 Subject: New upstream version 2.3.0~rc3+repack --- example_log_configurations/README | 5 +++++ .../wsjtx_log_config.ini.console | 14 ++++++++++++ .../wsjtx_log_config.ini.debugger | 15 +++++++++++++ .../wsjtx_log_config.ini.rig_control | 25 ++++++++++++++++++++++ .../wsjtx_log_config.ini.simple_verbose | 14 ++++++++++++ 5 files changed, 73 insertions(+) create mode 100644 example_log_configurations/README create mode 100644 example_log_configurations/wsjtx_log_config.ini.console create mode 100644 example_log_configurations/wsjtx_log_config.ini.debugger create mode 100644 example_log_configurations/wsjtx_log_config.ini.rig_control create mode 100644 example_log_configurations/wsjtx_log_config.ini.simple_verbose (limited to 'example_log_configurations') diff --git a/example_log_configurations/README b/example_log_configurations/README new file mode 100644 index 00000000..d7ed52f4 --- /dev/null +++ b/example_log_configurations/README @@ -0,0 +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. diff --git a/example_log_configurations/wsjtx_log_config.ini.console b/example_log_configurations/wsjtx_log_config.ini.console new file mode 100644 index 00000000..a1076b78 --- /dev/null +++ b/example_log_configurations/wsjtx_log_config.ini.console @@ -0,0 +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%" +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 new file mode 100644 index 00000000..71056aee --- /dev/null +++ b/example_log_configurations/wsjtx_log_config.ini.debugger @@ -0,0 +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%" +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 new file mode 100644 index 00000000..0bcb8206 --- /dev/null +++ b/example_log_configurations/wsjtx_log_config.ini.rig_control @@ -0,0 +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=41943040 +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 new file mode 100644 index 00000000..26047ebb --- /dev/null +++ b/example_log_configurations/wsjtx_log_config.ini.simple_verbose @@ -0,0 +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" -- cgit v1.2.3