Update logging approach
This commit is contained in:
parent
16519ee35a
commit
e75269a136
6
README
6
README
|
|
@ -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
|
The program will check for a new alert or update every 2 minutes, but only
|
||||||
send if there is a change.
|
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:
|
Edit /etc/noaacap.conf:
|
||||||
|
|
||||||
Do not remove the [noaacap] section header.
|
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
|
choosing. If noaacap beacons every 2 minutes, a value of 30 would provide
|
||||||
hourly resends.
|
hourly resends.
|
||||||
|
|
||||||
|
Logging values are 0 (quiet), 1 (informational), and 2 (debug). Logs are
|
||||||
|
written to the systemd journal.
|
||||||
|
|
||||||
USE
|
USE
|
||||||
|
|
||||||
It would be good to hear from users of this software. Please email
|
It would be good to hear from users of this software. Please email
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
[noaacap]
|
[noaacap]
|
||||||
myTZ = America/New_York
|
myTZ = America/New_York
|
||||||
myZone = NJZ014
|
myZone = NJC025
|
||||||
myResend = 0
|
myResend = 0
|
||||||
|
Logging = 0
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@ noaacap changelog
|
||||||
Version: 0.7
|
Version: 0.7
|
||||||
Release: TBD
|
Release: TBD
|
||||||
Added myResend parameter to control message resends.
|
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
|
Version: 0.6
|
||||||
Release: September 15, 2017
|
Release: September 15, 2017
|
||||||
|
|
|
||||||
|
|
@ -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
|
The program will check for a new alert or update every 2 minutes, but only
|
||||||
send if there is a change.
|
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:
|
Edit /etc/noaacap.conf:
|
||||||
|
|
||||||
Do not remove the [noaacap] section header.
|
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
|
choosing. If noaacap beacons every 2 minutes, a value of 30 would provide
|
||||||
hourly resends.
|
hourly resends.
|
||||||
|
|
||||||
|
Logging values are 0 (quiet), 1 (informational), and 2 (debug). Logs are
|
||||||
|
written to the systemd journal.
|
||||||
|
|
||||||
USE
|
USE
|
||||||
|
|
||||||
It would be good to hear from users of this software. Please email
|
It would be good to hear from users of this software. Please email
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue