Presently, all log entries are identified by "weewxd". As I understand it,
you are running several instances of weewxd simultaneously, and want a way
to distinguish between them in the log. Is that correct?

If so, we could put an option in weewx.conf that would set the process
name. Something like

process_name = my_process


It would default to weewxd.

Would that work?

-tk

On Fri, Aug 23, 2019 at 8:31 AM Hartmut Schweidler <[email protected]>
wrote:

> Hallo,
>
> gibt es eine Möglichkeit die Log-Daten zwischen weewx.conf und cmon.conf
> zu unterscheiden.
> Ich verwende das Logging "WeeWX v4 and logging"
>
> Bisher nur über die PID
> siehe                                                    PID
> Aug 23 17:05:25 wetter weewxd[8516]/INFO weewx.cheetahgenerator: Generated
> 1 files for report wxobsReport in 0.05 seconds
> Aug 23 17:05:25 wetter weewxd[8516]/INFO weewx.reportengine: copygenerator
> : Copied 0 files to /home/weewx/public_html
> Aug 23 17:05:25 wetter weewxd[32715]/INFO weewx.manager: Added record 2019
> -08-23 17:05:00 CEST (1566572700) to database 'weewxAqi'
> Aug 23 17:05:25 wetter weewxd[32715]/INFO weewx.manager: Added record 2019
> -08-23 17:05:00 CEST (1566572700) to daily summary in 'weewxAqi'
> Aug 23 17:05:25 wetter weewxd[32715]/INFO weewx.manager: Added record 2019
> -08-23 17:05:00 CEST (1566572700) to database 'weewxCarAqi'
> Aug 23 17:05:25 wetter weewxd[32715]/INFO weewx.manager: Added record 2019
> -08-23 17:05:00 CEST (1566572700) to daily summary in 'weewxCarAqi'
> Aug 23 17:05:25 wetter weewxd[8516]/INFO weewx.cheetahgenerator: Generated
> 1 files for report isswatch in 0.50 seconds
> Aug 23 17:05:26 wetter weewxd[32715]/INFO weewx.manager: Added record 2019
> -08-23 17:05:00 CEST (1566572700) to database 'weewx'
> Aug 23 17:05:26 wetter weewxd[32715]/INFO weewx.manager: Added record 2019
> -08-23 17:05:00 CEST (1566572700) to daily summary in 'weewx'
> Aug 23 17:05:26 wetter weewxd[32715]/INFO weewx.manager: Added record 2019
> -08-23 17:05:00 CEST (1566572700) to database 'weewxWD'
> Aug 23 17:05:26 wetter weewxd[32715]/INFO weewx.manager: Added record 2019
> -08-23 17:05:00 CEST (1566572700) to daily summary in 'weewxWD'
> Aug 23 17:05:26 wetter weewxd[32715]/INFO weewx.manager: Added record 2019
> -08-23 17:05:00 CEST (1566572700) to database 'weewxWDsupp'
> Aug 23 17:05:26 wetter weewxd[32715]/INFO weewx.manager: Added record 2019
> -08-23 17:05:00 CEST (1566572700) to database 'weewxArchiv.sdb'
>
> Aug 23 17:10:23 wetter weewxd[8516]/INFO weewx.manager: Added record 2019-
> 08-23 17:10:23 CEST (1566573023) to database 'weewxSunmon'
> Aug 23 17:10:23 wetter weewxd[8516]/INFO weewx.manager: Added record 2019-
> 08-23 17:10:23 CEST (1566573023) to daily summary in 'weewxSunmon'
> Aug 23 17:10:23 wetter weewxd[8516]/INFO weewx.manager: Added record 2019-
> 08-23 17:10:23 CEST (1566573023) to database 'weewxGeiger'
> Aug 23 17:10:23 wetter weewxd[8516]/INFO weewx.manager: Added record 2019-
> 08-23 17:10:23 CEST (1566573023) to daily summary in 'weewxGeiger'
> Aug 23 17:10:23 wetter weewxd[8516]/INFO weewx.manager: Added record 2019-
> 08-23 17:10:00 CEST (1566573000) to database 'weewxCmon'
> Aug 23 17:10:25 wetter weewxd[8516]/INFO weewx.manager: Added record 2019-
> 08-23 17:10:00 CEST (1566573000) to daily summary in 'weewxCmon'
> Aug 23 17:10:25 wetter weewxd[8516]/INFO user.forecast: OWM: not yet time
> to do the forecast
> Aug 23 17:10:25 wetter weewxd[8516]/INFO user.forecast: DS: not yet time
> to do the forecast
> Aug 23 17:10:25 wetter weewxd[8516]/INFO user.forecast: WU: not yet time
> to do the forecast
> Aug 23 17:10:25 wetter weewxd[8516]/INFO user.forecast: Aeris: not yet
> time to do the forecast
> Aug 23 17:10:25 wetter weewxd[8516]/INFO user.forecast: XU: starting
> thread
> Aug 23 17:10:25 wetter weewxd[8516]/INFO user.forecast: XU: download
> forecast from 'http://api.apixu.com.....
>
> PID 8516 gehört zu cmon.conf und
> PID  32715 zu weewx.conf
>
> in der Version Python3.7.3 (Python 3.7.3 (default, Apr 3 2019, 05:39:12)
> [GCC 8.3.0])
>
> sehr gute Arbeit, Danke
>
> 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/c9d12ea4-4662-4746-a32d-9b5ae3df841b%40googlegroups.com
> <https://groups.google.com/d/msgid/weewx-development/c9d12ea4-4662-4746-a32d-9b5ae3df841b%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/CAPq0zECM%3DcvQd4u-zCsBpZmLoRqJ_4GgczQ4jTxm61_Byxe16Q%40mail.gmail.com.

Reply via email to