5.0 did change the utilities. Take a look at

https://www.weewx.com/docs/5.0/utilities/weectl-station/

If you don't like journalctl, you can configure your own weewx logs like 
this (just an example, it will, log to  /home/pi/weewx-data/log/weewxd.log  
):
##############################################################################

[Logging]
    version = 1
    disable_existing_loggers = False
    
    # Root logger
    [[root]]
        level = INFO
        handlers = rotate,    #console
    
    # 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 = /home/pi/weewx-data/log/weewxd.log
            maxBytes = 10000000
            backupCount = 4
    
    # Log to console
    #[[[console]]]
    #    level = DEBUG
    #    formatter = verbose
    #    class = logging.StreamHandler
    # Alternate choice is 'ext://sys.stderr'
    #stream = ext://sys.stdout
    
    # How to format log messages
    [[formatters]]
        [[[simple]]]
            format = %(levelname)s %(message)s
        [[[standard]]]
            format = {process_name}[%(process)d] %(levelname)s %(name)s: 
%(message)s
        [[[verbose]]]
            format = %(asctime)s {process_name}[%(process)d] %(levelname)s 
%(name)s: %(message)s
            # Format to use for dates and times:
            datefmt = %Y-%m-%d %H:%M:%S



William Webb schrieb am Freitag, 31. Mai 2024 um 23:06:40 UTC+2:

> First some background then my question:
>
> I just installed a fresh installation of Weewx 5 on a PI 4 running 
> bookworm .  I uses the apt-get install method. All is nearly well.  I 
> discovered that: 
>
> to look at a real-time system log you need to use: *journalctl -f*
>
> to stop and start you need to use: *sudo service weewx stop*
> *                                                             sudo service 
> weewx start*
>
> Files appear to be located in:  */usr/share/weewx/ *and */etc/w*eewx
>
> Strange but okay.  I had to put my wmII.py driver directly in the driver 
> folder.
>
> Now the question:  I can not find wee_config anywhere.  Am I blind?  Is it 
> missing?  I am starting to be sorry that I am using bookworm.  There 
> doesn't appear to be bookworm instructions.
>
> I don't have any hair left to tear out.
> Bill
>
>
>

-- 
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/4a2fe000-b062-4320-91c3-1dbc1a025eb7n%40googlegroups.com.

Reply via email to