cat /etc/debian_version
11.7

journalctl isn't installed

Oops, I deleted the original message this was it:

When I have an erroneous weewx.conf and start weewx using
systemctl start weewx
there is nothing in my log file, nor in /var/log/syslog . I am on Debian 
using rsyslog and have the logging configured like so in weewx.conf:
[Logging]
    version = 1
    disable_existing_loggers = False
   
    # Root logger
    [[root]]
        level = INFO
        handlers = rotate,
   
    # Additional loggers would go in the following section. This is useful 
for tailoring logging
    # for individual modules.
    [[loggers]]
   
    # Definitions of possible logging destinations
    [[handlers]]
       
        # Log to a set of rotating files    
        [[[rotate]]]
            level = INFO
            formatter = verbose
            class = logging.handlers.RotatingFileHandler
            filename = /var/log/weewxd.log
            maxBytes = 10000000
            backupCount = 4

When I start weewxd manually, the error output is shown, any I ideas where 
the output is stored (if it is stored) or how to set up logging, that this 
output is stored in the weewxd.log file?

vince schrieb am Samstag, 16. Dezember 2023 um 19:41:12 UTC+1:

> If you have rsyslog installed and running, it's using that,  but without 
> seeing your error output, hard to say.
>
> I'd try "sudo journalctl -u weewx" and see if anything is returned of any 
> value.
>
> Which debian version might help a little too.
>
>

-- 
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/87629405-f30c-4ed6-b99c-b4fa07db329fn%40googlegroups.com.

Reply via email to