Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 335 of 808  Not logged in ELOG logo
    icon2.gif   Re: Request: make $text available for "subst", posted by Sebastian Schenk on Tue Mar 23 13:42:27 2021 
I am not Stefan, but maybe I can add to this issue.

Personally I think it is not a good way to dump all the information into the text field and try to let the server parse it.
This could be archived more simply by using e.g. the python elog scripts or using the elog command tool to directly submit well structured elog
    icon2.gif   Re: Request: make $text available for "subst", posted by Stefan Ritt on Wed Mar 24 10:06:26 2021 
Sure, attributes can be shown multi-line, but they cannot be stored in the elog internal database. The database is a very old design and only allows
for single line attributes. Just look at a YYMMDDa.log file and you will see that. I would have to change the database format to somethign more advanced
like XML, but that would take me a couple of weeks or months.
    icon3.gif   Re: Request: make $text available for "subst", posted by Andreas Luedeke on Wed Mar 24 22:09:56 2021 
Hi Stefan,
no problem: if I just strip all newlines from the $text field (in HTML you use <br> anyway, the newline has no function apart from whitespace),
and my multiline attribute is fine to go.
    icon3.gif   Re: Request: make $text available for "subst", posted by Andreas Luedeke on Mon Jun 14 18:06:06 2021 
I should tell that I found a simpler way to achieve the same:
I suppress the "text" field and use a single line text input field instead.
The single line input in "free text" modes just contains "<br>" : I would have had to use those in the text field anyway.
icon1.gif   Bug Found, posted by nickc1 on Mon Jun 16 17:44:49 2003 
Ive just been alerted to a bug with email notifications in Elog.

Basically if your log book contains a space then the URL that is sent in 
    icon2.gif   Re: Bug Found, posted by Stefan Ritt on Tue Jun 17 12:52:34 2003 
> Correct Way prior to 2.3.8

> http://192.168.0.1:99/Provisioning%20Request/35
    icon2.gif   Re: Bug Found, posted by nickc1 on Fri Jun 20 10:40:43 2003 
> > Correct Way prior to 2.3.8
> > 
> > http://192.168.0.1:99/Provisioning%20Request/35
    icon2.gif   Re: Bug Found, posted by Stefan Ritt on Mon Jun 23 10:53:55 2003 
> Im using the plain RPM from 2.3.8, i uninstalled the 2.3.7 RPM before this 
> upgrade, the only thing I kept was my own stylesheets and the config file.
ELOG V3.1.5-3fb85fa6