On Mon, Dec 07, 2009 at 12:27:46AM +0100, Alster wrote:
> On lenny, with the package from lenny-backports, the following error
> occurs when invoking schleuder-newlist:
> 
> # schleuder-newlist test
> /usr/lib/ruby/1.8/schleuder/schleuder_logger.rb:25:in `initialize':
> undefined local variable or method `file' for
> #<Schleuder::SchleuderLogger:0x7fdb7ab1dfc0> (NameError)
>         from /usr/lib/ruby/1.8/schleuder/processor.rb:8:in `new'
>         from /usr/lib/ruby/1.8/schleuder/processor.rb:8:in `log'
>         from /usr/bin/schleuder-newlist:60:in `process'
>         from /usr/bin/schleuder-newlist:295
> #
> 
> 
> I get this with default settings in /etc/schleuder/schleuder.conf

Could you verify if you have not modified the `log_rotate_keep` setting?
Setting it greater than "0" was the only way I was able to reproduce
this issue.

In the Debian package, log rotation is handled by logrotate, so there is
normally no need for Schleuder to take care of this.

(There is still an issue in the code, that I'll fix, though.)

Cheers,
-- 
Jérémy Bobbio                        .''`. 
jeremy.bob...@irq7.fr               : :   :             lu...@debian.org
                                    `. `'` 
                                      `-

Attachment: signature.asc
Description: Digital signature

Reply via email to