Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG  Not logged in ELOG logo
icon5.gif   Number of conditional attributes, posted by Richard Stamper on Wed Jul 4 13:58:23 2012 
    icon2.gif   Re: Number of conditional attributes, posted by Stefan Ritt on Fri Jul 13 10:45:49 2012 
       icon2.gif   Re: Number of conditional attributes, posted by Richard Stamper on Fri Jul 13 17:09:58 2012 
Message ID: 67301     Entry time: Fri Jul 13 10:45:49 2012     In reply to: 67296     Reply to this: 67303
Icon: Reply  Author: Stefan Ritt  Author Email: stefan.ritt@psi.ch 
Category: Question  OS: All  ELOG Version: 2.9.2 
Subject: Re: Number of conditional attributes 

Richard Stamper wrote:

Is there a limit on the number of conditions that can be simultaneously active in a log?  When I activate more than 10 conditions I start to see side effects with other conditions being deactivated.  I think this is due to the hard-coded array size of 10 for clist in the match_param function in elogd.c.  If so, could this limit be increased?  

Are there other limits on the number of conditions, or the length of condition names?  If I've understood the code right, the _condition string holds a comma-separated list of the active conditions, so the 256 byte length of this will also put some limit on the number of conditions that can be active.

Ups. I never imagined that someone would use more than 10 conditions. I'm not 100% sure if the problem is the clist array, but can you try to set it to 20 and see if it gets better? You can also send me your config file and I can try it myself. 

ELOG V3.1.5-3fb85fa6