Commit Graph

6 Commits

Author SHA1 Message Date
Bill Somerville
896d75eb27
Revert "Ensure global loggers are declared before installing the Qt handler"
This reverts commit 8cf2fa7752.
2020-11-13 22:24:15 +00:00
Bill Somerville
8c5e362830
Revert "Another approach to track down a segmentation fault"
This reverts commit 403528e436.
2020-11-13 22:23:58 +00:00
Bill Somerville
403528e436
Another approach to track down a segmentation fault 2020-11-13 19:32:56 +00:00
Bill Somerville
8cf2fa7752
Ensure global loggers are declared before installing the Qt handler 2020-11-13 19:10:49 +00:00
Bill Somerville
1d43ddd38b
Use wide character logging for efficiency as most o/p is QString 2020-09-26 14:56:16 +01:00
Bill Somerville
f66788691d
Set up for Boost logging in WSJT-X
uses a  settings file to  define log  sink back-ends, by  default uses
:/wsjtx_log_config.ini  from  the  resources file-system.   Users  may
override  by placing  their own  wsjtx_log_config.ini into  the WSJT-X
config location. The settings file format is as described in the Boost
log
documentation (https://www.boost.org/doc/libs/1_74_0/libs/log/doc/html/log/detailed/utilities.html#log.detailed.utilities.setup.settings_file)
with the additional feature that  allows some pre-defined variables to
be expanded. The  predefined variables refer to  standard locations in
the file-system,  and allow  log files  and rotation  target directory
paths to be specified. The pre-defined variables are:

   DesktopLocation
   DocumentsLocation
   TempLocation
   HomeLocation
   CacheLocation
   GenericCacheLocation
   GenericDataLocation
   AppDataLocation

and  must  be   used  enclosed  on  braces  and  preceded   by  a  '$'
character. E.g. to define the pattern for a sink's log file:

   FileName="${AppLocalDataLocation}/wsjtx_syslog.log"

this would place the log file wsjtx_syslog.log in the WSJT-X log files
directory, on all platforms.
2020-09-18 21:23:11 +01:00