On Tuesday, May 19, 2020 at 11:52:42 AM UTC-7, Tom Keffer wrote:
>
> Fair enough, but before I go implementing this... did it work? Did my 
> workaround disable syslog thoroughly enough that you could get started?
>
>>
>>
update -  I got centos7 python2 setup.py to build/install/run ok by 
'replacing' logger.py in the sources with a patched variant (using your 
code snippet) before doing the setup.py build+install.   The only downside 
in brief testing is the container doesn't log anything, as there is no 
logging subsystem in the distributed centos7 base Docker image.

Weewx 'does' run fine however.

Perhaps we might ask the other Docker users and the usual developer folks 
for their thoughts ?

   - one option is switch the logging for everybody, but I don't know what 
   they does for default installs, VMs, etc. as a result
   - another option is to just require superseding logger.py for 
   RedHat(ish) Docker users only, and note it somehow in the docs (?)

Updated repo is at https://github.com/vinceskahan/weewx-docker if anybody 
wants to take a look.  Centos7 build Dockerfile and patched logger.py is 
under the 'build' directory.  Dockerfile should be pretty obvious.

Maybe get some more eyeballs on this one before messing with the core weewx 
quite yet ?

-- 
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/1811cab3-d5e8-40d5-a036-bcf5a07d81a0%40googlegroups.com.

Reply via email to