Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 153 of 808  Not logged in ELOG logo
    icon3.gif   Re: missing '.' in emails, posted by Stefan Ritt on Wed May 7 21:09:32 2003 
> I checked my mail program and 
> found out that it converts a single dot into two dots at the beginning 
> of the line. I have to implement this in elgod.c.

I implemented that (->CVS): a <CR><LF>.<CR><LF> is replaced by 
<CR><LF>..<CR><LF> in email notifications. Now I don't know if all browsers 
under all OS's send a <CR><LF> on line break. If some don't, please let me 
know.
    icon2.gif   Re: mirroring specific logbooks, posted by Stefan Ritt on Tue Jan 25 21:48:52 2005 
> I was just wondering if it is possible to define what logbooks you want
> mirrored in the [Global] part of the elogd.conf file.

I added a new option

Mirror exclude = 1

which has to be put into the individual logbook section (not the [global] one).
The modification will be contained in the next release.
    icon7.gif   Re: mirroring specific logbooks, posted by John Habermann on Wed Jan 26 07:40:46 2005 
> > I was just wondering if it is possible to define what logbooks you want
> > mirrored in the [Global] part of the elogd.conf file.
> 
> I added a new option
> 
> Mirror exclude = 1
> 
> which has to be put into the individual logbook section (not the [global] one).
> The modification will be contained in the next release.

Thank you very much Stefan.
    icon2.gif   Re: messy code for chinese charactor, posted by Stefan Ritt on Sat Oct 27 10:51:12 2018 
Can you post a screenshot?


Wenhao Huang wrote:
The Chinese character appears messy code. The encoding way is the default utf-8. How can I solve this problem?
    icon2.gif   Re: menu download, posted by Stefan Ritt on Wed Nov 26 12:23:01 2014 

pudi astuti wrote:

dear stefan

I have a problem how to bring up the menu page menu elog download?
thank you

Can you please be a bit more specific? Do you mean the web site to download elog? Or is it some functionality of elog?

Thank you. 

    icon2.gif   Re: menu commands - user list does not match config list, posted by Stefan Ritt on Thu Feb 9 09:04:05 2006 

Alan Stone wrote:
I am attempting to configure the Elog for use at the CMS Remote Operations Center
at Fermilab. I included the following option:

Menu commands = List, New, Reply, Duplicate, Find, Last day, Config, Admin, Login, Logout, Help

but the available list (after restarting the elog daemon) gives me:

CMS ROC Logbook, Page 1 of 1 Logged in as "Alan Stone" ELOG Home
New | Find | Select | CSV Import | Config | Logout | Help

Did I miss a step in the syntax instructions?


Yap. There are two menus, one for the listing page which contains only line per entry, and one for the individual entry page. You changed the one for the individual entry page, which you will see when you slick on any entry. To change the listing page manu, do a List Menu commands = ...
    icon2.gif   Re: maximum attributes for drop down menu., posted by David Pilgram on Fri Feb 20 16:18:36 2015 
Hi Rob,

I don't think the default number of 100 has ever changed. However, you can change the number in the source
code and recompile. This was discussed in elog:67674

I increased my maximum from 100 to 120 and recompiled. At some point, though, you'll overflow some stack or other, and maybe that's why you've got the limit of 250. You might also want to consider Andreas's alternative (which I am also thinking about).



rob wrote:
We use a servername field to be able to select a server.

When i entered my entire serverlist (574 entries), only 250 of them show up.

Looking at the online documentation about attributes, it is stated that there is a maximum of 100 entries.

With the version we are using (2.7.1) it seems the limit is 250

Can someone tell me if version 3 has the same limitation, or that the max has been increased?

Rob.
    icon2.gif   Re: make all messages on ubuntu LTS 20.04.03, posted by Stefan Ritt on Tue Feb 8 09:14:25 2022 
> /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output 2 or more bytes (assuming 4097) into a 
> destination of size 4096

Yeah, I like those warnings "up to 4097 bytes written to a buffer of 4096 bytes". And it's even not a security issue, since the source of the data comes from elogd.cfg which only the owner can modify.

Basically this calls to rewrite elog completely with std::string. Maybe one day I retire and have some time for that...

Stefan
ELOG V3.1.5-3fb85fa6