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 sc.lep...@gmail.com 
> 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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/f964a9fe-928e-4e88-8fbd-4125d838b9d2n%40googlegroups.com.

Reply via email to