Hello 
It is not possible to  modify  interceptor.py  extension   ? to  log this  
? 
That's a shame no  ? 

Le vendredi 30 décembre 2022 à 23:09:10 UTC+1, vince a écrit :

> Edit weewx.conf and set debug=1
> Then restart weewx
>
> No reason to alter interceptor.py
>
> On Friday, December 30, 2022 at 12:27:44 PM UTC-8 [email protected] 
> wrote:
>
>> Perhaps  yes but I  must put debug=1 to weewx config file to have theses 
>> lines ....
>> And I dont know how to do this  in source of interceptor.py  file  !
>>
>> Can you help me ? 
>>
>>
>> Le vendredi 30 décembre 2022 à 21:26:18 UTC+1, vince a écrit :
>>
>>> Do it in rsyslog.d of course.
>>>
>>> On Friday, December 30, 2022 at 12:10:24 PM UTC-8 [email protected] 
>>> wrote:
>>>
>>>> Hello
>>>> I ve seen when debug=1 in weewx.conf in main log there are this :
>>>>
>>>>
>>>> Dec 30 20:52:37 meteo-Ubuntu weewx-FROGGIT[1708329] DEBUG 
>>>> user.interceptor: raw packet: {'dateTime': 1672429957, 'usUnits': 1, 
>>>> 'rain_total': 0.32, 'barometer': 30.27, 'temperature_out': 56.6, 
>>>> 'humidity_out': 98.0, 'wind_speed': 3.1, 'wind_gust': 5.8, 'wind_dir': 
>>>> 146.0, 'dewpoint': 56.1, 'uv': 0.0, 'temperature_in': 67.2, 'humidity_in': 
>>>> 67.0, 'rain': 0.0} Dec 30 20:52:37 meteo-Ubuntu weewx-FROGGIT[1708329] 
>>>> DEBUG user.interceptor: mapped packet: {'dateTime': 1672429957, 'usUnits': 
>>>> 1, 'barometer': 30.27, 'outHumidity': 98.0, 'inHumidity': 67.0, 'outTemp': 
>>>> 56.6, 'inTemp': 67.2, 'windSpeed': 3.1, 'windGust': 5.8, 'windDir': 146.0, 
>>>> 'dewpoint': 56.1, 'rain': 0.0, 'UV': 0.0}
>>>>
>>>>   
>>>> I want to separate this log to interceptor-weewx.log for example
>>>>
>>>> I can use rsyslog.d to separate my logs but I dont know how to do this 
>>>> in interceptor.py
>>>>
>>>> Can someone help me ?
>>>>
>>>> Thanks
>>>> Stef
>>>>
>>>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" 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-user/ee6744c5-33d1-4b68-9f4a-36e833484665n%40googlegroups.com.

Reply via email to