Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG  Not logged in ELOG logo
icon4.gif   Extending attribute list, posted by Paul O'Shaughnessy on Fri May 2 00:58:04 2008 
    icon2.gif   Re: Extending attribute list, posted by Stefan Ritt on Mon May 5 08:51:10 2008 
       icon2.gif   Re: Extending attribute list, posted by Paul O'Shaughnessy on Tue May 6 14:49:54 2008 
          icon2.gif   Re: Extending attribute list, posted by Stefan Ritt on Tue May 6 15:17:52 2008 
             icon2.gif   Re: Extending attribute list, posted by Paul O'Shaughnessy on Wed May 7 17:33:54 2008 
                icon2.gif   Re: Extending attribute list, posted by Stefan Ritt on Wed May 7 19:55:30 2008 
                   icon2.gif   Re: Extending attribute list, posted by Paul O'Shaughnessy on Thu May 8 09:44:48 2008 
Message ID: 65868     Entry time: Tue May 6 14:49:54 2008     In reply to: 65867     Reply to this: 65869
Icon: Reply  Author: Paul O'Shaughnessy  Author Email: paul_o'shaughnessy@inmarsat.com 
Category: Request  OS: Windows  ELOG Version: 2.7.3 
Subject: Re: Extending attribute list 

Stefan Ritt wrote:

Paul O'Shaughnessy wrote:

Hello everyone, I am new to the forum.

I currently have an attribute which is a list. From this drop down menu, I can only access around 100 options (ELog restriction I think). How can I extend my drop down list to say 200?

Example:

Attributes = RB

Options RB = a, b, c, ...,etc.

The number of 100 options is defined in elogd.c with

#define MAX_N_LIST  100

You could try to increase this to 200, but I have no idea if you will hit some other memory limit then. So what about conditional attributes? You subdivide your list into several smaller lists, like

Attributes = Category, RB
Options Category = Cat1{1}, Cat2{2}
{1}Options RB = a,b,c,d...
{2}Options RB = e,f,g,h,...
this is then also easier to handle, as compared to select a value from a very long list.

 

Stefan,

Thanks for that advice. I have made that change to the elogd.c file, but the only problem I don't know how to compile Elog to make that change take effect. I did the stop and restart of the elog  service in windows, but that made no difference. How do I compile ELog? Sorry for my ignorance, but I am fairly new to Elog.

ELOG V3.1.5-fe60aaf