Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 725 of 807  Not logged in ELOG logo
New entries since:Thu Jan 1 01:00:00 1970
ID Date Icon Author Author Emaildown Category OS ELOG Version Subject
  66397   Mon Jun 15 12:57:17 2009 Reply W.KosterW.Koster@rug.nlQuestionLinuxV2.7.6-219Re: wrapping long lines in config file

Stefan Ritt wrote:

What I do is to use an editor with automatic wrapping functions, like the free PSPad editor. It nicely wraps line and indicates that:



Hmmm... I have to use vi and was hoping an \ at the end of the line (before the LF) would be supported.
  148   Fri Nov 1 13:33:01 2002 Entry Willem KosterW.Koster@rc.rug.nlRequest  wrapping of text in edit field
I noticed a long url got hard-wrapped when I entered a long one, I patched 
the source code. I don't know if this was done intentionally, otherwise you 
might want to change this also.

diff elogd.c elogd.c.org 
4468c4468
<     rsprintf("<textarea rows=20 cols=%d wrap=soft name=Text>", width);
---
>     rsprintf("<textarea rows=20 cols=%d wrap=hard name=Text>", width);

BTW, why is the editor window 20 rows by 76 columns ?
(20 is fixed in the source code, but 76 is the width-variable that is set 
hard to:

  /* set textarea width */
  width = 76;

Now I don't like both parameters. 20 is too long for my display (1024x768) 
and 76 is too short. Something dynamically would be cool, but a parameter 
somewhere in a config file would also be acceptable. (just a thought, makes 
it easier to upgrade)
  149   Fri Nov 1 13:39:41 2002 Entry Willem KosterW.Koster@rc.rug.nlRequest  New ELOG entry
When I make a new entry I get an email with 

   subject: New ELOG entry

But when I or someone else changes an entry I also get an email with a 

   subject: New ELOG entry

I would prefer to see "Changed" , "Edited", or "Updated". This is beyond my 
programming capabilities so I enter this request.
  156   Thu Nov 14 12:04:09 2002 Question Willem KosterW.Koster@rc.rug.nl   Compiling elog-2.2.2 in Solaris 8
On our:
   SunOS operator 5.8 Generic_108528-13 sun4u sparc SUNW,Ultra-5_10

I get:

% make
gcc -g -O -o elog elog.c 
Undefined                       first referenced
 symbol                             in file
socket                              /var/tmp/ccgK4x1V.o
recv                                /var/tmp/ccgK4x1V.o
gethostbyname                       /var/tmp/ccgK4x1V.o
send                                /var/tmp/ccgK4x1V.o
gethostbyaddr                       /var/tmp/ccgK4x1V.o
connect                             /var/tmp/ccgK4x1V.o
ld: fatal: Symbol referencing errors. No output written to elog
collect2: ld returned 1 exit status
make: *** [elog] Error 1


I have no idea what is going on here
  157   Thu Nov 14 12:16:49 2002 Question Willem KosterW.Koster@rc.rug.nl   Show all entries made by ME ?
In my bottom.html file I have:

<A Href="host/Forum/?mode=summary&reverse=1&npp=10&Status=Open">Open</A> 
<A Href="host/Forum/?mode=threaded&reverse=1&npp=10&Status=
Open">(Threaded)</A> /                                                   
  <A Href="host/Forum/?mode=summary&reverse=1&npp=10&Status=C
losed">Closed</A> /  
<A Href="host/Forum/?mode=summary&reverse=1&npp=10">All</A>
<A Href="host/Forum/?mode=threaded&reverse=1&npp=10">(threaded)</A> 
tickets.

This sort of implements some of the buttons you have in your whishlist.

This works, because it is the same for all users, now what I would like 
is to add some sort of linke that will "show all entries from ME". I 
could do this on a per user basis, but that's not what I want, Something 
general with $user would be preferable.

Something like:

http://midas.psi.ch/elogdemo/Forum/?mode=threaded&reverse=1&npp=8&Author=$user

Is this possible ?
  158   Thu Nov 14 13:00:24 2002 Idea Willem KosterW.Koster@rc.rug.nl   Re: Compiling elog-2.2.2 in Solaris 8
From: http://elog.sourceforge.net/

Solaris

It was reported by Martin Huber that under Solaris 7 following command must 
be used to compile elog:

gcc -L/usr/lib/ -ldl -lresolv -lm -ldl -lnsl -lsocket elogd.c -o elogd

It was also reported that the keep-alive mechanism is not working under some 
Solaris systems, so you need to start the elogd server with the "-k" flag to 
turn keep-alives off. 



Yep... does the job.
(even with 2.2.2 under Sol 8)
  159   Tue Nov 19 14:11:11 2002 Reply Willem KosterW.Koster@rc.rug.nlQuestion  Re: elog reaction is very slow
We had the same problem here. What worked in our case was:

Traffic to port 113 (identd) was blocked. Because the server didn't give any
response at all there was a time-out to which we were waiting.  Opening up
the 113 port significantly speeded things up. Even when no ident-deamon was
running on the system. (it now gets an immediate no deamon running msg, and
can go on with it's processing instead of having to wait for a time-out)
  1545   Mon Dec 12 15:17:39 2005 Question Willem KosterW.Koster@rc.rug.nlQuestionOtherELOG V26b5duplicate & presets
I'm (mis)using elog as a database. I like the fact that I can have presets for fields, but I also like the fact 
that I can make a duplicate of an entry. Now when I make a duplicate, all the fields get overwritten with the 
preset-value. Is there a way to get the preset-values only on entering a NEW reord and NOT on a duplicate ?

I could take away the presets, most of them are "***" (literally) to be able to search for entries that do not 
have a value, but I don't know how to search for empty fields.


PS: They wanted to do a CMDB in BMC-Magic (really expensive $$$-ware), but after about 1 afternoon (and about 6 
prototypes) they went with elog since it was fast, cheap and already implemented (and filled with 200 entries 
through a script using some old CSV list we had lying around) :-) 

 
ELOG V3.1.5-3fb85fa6