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: 67296     Entry time: Wed Jul 4 13:58:23 2012     Reply to this: 67301
Icon: Question  Author: Richard Stamper  Author Email: richard.stamper@stfc.ac.uk 
Category: Question  OS: All  ELOG Version: 2.9.2 
Subject: Number of conditional attributes 

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.

ELOG V3.1.5-fe60aaf