Update logging approach

This commit is contained in:
Dan Srebnick 2017-09-28 12:23:58 -04:00
parent 16519ee35a
commit e75269a136
4 changed files with 9 additions and 8 deletions

6
README
View File

@ -36,9 +36,6 @@ aprx.log, then you likely need to add the timeout.
The program will check for a new alert or update every 2 minutes, but only
send if there is a change.
For visibility into noaacap's actions via the systemd journal, you may add
--info or --debug to the exec command line for more verbose logging.
Edit /etc/noaacap.conf:
Do not remove the [noaacap] section header.
@ -56,6 +53,9 @@ myResend should be set to 0 for no message resends or to an interval of your
choosing. If noaacap beacons every 2 minutes, a value of 30 would provide
hourly resends.
Logging values are 0 (quiet), 1 (informational), and 2 (debug). Logs are
written to the systemd journal.
USE
It would be good to hear from users of this software. Please email

View File

@ -1,4 +1,5 @@
[noaacap]
myTZ = America/New_York
myZone = NJZ014
myZone = NJC025
myResend = 0
Logging = 0

View File

@ -3,7 +3,7 @@ noaacap changelog
Version: 0.7
Release: TBD
Added myResend parameter to control message resends.
Added command line parameters --info and --debug to control logging
Added Logging parameter to control verbosity.
##
Version: 0.6
Release: September 15, 2017

View File

@ -31,9 +31,6 @@ aprx.log, then you likely need to add the timeout.
The program will check for a new alert or update every 2 minutes, but only
send if there is a change.
For visibility into noaacap's actions via the systemd journal, you may add
--info or --debug to the exec command line for more verbose logging.
Edit /etc/noaacap.conf:
Do not remove the [noaacap] section header.
@ -51,6 +48,9 @@ myResend should be set to 0 for no message resends or to an interval of your
choosing. If noaacap beacons every 2 minutes, a value of 30 would provide
hourly resends.
Logging values are 0 (quiet), 1 (informational), and 2 (debug). Logs are
written to the systemd journal.
USE
It would be good to hear from users of this software. Please email