Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 115 of 807  Not logged in ELOG logo
ID Date Icon Author Author Emaildown Category OS ELOG Version Subject
  606   Thu Jul 15 09:44:08 2004 Reply Stefan Rittstefan.ritt@psi.chBug reportAll2.5.3Re: Possible Formatting bug: Summary view
> A temporary fix for this is to set summary lines = 0

Right, that's the only way. I would call this "permanent fix" (;-)
  607   Thu Jul 15 10:01:03 2004 Reply Stefan Rittstefan.ritt@psi.chRequestAll2.5.3Re: Wishlist: TOOLTIP for ATTRIBUTES
Ok, I added the option

Tooltip <attribute> = ...

I apply the HTML "title" tag to the whole table row, so the tooltip appears on the
whole line, not only the attribute name. I guess this is much more intuitive. Give
it a try. New version under CVS and available as a snapshot.
  608   Thu Jul 15 21:21:50 2004 Reply Stefan Rittstefan.ritt@psi.chQuestionAll2.5.3Re: Question on how "Format <attribute> = " works
> Ok, I think I see now.  I was assuming it applied to the entry form as well.

Well, good idea. I implemented that. Have a look at this forum (just hit reply to this
entry) and you'll see it. I'm not completely happy with it (at least on small 1024x768
screens), but it's configurable anyhow. New version under CVS.
  609   Thu Jul 15 22:01:55 2004 Reply Stefan Rittstefan.ritt@psi.chRequestLinux | Windows2.5.3.Re: Request: limit size of attachments
> Is it possible to add a flag in the configuration file, to specify the 
> maximum size of an attachment?

I implemented a "max content length = xxx" flag, which defaults to 10MB. If an
attachment is larger, an error gets displayed. The problem is that elogd can
only send the error message to the browser *after* it received the whole
request, so it has to "drain" the 240 MB first, which could take quite some
time on a slow connection.

Alternatively, I can cut the connection to the browser immediately, since the
HTTP header contains the content length after the first ~500 bytes, but in
that case the browser only shows a message box "Document contains no data"
which gives the user noe clue of what's wrong.

Anyhow the biggest problem of elog in high stress environments is that it's
single threaded. So if someone issues a search in a large logbook, it could
take some time, in which elog cannot respond to other requests. Maybe I will
find time in the future to make elog multithreaded, but certainly not in the
near future.
  620   Wed Jul 28 14:14:05 2004 Question Stefan Rittstefan.ritt@psi.chQuestionWindows2.5.3Re: Author field on reply
> I followed copied the example config provide to run on my server .
> Apparently , the author field was blank when i do a reply .
> I was hoping to get it to be the actual reply author.
> Just like the way the forum is done up.
> Please help ..

This (new) behaviour came from the request that some people id *NOT* want to
have the new author on the reply, but the *ORIGINAL* (they used an attribute
"Origial author" which should not be replaced on a reply). Therefor I added a
new option to resolve that. So please use

Preset Author = $long_name
Preset on reply Author = $long_name

if you want to have the attribut "Author" replaced by the current one both on
new entries and on replies.
  621   Wed Jul 28 14:17:25 2004 Reply Stefan Rittstefan.ritt@psi.chBug reportWindows2.5.3 snapRe: List Dispaly produces wrong output in 2.5.3 built 23.7.04 (snapshot)
> Using "List Display = <attributes>" produces an ususal output with the text
> field content in the first row and a row title of the first 3 letters.

I fixed that problem. Please get the snapshot from July 28th 14:16.
  622   Wed Jul 28 15:03:17 2004 Warning Stefan Rittstefan.ritt@psi.chBug fixLinux2.5.3Re: speeding up elog : gcc compile optimizations
> I noticed that the gcc compiler options in the tarball Makefile were not
> conducive to speed.  There, I tried changing the gcc options to:
> 
> CFLAGS = -O3 -funroll-loops -fomit-frame-pointer -W -Wall

Thank your for this hint, I changed my Makefile for the production code. However, I
could not feel any difference between the two options. The real problem is the
function getcfg(), which gets called many thousand times internally and has to parse
elogd.cfg each time. Once I implement a hash table for that function, elogd should
become faster by at least a factor of two.
  625   Wed Jul 28 21:25:52 2004 Reply Stefan Rittstefan.ritt@psi.ch Windows2.53.Re: Fixed Attribute Reply
> Hi Stefan 
> YOu have been a great help on the Elog problem solving .
> I have another sort of bug , when i have a attribute type as date.
> And i have fixed the attribute on reply , i actually get a string of 
> number when i reply , and the date becomes not the orginal date in the 
> first message.
> 
> So the way i work ard is that i did not place the date field in the fixed  
> attribute reply which i will run the risk of pple modifying that entry .
> Can this be fix?

Yes, I fixed this. Revision 1.412 under CVS, new snapshot for Windows at the
download page.
ELOG V3.1.5-3fb85fa6