Commit Graph

4660 Commits

Author SHA1 Message Date
tkeffer@gmail.com
2a9fc97e77 Sending a SIGTERM signal to weewxd now causes it to exit with status
128 + signal#. PR #442. Thanks to user sshambar!
2019-09-08 11:43:48 -06:00
sshambar
3eb97346b9 Fix engine to exit correctly on Terminate signal (#442)
Re-send SIGTERM to self after exiting main loop so process exits
with expected exit code.
2019-09-08 10:39:28 -07:00
gjr80
c566d7abe5 First cut of python logging in wee_import (#441)
* First cut of python logging in wee_import
Utilities Guide updates to be done separately

* Refactored logging.
Removed class WeeImportLog.
All logging now done directly to module level logger.
Console output now done directly from the module concerned using print function.

* Replaced log method calls with info/debug/error method calls
2019-09-07 16:22:40 -07:00
Tom Keffer
db31a6f893 Documented the rsync port option. 2019-09-05 09:23:52 -07:00
tkeffer@gmail.com
c6ff6edadf Plist for the Mac launcher now includes a log file for stderr. 2019-09-02 15:45:31 -07:00
Tom Keffer
0b9404dbde Changed air quality names to reflect discussion in issue #435.
Minor formatting changes.
2019-09-02 08:25:58 -07:00
Tom Keffer
9fd5cd407d V4.0.0a8 2019-09-02 05:25:23 -07:00
Tom Keffer
aa43108c2a Updated instructions to install under setup.
Reflects recent releases of python3-cheetah and python3-ephem.
2019-08-27 12:33:53 -07:00
Tom Keffer
bfa3b5daa3 Fixed call to non-existent log.notice. Downgraded some "critical" calls. 2019-08-25 05:36:56 -07:00
Tom Keffer
516a16e79a Changed log message to use space delimiters. No slashes. Really. 2019-08-25 05:20:34 -07:00
Tom Keffer
bc6e00d31f Changed log message to use space delimiters. No slashes. 2019-08-24 18:57:23 -07:00
Tom Keffer
651f382d1a Backwards compatibility hooks for accumulateLeaves(), search_up() 2019-08-24 07:54:04 -07:00
Tom Keffer
63a9963a12 Support older Vantage stations that do not have the LPS command. 2019-08-24 07:24:34 -07:00
Tom Keffer
1d1fdd8b24 Process name can now be set at the command line. 2019-08-24 05:20:17 -07:00
Tom Keffer
6101dd6928 Do v4.0 upgrade of weewx.conf in all cases. 2019-08-24 04:49:38 -07:00
Tom Keffer
b7350c29ed Added group_concentration to the Appendix 2019-08-22 20:08:44 -07:00
Tom Keffer
244e3df8fc Added new air quality types AqPM2_5 and AqPM10 to the unit system. Added
new unit microgram_per_meter_cubed. Added new unit group,
group_concentration.
2019-08-22 20:01:48 -07:00
Tom Keffer
4e4405595e Changed raised error to NotImplementedError 2019-08-22 17:00:47 -07:00
Tom Keffer
afb12380cd Changed dash values. 2019-08-22 16:46:22 -07:00
Tom Keffer
3472fc1a84 Added new parameters to the WU uploader. Fixes issue #435. 2019-08-22 08:10:07 -07:00
Tom Keffer
458584131e Added windSpeed2, windSpeed10, windGust10, windGustDir10 to accumulator 2019-08-22 07:27:30 -07:00
Tom Keffer
4c104a454c Documented default value for loop_request 2019-08-21 18:11:27 -07:00
Tom Keffer
fe2183ed56 Changed option name to loop_request. Documented it. 2019-08-21 18:08:01 -07:00
Tom Keffer
1a209d4148 Merge branch 'master' into development
# Conflicts:
#	docs/changes.txt
2019-08-21 16:14:43 -07:00
Tom Keffer
aa0503704f Took the [Logging] section back out of weewx.conf.
It will be an undocumented feature for a while.
2019-08-21 16:07:19 -07:00
Tom Keffer
5e2821da0d Support for the Vantage LOOP2 packet format. Fixes issue #374. 2019-08-21 15:51:20 -07:00
Tom Keffer
2ae4f0228f Started working on supporting Vantage LOOP2 packets. 2019-08-21 08:17:16 -07:00
Tom Keffer
5fba00f08b Various formatting nits 2019-08-20 05:45:26 -07:00
Tom Keffer
6c7017b46c Changed my mind. Don't inject a [Logging] section. If users modify it,
it could lead to unreliable troubleshooting.
2019-08-19 05:14:33 -07:00
Tom Keffer
4838e615fe Ported most of the utilities to use the Python logging module. 2019-08-17 14:49:34 -07:00
Tom Keffer
34b2998545 Implementing the Python logging package is now pretty much complete.
Re-addresses issue #353
2019-08-17 13:03:18 -07:00
Tom Keffer
f90dd8ab7e Inject [Logging] stanza in old weewx.conf 2019-08-17 12:04:19 -07:00
Tom Keffer
d21f773a5f Got test suites working with new logging facility 2019-08-16 15:51:50 -07:00
Tom Keffer
9f0dbdeda5 Fixed python3 problem 2019-08-16 14:51:31 -07:00
Tom Keffer
dccf8a3a35 Renamed weeutil.logging to weeutil.logger;
Eliminated backwards compatibility references in weeutil.weeutil
2019-08-16 14:40:14 -07:00
Tom Keffer
b83b67ca7d No longer need log_upto() 2019-08-16 11:40:49 -07:00
Tom Keffer
9c2ee63de4 Refactored weeutil and weecfg to use Python's logging module 2019-08-16 11:38:53 -07:00
Tom Keffer
36b1553808 Refactored drivers to use Python's logging module 2019-08-16 11:18:14 -07:00
Tom Keffer
c57b89c7ed Refactored to use Python's logging module 2019-08-16 09:02:37 -07:00
Tom Keffer
8ec207d148 Refactored to use Python's logging module 2019-08-16 08:41:25 -07:00
Tom Keffer
00e418a718 Refactored to use Python's logging module 2019-08-15 19:02:30 -07:00
Tom Keffer
d4b790022d Started transition to using Python's logging module. 2019-08-15 08:04:19 -07:00
Tom Keffer
c6526a8065 Refactored imagegenerator to use weeutil.log. 2019-08-08 18:20:55 -07:00
Tom Keffer
3983557914 Refactored engine to use weeutil.log. Introduced log_open and log_upto 2019-08-07 18:08:55 -07:00
tkeffer@gmail.com
c78e4b51f5 Documented commit 459ccb1309 in change log 2019-07-26 07:39:23 -04:00
Tom Keffer
5ccf98b227 Refined error messages for wunderfixer. 2019-07-19 14:01:08 -07:00
Tom Keffer
7447c2246b Merge branch 'master' into development 2019-07-18 18:40:12 -07:00
Tom Keffer
93d7d57a89 Now sorts using locale.strxfrm, so no longer necessary to convert
to utf-8. CF: e54b942557
2019-07-18 18:39:47 -07:00
Tom Keffer
32c35ce380 Port wunderfixer to the new WU API. The WU seems to no longer allow
reposting old records, so this "sort of" fixes issue #414.
2019-07-18 08:07:40 -07:00
Tom Keffer
81b9d89648 Cover case where user has manually corrected location of DegreeDays 2019-07-16 08:33:35 -07:00