Re: prelude correlator

Alec <[email protected]> Sat, 12 Sep 2009 19:03:06 +0300
Newsgroups gmane.comp.security.ids.prelude.user
Message-ID <[email protected]>
Hi Yoann,
I patched log.py but have got exactly the same result.
i use centos 5.3

Starting prelude-correlator: Traceback (most recent call last):
  File "/usr/bin/prelude-correlator", line 7, in ?
    sys.exit(
  File "/usr/lib/python2.4/site-packages/PreludeCorrelator/main.py",
line 136, in main
    env = Env(options.config)
  File "/usr/lib/python2.4/site-packages/PreludeCorrelator/main.py",
line 38, in __init__
    self.pluginmanager = pluginmanager.PluginManager(self)
  File "/usr/lib/python2.4/site-packages/PreludeCorrelator/pluginmanager.py",
line 73, in __init__
    env.logger.info("%s disabled on user request" % (pname))
  File "/usr/lib/python2.4/site-packages/PreludeCorrelator/log.py",
line 76, in info
    self._log(self._logger.info, log, extra = { "pid": os.getpid() })
  File "/usr/lib/python2.4/site-packages/PreludeCorrelator/log.py",
line 68, in _log
    log_func(log, extra=extra)
  File "/usr/lib/python2.4/logging/__init__.py", line 969, in info
    apply(self._log, (INFO, msg, args), kwargs)
TypeError: _log() got an unexpected keyword argument 'extra'

On Fri, Sep 11, 2009 at 1:11 PM, Yoann Vandoorselaere
<[email protected]> wrote:
> Hi Alec,
>
> Le vendredi 28 août 2009 à 17:06 +0300, Alec a écrit :
>> i am trying to start correlator but getting these errors:
>
> This is due to a Python 2.5 specific feature that we are using. Could
> you please tell me whether the attached patch help?
>
> Regards,
>
> --
> Yoann Vandoorselaere | Directeur Technique/CTO | PreludeIDS Technologies
> Tel: +33 (0)8 70 70 21 58                       Fax: +33(0)4 78 42 21 58
> http://www.prelude-ids.com
>
>
_______________________________________________
Prelude-user site list
[email protected]
http://lists.prelude-ids.org/mailman/listinfo/prelude-user