Hi,
I updated from 4.6 a4 to 4.6 b2. All is working well with the change to 
$gettext and $pgettext. 
In 4.6 a4, I was able to the following:
        # Log to a set of rotating files    
        [[[rotate]]]
            level = DEBUG
            formatter = standard
            class = logging.handlers.RotatingFileHandler
            filename = %(WEEWX_ROOT)s/run/weewx.log
            maxBytes = 10000000
            backupCount = 4
But, in 4.6 b2, the interpolation is failing. If this new behavior is 
intended, it is no big deal. It just made it easier for me to copy the 
config file to different install locations.
rich

On Tuesday, 28 September 2021 at 19:10:34 UTC-4 Tom Keffer wrote:

> Available in the usual places: 
> http://www.weewx.com/downloads/development_versions/
>
> One notable change: the syntax for $gettext has changed from 
> "bracket-style" to "function-style". That is, instead of this
>
> $gettext["something to be translated"]
>
>
> use this
>
> $gettext("something to be translated")
>
>
> There are also some new bug fixes, notably in the logger. 
>
> A nice new feature is the ability to conditionally generate plot graphs on 
> whether-or-not they include any data. See option "skip_if_empty" in the 
> Customization Guide.
>
> -tk
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-development" 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-development/2433e1c4-92e1-4ea0-b09a-355ffc218bf4n%40googlegroups.com.

Reply via email to