Menu

#29 NG summariser: no check for ALWAYS: and ALWAYS:: modules

open
harvest-ng (30)
5
2000-03-07
2000-03-03
Anonymous
No

I wanted to add an ALWAYS summariser, but it turned out it wasn't selected when
summarising a document. The colons that are added at Config loading time are not
accounted for in the summariser.

I've changed Harvest/Reaper/Summarise.pm, function 'add':

if ($type eq 'ALWAYS') to if ($type =~ /^ALWAYS:*$)

which does the trick for now ..

bye

Bert Helthuis

Discussion

  • Simon Wilkinson

    Simon Wilkinson - 2000-03-07

    This is due to the way that Harvest::Config implements
    multiple values for tags (by adding a trailing colon).

    I\'ll look into this today.

     
  • Simon Wilkinson

    Simon Wilkinson - 2000-03-07
    • assigned_to: nobody --> sxw
    • status: Error - status not found --> open
     
  • Simon Wilkinson

    Simon Wilkinson - 2000-03-07

    I can\'t manage to reproduce this problem. My local configuration uses 2 ALWAYS summarisers, as does full.conf
    and the default reap configuration, and all of these seem
    to be initialised correctly.

    Could you let me know the version of Harvest-NG you are seeing this behaviour on, and the output when you run with
    --debug=Init

     

Log in to post a comment.

MongoDB Logo MongoDB