Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Configuration examples for ELOG, Page 2 of 2  Not logged in ELOG logo
ID Date Author Author Email Category Configuration Nameup Last Revision
  9   Mon Feb 16 21:10:18 2004 Stefan Rittstefan.ritt@psi.chDatabase likeVisitor registrationTue Feb 17 09:41:07 2004 by Stefan Ritt
This configuration example shows a few of the newly developed advanced 
options. We use it at our institute as a visitor registration database. 
Before someone from our collaboration visits the institute, she/he has to 
register on this public logbook.

Following advanced functionality is used:

- The arrival and departure dates are attributes of type "date". This way 
a visitor can select the date from the date picker. In addition, the 
entries can be sorted according to the arrival date. Using a quick filter 
on arrival date, one can show the new arrivals for the next week, next 
month and so on. By adding a bookmark to the browser in the form

http://server.domain/Visitor%20Registration/?Arrival+date=7

one can click on that bookmark to see who will come in the upcoming week. 
Using the find page, one can query the database for arbitrary arrival and 
departure dates, like "who was here last year between May and July?".

- The "visitor" and "email" attributes are preset with the name and email 
of the current user. Of course every user has to register on that logbook 
(enabled with "self register = 2")

- The attribute "Home Institute" can be chosen from a list of preset 
institutes. Using the home institute as a conditional attribute, the elogd 
server fills in automatically the fax number of the institute (see the 
list {1},{2}, ...) after it has been selected.

- Email notifications are set up such that on each new registration, an 
email is sent to stefan.ritt@psi.ch, and an email is sent to 
radiation@psi.ch if the check box "Radiation badge" is checked. Please 
change the smtp server host name to make email notifications work.

elog:/1 shows an example entry screen.
  1   Wed Feb 26 09:07:44 2003 Stefan Rittstefan.ritt@psi.chOtherWelcomeMon Apr 18 22:43:47 2005 by Stefan Ritt
Welcome to the "Config Examples" logbook. This database contains elogd.cfg 
examples from various users, showing how ELOG can be configured for various 
purposes. Feel free to use these configuration files as a starting point 
for your own logbook.

To enter a new configuration example, you have to register an account on 
the "Forum" logbook, then you can log in with the same username and 
password to this database.

Then you are supposed to upload your "elogd.cfg", but I suggest to first 
rename it locally to "elogd.txt" and then upload it. This way it gets 
automatically displayed below the message body, so people can see the 
message body and the contents of the configuration file at the same time.

If you want to revise your entry at a later time, hit 'edit', delete your 
old attachment, and submit your new 'elogd.txt' file.
  8   Tue May 27 07:43:01 2003 Etienne Van Caillieetienne.vancaillie@mba.beCSS Fileelog css and class namesMon Feb 16 20:45:54 2004 by Stefan Ritt
sample of standard elog css and class name
http://public.mba.be/demo/elog/elog_test_css.htm
  19   Sat Nov 16 03:24:38 2019 Carl Makincarl@stagecraft.cxOthernginx proxy configurationSat Nov 16 03:27:21 2019 by Carl Makin
To put nginx as a proxy in front of elog you need to use the following proxy statements in the nginx config;

This will let you use <site>/elog/ as your URL.

    location /elog/ {
        proxy_pass http://127.0.0.1:8080/;
        proxy_pass_header Set-Cookie;
        proxy_redirect off;
        proxy_set_header Host $host;
    }
  13   Mon Jul 10 21:48:23 2006 Arno Teunissearno.teunisse@hetnet.nl Personal Logbookwebmouse 
trying to write a time keeping system with elog. At work this is done with an Excel Sheet. Was just trying to see if it could be done with elog. And Yes it can be done. There is only one disadvantage : it's very slow in stating up. Has this to do with the large listings I've included into the configutation file , or is there something wrong in my config file.???

Is there somebody with an advice for this one ??
  14   Tue Jul 11 09:10:44 2006 Stefan Rittstefan.ritt@psi.chPersonal Logbookwebmouse 

Arno Teunisse wrote:
There is only one disadvantage: it's very slow in stating up. Has this to do with the large listings I've included into the configutation file , or is there something wrong in my config file.?


This has to do with the extensive use of conditional attributes. It has been reported by someone else recently and there is a fix: Just upgrade to Version 2.6.1-7 (SVN revision 1696). Also read the note about List conditions in the documentation.
  15   Tue Jul 11 10:24:40 2006 Arno Teunissearno.teunisse@hetnet.nlPersonal Logbookwebmouse 

Stefan Ritt wrote:

Arno Teunisse wrote:
There is only one disadvantage: it's very slow in stating up. Has this to do with the large listings I've included into the configutation file , or is there something wrong in my config file.?


This has to do with the extensive use of conditional attributes. It has been reported by someone else recently and there is a fix: Just upgrade to Version 2.6.1-7 (SVN revision 1696). Also read the note about List conditions in the documentation.


Thanks for you're quick answer. I'm running version SVN 1695 ( which is the latest ) on windows. SVN 1696 is not available for this Operating System.
  16   Tue Jul 11 10:38:44 2006 Stefan Rittstefan.ritt@psi.chPersonal Logbookwebmouse 

Arno Teunisse wrote:
I'm running version SVN 1695 ( which is the latest ) on windows. SVN 1696 is not available for this Operating System.


It is. Just use Version 2.6.2 which I released just now.
  17   Tue Jul 11 22:27:25 2006 Arno Teunissearno.teunisse@hetnet.nlPersonal Logbookwebmouse 

Stefan Ritt wrote:

Arno Teunisse wrote:
I'm running version SVN 1695 ( which is the latest ) on windows. SVN 1696 is not available for this Operating System.


It is. Just use Version 2.6.2 which I released just now.



Hello Stefan


Have some problem with elog. just upgraded to version 2.6.2. revision 1699 for windows

Below is the example from the "man-page"

[New_test]
List conditions = 1 /* for version 2.6.2 revision 1699 */

Attributes = PC Name, Operating System, Version, Location, Floor
Options Operating System = Linux{1}, Windows{2}
Options Location = Main Building{a}, New Building{b}, Old Building{c}
{1} Options Version = 2.2, 2.4, 2.6
{2} Options Version = ME, 2k, NT, XP
{a} Options Floor = Ground, First, Second
{b,c} Options Floor = Ground, First


If I use the above on version :
elogd 2.6.1 built Jul 5 2006, 12:49:34 revision 1695
Indexing logbooks ... done
Server listening on port 80 ...

All is working fine . But using verion 2.6.2 revision 1699 , No matter the option : List conditions = 1
The Floor options will not be displayed.

Maybe I'm missing something about the "list display" .

Can you show me a correct example. ??
  18   Thu Jul 13 15:13:04 2006 Stefan Rittstefan.ritt@psi.chPersonal Logbookwebmouse 

Arno Teunisse wrote:
Have some problem with elog. But using verion 2.6.2 revision 1699 , No matter the option : List conditions = 1
The Floor options will not be displayed.


This does not have anything to do with List conditions but with a bug I introduced in 1696. I fixed it now in 1702. I will soon make a 2.6.2-2 containing that fix.
ELOG V3.1.5-2eba886