OK. Try it now.

On Sat, Aug 24, 2019 at 5:03 AM Thomas Keffer <[email protected]> wrote:

> Yes, now I remember...
>
> Unfortunately, the Python logging facility does not honor the process
> name. That is why I made it an optional parameter to the logging set up.
>
> Let me experiment a bit...
>
> -tk
>
> On Sat, Aug 24, 2019 at 4:41 AM Hartmut Schweidler <[email protected]>
> wrote:
>
>> Hallo,
>>
>> die Version
>>
>> weewxd --log-label weewx-cmon
>> weewxd --log-label weewx-vantage
>> then use 'weewx-cmon' and 'weewx-vantage' in your rsyslog configuration.
>> see the weewx-multi init.d script for an example.
>>
>> funktionierte nur bei syslog
>>
>> zum Beispiel  mit weewx-cmon und weewx-vantage --> weewx-vantage wurde
>> sofort in OWFS gaändert
>>
>> Aug 18 08:50:31 wetter weewx-cmon[2508]: copygenerator: copied 0 files
>> to /home/weewx/public_html
>> Aug 18 08:50:31 wetter weewx-cmon[2508]: wxobs: timezone is set to
>>  ini_set("date.timezone", "Europe/Berlin");
>> Aug 18 08:50:31 wetter weewx-cmon[2508]: cheetahgenerator: Generated 1
>> files for report wxobsReport in 0.42 seconds
>> Aug 18 08:50:31 wetter weewx-cmon[2508]: copygenerator: copied 6 files
>> to /home/weewx/public_html
>> Aug 18 08:50:32 wetter weewx-cmon[2508]: cheetahgenerator: Generated 1
>> files for report isswatch in 0.61 seconds
>> Aug 18 08:50:44 wetter OWFS[2482]: cheetahgenerator: Generated 12 files
>> for report StandardReport in 17.75 seconds
>> Aug 18 08:50:47 wetter OWFS[2482]: imagegenerator: Generated 57 images
>> for StandardReport in 3.07 seconds
>> Aug 18 08:50:47 wetter OWFS[2482]: copygenerator: copied 0 files to /home
>> /weewx/public_html
>> Aug 18 08:50:47 wetter OWFS[2482]: cheetahgenerator: Generated 0 files
>> for report AstroReport in 0.05 seconds
>> Aug 18 08:50:47 wetter OWFS[2482]: imagegenerator: Generated 2 images for
>> AstroReport in 0.15 seconds
>> Aug 18 08:50:47 wetter OWFS[2482]: copygenerator: copied 0 files to /home
>> /weewx/public_html
>>
>> jetzt mit python-log
>>
>> Aug 24 13:35:25 wetter weewxd[8516]/ERROR user.forecast: XU: failed to
>> download forecast
>> Aug 24 13:35:25 wetter weewxd[8516]/ERROR user.forecast: XU: no forecast
>> data for 53.605963,11.341407 from http://api.apixu.com
>> Aug 24 13:35:25 wetter weewxd[32715]/INFO weewx.manager: Added record
>> 2019-08-24 13:35:00 CEST (1566646500) to database 'weewxAqi'
>> Aug 24 13:35:25 wetter weewxd[32715]/INFO weewx.manager: Added record
>> 2019-08-24 13:35:00 CEST (1566646500) to daily summary in 'weewxAqi'
>> Aug 24 13:35:25 wetter weewxd[32715]/INFO weewx.manager: Added record
>> 2019-08-24 13:35:00 CEST (1566646500) to database 'weewxCarAqi'
>> Aug 24 13:35:25 wetter weewxd[8516]/INFO weewx.cheetahgenerator:
>> Generated 1 files for report ServerReport in 0.44 seconds
>> Aug 24 13:35:25 wetter weewxd[32715]/INFO weewx.manager: Added record
>> 2019-08-24 13:35:00 CEST (1566646500) to daily summary in 'weewxCarAqi'
>> Aug 24 13:35:26 wetter weewxd[8516]/INFO weewx.imagegenerator: Generated
>> 11 images for ServerReport in 0.50 seconds
>> Aug 24 13:35:26 wetter weewxd[8516]/INFO weewx.reportengine:
>> copygenerator: Copied 0 files to /home/weewx/public_html
>> Aug 24 13:35:26 wetter /weewxd: wxobs: timezone is set to  ini_set(
>> "date.timezone", "Europe/Berlin");
>> Aug 24 13:35:26 wetter weewxd[8516]/INFO weewx.cheetahgenerator:
>> Generated 1 files for report wxobsReport in 0.08 seconds
>> Aug 24 13:35:26 wetter weewxd[8516]/INFO weewx.reportengine:
>> copygenerator: Copied 0 files to /home/weewx/public_html
>> Aug 24 13:35:26 wetter weewxd[32715]/INFO weewx.manager: Added record
>> 2019-08-24 13:35:00 CEST (1566646500) to database 'weewx'
>> Aug 24 13:35:26 wetter weewxd[32715]/INFO weewx.manager: Added record
>> 2019-08-24 13:35:00 CEST (1566646500) to daily summary in 'weewx'
>> Aug 24 13:35:26 wetter weewxd[32715]/INFO weewx.manager: Added record
>> 2019-08-24 13:35:00 CEST (1566646500) to database 'weewxWD'
>> Aug 24 13:35:27 wetter weewxd[8516]/INFO weewx.cheetahgenerator:
>> Generated 1 files for report isswatch in 0.52 seconds
>> Aug 24 13:35:27 wetter weewxd[32715]/INFO weewx.manager: Added record
>> 2019-08-24 13:35:00 CEST (1566646500) to daily summary in 'weewxWD'
>> Aug 24 13:35:27 wetter weewxd[32715]/INFO weewx.manager: Added record
>> 2019-08-24 13:35:00 CEST (1566646500) to database 'weewxWDsupp'
>> Aug 24 13:35:27 wetter weewxd[32715]/INFO weewx.manager: Added record
>> 2019-08-24 13:35:00 CEST (1566646500) to database 'weewxArchiv.sdb'
>> Aug 24 13:35:27 wetter weewxd[32715]/INFO user.forecast: Zambretti:
>> starting thread
>>
>> An welcher stelle in der weewx.conf muss dann "process_name =
>> my_process" eingefügt werden.
>> gruss Hartmut
>>
>> --
>> 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/f08798f4-2083-4fb4-8262-29509ab15883%40googlegroups.com
>> <https://groups.google.com/d/msgid/weewx-development/f08798f4-2083-4fb4-8262-29509ab15883%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
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/CAPq0zEC-bUdfPoqyzyaAmE_LQ0M%2BVsMSKVdFUaJ%2BruZ67T%2BN4w%40mail.gmail.com.

Reply via email to