Seems like the --daemon option fixed things
my service file looks like this (in part()
[Service] 
                                                                                
                                                                                
                                                              
 
ExecStart=/usr/local/bin/weewx/bin/weewxd /usr/local/bin/weewx/weewx.conf 
--daemon 
                                                                                
                                                                     
 
ExecReload=/usr/bin/killall -TERM $MAINPID 
                                                                                
                                                                                
                             
 
Type=simple 
                                                                                
                                                                                
                                                            
 
Restart=on-failure 
                                                                                
                                                                                
                                                     
 
RestartSec=100s      

Good grief this google thing here is hard to use!

ok, i just checked before posting and weewx crashed  -  it never does tthat 
but the --daemon opt was the only thing that changed

On Wednesday, March 2, 2022 at 8:23:51 AM UTC-8 Cat22 wrote:

> I thought systemd asked services not to demonize as systemd does that for 
> them. Ami right about this?
> However, I will try it.
>
> On Wednesday, March 2, 2022 at 8:20:32 AM UTC-8 Cat22 wrote:
>
>> weewx version 4.0.0
>> I am having trouble posting here, my posts seem to just disappear. 
>> Hopefully this one will make it.
>> I found log_success in 2 places in weewx.conf I set that to False also, 
>> but it doesnt make a bit of differrence
>>
>> Here is a sample:
>> Mar 02 08:18:20 pc2 weewxd[14910]: LOOP:   2022-03-02 08:18:19 PST 
>> (1646237899) altimeter etc etc, the line is very long
>> On Wednesday, March 2, 2022 at 8:15:48 AM UTC-8 [email protected] wrote:
>>
>>> Thanks, i just tried that and restarted wewx but it's still printing 
>>>> that loop data.
>>>
>>>
>>> I'm not sure what you mean by "printing that loop data." Are we talking 
>>> about the log? Or, printing to a console through standard output?
>>>
>>> If the former, the Vantage driver logs no data in the system log --- 
>>> only control information. StdArchive does log successful and unsuccessful 
>>> insertions into the database, but these should be controlled by log_success 
>>> and log_failure, respectively, at least on modern versions of WeeWX (what 
>>> version are you using?).
>>>
>>> If the latter (printing to the console), then you shouldn't see this if 
>>> you are running weewxd as a daemon.
>>>
>>> Perhaps an excerpt of the log so we can see what you're concerned about?
>>>
>>> On Wed, Mar 2, 2022 at 7:55 AM Tom Keffer <[email protected]> wrote:
>>>
>>>> Just set option log_success 
>>>> <http://www.weewx.com/docs/usersguide.htm#General> to False.
>>>>
>>>> On Wed, Mar 2, 2022 at 7:50 AM Cat22 <[email protected]> wrote:
>>>>
>>>>> debug=0 but weewx writes over a thousand lines to the systemd journal. 
>>>>> Its writing the data it read from the Vantage Pro II mostly LOOP:  lines. 
>>>>> I 
>>>>> would rather it didn't do that. None of it is error data.
>>>>> Any idea how to prevent it?
>>>>>
>>>>> -- 
>>>>> 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/7f3c7019-ea57-40c6-a6f0-c0799b8a5ce7n%40googlegroups.com
>>>>>  
>>>>> <https://groups.google.com/d/msgid/weewx-user/7f3c7019-ea57-40c6-a6f0-c0799b8a5ce7n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>>> .
>>>>>
>>>>

-- 
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/5c5be090-439b-4fcd-9b23-b7172e606515n%40googlegroups.com.

Reply via email to