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
A successfull workaround is to set the following in
/etc/schleuder/schleuder.conf:
lists_logfile: syslog
logfile: syslog
Thanks,
Alster
--
GPG key http://zimmermann.mayfirst.org/pks/lookup?search=0x05059C17
GPG FP 1B8B 128F 8435 541C B3A5 1B7E CF5A 9D55 0505 9C17
Info https://docs.indymedia.org/view/Main/AlsteR
--
To UNSUBSCRIBE, email to debian-bugs-...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
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...@irq7.fr : : : lu...@debian.org
`. `'`
`-
Jérémy Bobbio wrote:
> 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.
That's right, I have set log_rotate_keep to a value greater than 0.
Setting it to 0 works around this bug.
> 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.)
Thanks,
Alster
- --
GPG key http://zimmermann.mayfirst.org/pks/lookup?search=0x05059C17
GPG FP 1B8B 128F 8435 541C B3A5 1B7E CF5A 9D55 0505 9C17
Info https://docs.indymedia.org/view/Main/AlsteR
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iEYEAREKAAYFAktChnQACgkQz1qdVQUFnBc7DwCghCpGFStqzhoGjcHjYvU7mYgE
6QQAoKc59umWwmUwpcEdz9ycC+XcCFv8
=sMci
-----END PGP SIGNATURE-----