Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 185 of 238  Not logged in ELOG logo
icon5.gif   New docs?, posted by PJ Meyer on Thu Dec 22 01:17:12 2005 
Just looked at change log for 2.6
was wondering where the documentation for the new additions/changes is/are.
    icon2.gif   Re: New docs?, posted by Stefan Ritt on Thu Dec 22 08:58:25 2005 

PJ Meyer wrote:
Just looked at change log for 2.6
was wondering where the documentation for the new additions/changes is/are.


I usually keep http://midas.psi.ch/elog/config.html up-to-date, but I agree that it's a bit hard to find the additions there, that's why there is the change log Wink

The ELCode is described on a separate page, which can also be accessed by clicking on the ELCode link below the text box of the logbook entry page.
icon5.gif   Compile on Windows?, posted by Mike on Wed Dec 21 23:52:27 2005 
What version of Visual Studio do you use for compile Elog on windows.

I have downloaded the Tar from svn and am having some errors, but then I've go VS.Net 2003. I wondering if this was done with 6.0?

thanks
    icon2.gif   Re: Compile on Windows?, posted by Stefan Ritt on Thu Dec 22 08:53:43 2005 

Mike wrote:
What version of Visual Studio do you use for compile Elog on windows.

I have downloaded the Tar from svn and am having some errors, but then I've go VS.Net 2003. I wondering if this was done with 6.0?


Right now I'm using VS.Net 2003, but you should be able to compile it with 6.0, except that you have to redo the project file, which might not be backwards compatible. An alternative is to use gcc under cygwin, which is a free alternative for windows.
icon1.gif   Proxy question, posted by Jesse Wodin on Wed Dec 7 02:37:40 2005 
I'm trying to run elog 2.6.0-beta4 under Apache 2.0.  I follow the directions, and everything works fine, so my
elog runs as

http://grattalab3.stanford.edu/elog/

running under port 8082, with the following lines in my httpd.conf file

 Redirect permanent /elog http://grattalab3.stanford.edu/elog
 ProxyPass /elog/ http://grattalab3.stanford.edu:8082/

This machine has an alias, which is http://exo-elog.stanford.edu.  My question is, how can I run elog so that
when someone types in this name, it brings up my elog? I know that I can make a VirtualHost entry and put a
redirect at the document root of that virtual host, but that seems clumsy.  Can I just modify ProxyPass or add a
Redirect statement somehow?

Thanks!
    icon2.gif   Re: Proxy question, posted by Stefan Ritt on Wed Dec 21 20:59:26 2005 
> I'm trying to run elog 2.6.0-beta4 under Apache 2.0.  I follow the directions, and everything works fine, so my
> elog runs as
> 
> http://grattalab3.stanford.edu/elog/
> 
> running under port 8082, with the following lines in my httpd.conf file
> 
>  Redirect permanent /elog http://grattalab3.stanford.edu/elog
>  ProxyPass /elog/ http://grattalab3.stanford.edu:8082/
> 
> This machine has an alias, which is http://exo-elog.stanford.edu.  My question is, how can I run elog so that
> when someone types in this name, it brings up my elog? I know that I can make a VirtualHost entry and put a
> redirect at the document root of that virtual host, but that seems clumsy.  Can I just modify ProxyPass or add a
> Redirect statement somehow?

To my knowledge you need a VirtualHost entry, plus a "URL = http://exo-elog.stanford.edu" entry in elogd.cfg
icon5.gif   2.6.0-bata5, posted by Carl Shirey on Sat Dec 10 02:01:33 2005 
Do you have 2.6.0-bata5 for linux as setup for RPM install. I was able to locate the version for windows but not for linux.
Thanks for your help.
    icon2.gif   Re: 2.6.0-bata5, posted by Stefan Ritt on Wed Dec 21 20:39:52 2005 

Carl Shirey wrote:
Do you have 2.6.0-bata5 for linux as setup for RPM install. I was able to locate the version for windows but not for linux.
Thanks for your help.


There is a 2.6.0 out by now.
icon5.gif   duplicate & presets, posted by Willem Koster on Mon Dec 12 15:17:39 2005 
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) :-) 

 
    icon2.gif   Re: duplicate & presets, posted by Stefan Ritt on Wed Dec 21 20:24:14 2005 
> 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 fixed that in the SVN revision 1583. The fix will be contained in the upcoming version 2.6.1.
icon3.gif   Howto insert screen dumps into an elog entry, posted by Stefan Ritt on Tue Dec 20 11:17:17 2005 elc_image.pngCapture.jpg
With the new ELCode tags, one can insert screen dumps pretty easy into elog entries. I personally use HoverSnap 0.8 under Windows, there are similar tools under Linux. HoverSnap puts a "Capture.jpg" file in a selectable directoy when you press PrintScreen, then you can instert this file with the button. Here is such a screendump example:

icon3.gif   Shell substitution, especially interesting for running online experiments, posted by Stefan Ritt on Tue Dec 20 09:18:19 2005 
Shell substitution has been introduced in an experimental state of the current SVN version of ELOG. It woks such that the subsititution list can contain $shell(<argument>) commands. The <argument> is passed to the shell of the operating system and the result is captured and subsituted. This is handy for online experiments, where one wants to pass information automatically to elog. Assume that there is a file /tmp/runnumber containing the current run number of the experiment. All one needs to put the current run number in an attribute "Run number" is the following line in the configuration file:

Preset Run number = $shell(cat /tmp/runnumber)

This subsitution works also for the main text body. Following option will put a calendar of the current month into the text body:

Preset text = $shell(cal)

note that shell subsitution works both on Windows and Unix, the "cat" and "cal" commands are however only present under Unix, but "cat" can be replaced with its Windows counterpart "type".
icon5.gif   Bad date format., posted by Alex H on Thu Dec 15 15:33:04 2005 elog.gifelog2.gif
Hi Stefan,

I have two loogbook who are using the Type Derniere image = Date parameter, but I obtain a big
number instead of a formated date.

On my logbook "liste" (Look on the first attachement elog.gif please to watch the problem.)
I obtain this problem.
Here is the part of the elogd.cfg file for logbook "Liste" :
[Liste]
Theme = Bubble
Comment = Liste des routeurs / firewall clients
Type Dernière image = Date
List display = Client, Nom machine, Type, Equipment, Emplacement, Nom_admin, Pwd_admin, Maint, Derniere image
Link display = Client, Nom machine, Type, Equipment, Emplacement, Maint, Derniere image
Attributes = Client, Nom machine, Equipment, Type, Emplacement, Nom_admin, Pwd_admin, Maint, Derniere image
Extendable options = Client, Equipment
Options Type = FWL1{1}, FWL2{2}, FWL4{3}, VPN1{4}, VPN2{5}, CLIVPN-PROC{6}
{1} Preset text = FWL1.txt
{2} Preset text = FWL2.txt
{3} Preset text = FWL4.txt
{4} Preset text = VPN1.txt
{5} Preset text = VPN2.txt
{6} Preset text =
Preset Author = $short_name
Options Maint = Oui, Non
Required Attributes = Client, Type, Equipment, Nom machine, Maint
Locked Attributes = Author
Page Title = ELOG - $Nom machine
Reverse sort = 0
Quick filter = Client, Type, Maint
Summary lines = 2
Entries per Page = 50
Case sensitive search = 1



On my logbook "Image Routeurs" (Look on the second attachement elog2.gif)
No Problem
Here is the part of the elogd.cfg file for logbook "Liste" :
[Image Routeurs]
Theme = Bubble
Comment = Image Routeurs
Type Derniere Image = Date
Attributes = Equipment ,Client, Derniere Image
List display = Equipment ,Client,Derniere Image
Preset Author = $short_name
Locked Attributes = Author
Page Title = ELOG - $Equipment
Sort Attributes = Equipment
Reverse sort = 0
Quick filter = Equipment, Client
Reverse sort = 1
Sort Attributes = Equipment
Summary lines = 1
Display mode = Summary



What is wrong with my configuration ?
Thanks for answer.
    icon2.gif   Re: Bad date format., posted by Stefan Ritt on Thu Dec 15 17:33:39 2005 

Alex H wrote:


[Liste]
Type Dernière image = Date

[Image Routeurs]
Type Derniere Image = Date



Maybe your additional accent. The attribute list contains Derniere Image, but in your first logbook you say Type Dernière image with accent grave, so this are not the same words.
       icon14.gif   Re: Bad date format., posted by Alex H on Mon Dec 19 09:41:08 2005 

Stefan Ritt wrote:

Alex H wrote:


[Liste]
Type Dernière image = Date

[Image Routeurs]
Type Derniere Image = Date



Maybe your additional accent. The attribute list contains Derniere Image, but in your first logbook you say Type Dernière image with accent grave, so this are not the same words.


It's work now !
Thanks Smile!
ELOG V3.1.5-3fb85fa6