|0.0.18||Feb 16, 2023|
|0.0.16||Nov 1, 2022|
|0.0.14||May 12, 2022|
|0.0.13||Feb 8, 2022|
|0.0.6||Mar 29, 2021|
#277 in Command line utilities
100 downloads per month
This tool watches an ADIF log file for changes using the native filesystem notification mechanism and uploads it to a Cloudlog instance through the QSO API.
On Linux systems the recommended way to use this tool is through the provided systemd unit. It
should be installed to
~/.config/systemd/user/, the URL of the Cloudlog instance adjusted
appropriately and then started with
systemctl --user start cloudlog-adifwatch.service. To start it
automatically when the user logs in, enable it with
systemctl --user enable cloudlog-adifwatch.service.
By default the systemd unit expects the Cloudlog API key to be available in a file at
~/.config/cloudlog-adifwatch/key.txt, uses station profile ID 1 and watches the WSJT-X ADIF log
~/.local/share/WSJT-X/wsjtx_log.adi. These paths can be adjusted as needed in the unit
Alternatively, this tool can be started manually.
cloudlog-adifwatch https://fernschreibstelle.de ~/.config/cloudlog-adifwatch/key.txt 1 ~/.local/share/WSJT-X/wsjtx_log.adi
The log is split into chunks of one ore more complete records which are then uploaded individually. Partial writes to the log file are handled gracefully and only complete records are uploaded.
The log file is kept open for reading and assumed to be appended to only. Truncation of the log file or overwriting of data already written to the log file will likely result in undesired behaviour.