Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG  Not logged in ELOG logo
icon5.gif   Option list length, posted by soren poulsen on Fri Sep 18 07:32:38 2009 
    icon2.gif   Re: Option list length, posted by Stefan Ritt on Fri Oct 16 12:21:45 2009 
       icon2.gif   Re: Option list length, posted by soren poulsen on Mon Oct 26 10:13:54 2009 
Message ID: 66561     Entry time: Fri Oct 16 12:21:45 2009     In reply to: 66553     Reply to this: 66564
Icon: Reply  Author: Stefan Ritt  Author Email: stefan.ritt@psi.ch 
Category: Request  OS: Linux  ELOG Version: 2.7.7 
Subject: Re: Option list length 

soren poulsen wrote:

Hi,

I use the following attribute definition:

Options <attribute> = <list> 

However, I am being limited by the list length limit of 100. I have 103 items, but I only see 100.

Could the limit be extended (to 200 for instance) ?

Thanks a lot for your help

Soren

You can change that yourself. Just find following line in elogd.c:

 

#define MAX_N_LIST      100

and change it to 200, then recompile. But you are there on your own, at some point you will get a stack overflow and elogd will crash, but I don't know exactly where this limit is.
 
Anyhow I would propose that if you have so many options in an attribute, that you better go and group these options somehow. Like using two attributes, where the first defines the group, and the second gets different list for each option of the first attribute using conditional attributes. Have a look here.

 

 

ELOG V3.1.5-fe60aaf