This is just a minor problem, but I would still like to understand, why
it does not work. I am trying to set the log rotation from the command
line. It works when I use the -e flag:
In your version, when you set "rotation" it changes that global value,
but at a time when it's old value has already been assigned to
Log::default_rotation_interval. The change will not carry over, as the
assignment doesn't take place again.
That's an even easier solution. I thought I had to use "redef".
In your version, when you set "rotation" it changes that global value,
but at a time when it's old value has already been assigned to
Log::default_rotation_interval. The change will not carry over, as the
assignment doesn't take place again.