On Wednesday, May 20, 2020 at 12:15:20 PM UTC-4, Vince Skahan wrote: > > > The question I guess I have is why does weewx 'install' require a working > syslog answering ? That seems wrong to me. > > This happens on installing via setup.py and installing packages. Guessing > there's a call under the hood to weeutil/logger.py but I didn't dig into > the gory details. If we could figure that out, then the normal runtime > emit logging info gets more mainstream. >
install should not require syslog (or any other) logging. deb/rpm just extracts assets from the .deb/.rpm. setup.py has an explicit import of 'log' from 'distutils' - not sure what logging mechanism that uses, but probably not syslog. configure does require logging, but probably should not. configuration is done by invoking wee_config, and that imports weeutil.logger. it should be possible to refactor wee_config and the code it uses so that there are no more weeutil.logger dependencies. -- You received this message because you are subscribed to the Google Groups "weewx-development" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-development/b46630a4-d485-4f89-86b0-60515edcc704%40googlegroups.com.
