Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 685 of 807  Not logged in ELOG logo
ID Date Icon Author Author Email Category OS ELOG Version Subjectdown
  66984   Fri Jan 14 00:07:01 2011 Entry JacekKdoctor99@poczta.onet.plBug reportAll2.8.0New entries are not visible from other logbooks based on the same logbook dir through Subdir

Hi,

I have two logbooks based on the same data directory through "Subdir" option and when I add new entry in one logbook, then that entry is not visible in other logbook.

I suppose it is a bug in el_submit function, where I think the new message should be added to message index of every logbook based on the same data directory as the one, where the message was physically created. 

There is a piece of code, which I think should do this automatically

/* if other logbook has same index, update pointers */

but it seems the other logbooks does not have the same index. 

I'm new to elog and the sources are also new to me, so my guess to the ground of the problem may be wrong.

Let me know is this bug possible to fix in near future.

 

Best regards,

Jacek

  141   Tue Sep 24 17:24:46 2002 Idea Stefan Rittstefan.ritt@psi.ch   New elogd.cfg for this site
Since the way ELOG works has changed in version 2.2.0 (show message list as 
default view), the configuration file elgod.cfg for this site became 
slightly simpler. The usual "Start page = ?cmd=Search" is not necessary any 
more due to the changed default view. The commands displaying the last x or 
last x days of messages are still working, but depreciated, since the "Show 
last xxx" facility takes care of that. The default menu commands have been 
change which reflect the modified default view. The single elog page now 
has a "back" link instead the find result page.

Here is the updated version:

======= cut here ========

[global]
logbook tabs = 1
SMTP host = mailsend.psi.ch
URL = http://midas.psi.ch/elogdemo/
user = midas
group = midas
Logout to main = 1

[Linux]
Theme = default
Comment = General linux Tips & Tricks
Data dir = /usr/local/elogdemo/logbooks/Linux
Attributes = Author, Type, Icon, Category, Subject
Options Type = Routine, Software Installation, Problem Fixed, 
Configuration, Tips & Tricks, Info, Other
IOptions Icon = icon1.gif, icon3.gif, icon4.gif, icon5.gif, icon6.gif, 
icon7.gif, icon8.gif, icon12.gif, icon13.gif, icon14.gif
Options Category = General, Hardware, Software, Network, Applications, 
Shell, Account, Packages, Daemons, Other
Required Attributes = Author
Subst Author = $author
Summary on default = 1
Summary lines = 0
Email all = stefan.ritt@psi.ch
Email message body = 1

[Database]
Theme = default
Comment = Demo of database-like elog
Data dir = /usr/local/elogdemo/logbooks/database
Attributes = Type, Operating system, Location, Status, Comment
Required Attributes = Type, Operating system, Location, Status
Options Type = PC, Router, Bridge
Options Operating system = Linux, Windows NT, Windows 2000, Windows XP, 
Windows ME, Embedded
Options Location = Building1, Building2, Building3
Options Status = working, defect, in repair
Show text = 0
Display search = #, Type, Location, Status
Summary lines = 0
Number Attachments = 0
Suppress default = 2
Entries per page = 10

[Forum]
; general options
Password file = /usr/local/elogdemo/logbooks/forum/passwd
Admin user = stefan
Self register = 2
Theme = default
Comment = Discussion forum about ELOG
Data dir = /usr/local/elogdemo/logbooks/forum
Display mode = threaded
Guest menu commands = Back, Find, Login, Help
Guest find menu commands = Find, Login, Help
Number Attachments = 1
Message comment = <img src=icons/icon6.gif> Please enter only serious 
messages here, for testing use the <b>Linux</b> Logbook:
Filtered browsing = 0
Entries per page = 8
Reverse sort = 1
Restrict edit = 1

; Attributes
Attributes = Icon, Author, Author Email, Category, Subject
Options Category = Info, Bug report, Bug fix, Question, Request, Comment, 
Other
IOptions Icon = icon1.gif, icon2.gif, icon3.gif, icon4.gif, icon5.gif, 
icon6.gif, icon7.gif, icon8.gif, icon12.gif, icon13.gif, icon14.gif
Required Attributes = Author, Author Email, Subject, Icon
Subst on reply subject = Re: $subject
Thread display = $subject, posted by $author on $Entry date
Thread icon = Icon
Remove on reply = Author, Author Email
Date format = %B %d, %Y
Preset Author = $long_name
Preset Author Email = $user_email
Locked Attributes = Author

; Email notification
Email message body = 1
Display Email recipients = 0
  69644   Fri Feb 3 16:54:57 2023 Entry Stefan RittA stefan.ritt@psi.chInfoLinux | Mac OSX3.1.5New elog version 3.1.5

A new version 3.1.5 of elog has been released with all accumulated fixes over the past actually few years. I made a tar file, a RPM, but I could not compile yet a windows version.

https://elog.psi.ch/elog/download.html

Best,
Stefan

  68411   Mon Sep 5 10:31:02 2016 Idea Stefan Rittstefan.ritt@psi.chInfoAll3.1.2New elog version 3.1.2

A new version 3.1.2 of elog has been released today and can be retrieved through the normal download section. Since it fixes some vulnerabilities, it is recommended to update to this version.

Stefan

  68771   Mon Mar 26 16:32:43 2018 Idea Stefan Rittstefan.ritt@psi.chInfoAll3.1.2-0914a6New elog setting for large attachments

Most mail delivery systems have a maximum size for attachments. In the past, if an elog attachment was larger than this size, the email server refused to accept this email and no notification is sent. Now one can specify the maximum allowed email attachment size with

Max email attachment size = <n>

where <n> is the number of bytes. If an email attachment is larger than <n>, the attachment is not sent with the email notification, but rather replaced by a link to the elog server for that attachment. By clicking on the link in the email notification, a browser will then open and download the large attachment. For each each elog installation, the admin has to figure out what the maximum attachment size of their SMTP server is, and then put this number into the elogd.cfg setting  above. For most installations, the default of 10 MB will just work fine.

Stefan

  69871   Wed Apr 2 13:01:34 2025 Warning Liam Gaffneyliam.gaffney@liverpool.ac.ukBug reportLinuxcommit 30ada1dfNew elog from template should update the subdir

Hello. We are using explicity subdir names on our elog server to manage a large number of "Top groups" and sub "groups". When we create a new logbook from a template in the same group, it would be beneficial to automatically give a new subdir based on the previous one. At the very least, it should not reuse the same parameter as the template (see below).

At the moment, it copies the subdir parameter from the template logbook, which results in the new logbook writing to the same location as the template. That is very confusing and has the potential to be harmful as people can (and recently did) decide to delete these "duplicate" entries. But they are not duplicates, they are the exact same entries as the template logbook and deleting them removes them forever!

The way around this at the moment is to manually update the subdir after copying, but then the logbooks need to be re-indexed before the new logbook will display correctly. That requires a manual restart of the elogd process, which is less than ideal. 

  1562   Thu Dec 22 01:17:12 2005 Question PJ Meyerpjm@pjmeyer.orgQuestion 2.6New docs?
Just looked at change log for 2.6
was wondering where the documentation for the new additions/changes is/are.
  189   Tue Jan 7 17:48:25 2003 Idea Stefan Rittstefan.ritt@psi.ch   New directory scheme from version 2.2.5 on
Starting from version 2.2.5 on, an new directory scheme has been 
implemented. The idea is to separate the config file from the theme/icon 
and the logbook directories. This can now be achieved by specifying the 
configuration file via the "-c" flag and the directories with the "-d" flag 
for the logbook root and the "resource directory" with the "-s" flag.

Alternatively, the resouce and logbook directories can be specified in the 
configuration file with

Resource dir = ...
Logbook dir = ...

The old "Data dir" statement is still possible but deprecated. Instead, the 
statement "Subdir = ..." should be used which is taken relative to 
the "Logbook dir". If no "Subdir" is given, the logbook name itself is used 
as the subdir. For this demo logbook I use now:

[global]
...
Resource dir = /usr/local/elogdemo
Logbook dir = /usr/local/elogdemo/logbooks

and no "Data dir" statements any more. The logbooks "Linux", "Database" 
and "Forum" are then located at

/usr/local/elogdemo/logbooks/Linux
/usr/local/elogdemo/logbooks/Database
/usr/local/elogdemo/logbooks/Forum

respectively. The help, theme and icon files are located at their old 
position ("themes" is automatically added to the "resource dir" as it was 
before).
ELOG V3.1.5-3fb85fa6