Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 626 of 807  Not logged in ELOG logo
ID Datedown Icon Author Author Email Category OS ELOG Version Subject
  1522   Mon Nov 21 10:41:46 2005 Smile Carlos Mateocmateo@indra.esQuestionWindows2.6.0beta5Re: Automatic creation of new entry in another logbook

Stefan Ritt wrote:

Carlos Mateo wrote:
I am trying to create an entry in logbook2 when I submit a new entry in logbook1. The automatically created entry in logbook2 will have a reference to the entry that created it.


Please tell me for what purpose you need two identical logbooks. Maybe what you want can be achieved in a simpler way.

They are not identical. They just share some information


Carlos Mateo wrote:
1.- Using the "Execute new" I call elog to create the second entry. As the server is single-process, it locks: elog is waiting for elogd to be ready and elogd is waiting for elog to finish to accept new requests. As my server is on a Windows machine I can´t execute elog on background.


Have you tried to start your elog with the start command under Widnows, like start elog .... This is the equivalent of starting a process in the background under linux.

Thank you. It works with start!


Carlos Mateo wrote:
2.- I tried to run 2 servers on different ports using the same elogd.cfd file, calling the second server from elog. This "almost" works: the logbook files are updated, but the original server must be restarted to "see" the changes.


This is because you use the same data directory for both servers. If one server writes a new entry to a file, the other server does not realize this. Only when you restart it, it rescans the whole data directory and gets aware of the new entry. Try using separate data directories for the two servers.


Carlos Mateo wrote:
3.- Using the "Menu text" option, I create a link to create the new entry. The problem is that attributes are not parsed: a link like this <a href="/logbook2/?cmd=New&pAttr=Value $ID">Test</a> won´t substitute $ID


Parsing attributes is not implemented and therefore will not work.


Thank you for your help
  1521   Sat Nov 19 11:57:49 2005 Smile Ulrich Trüsselulrich.truessel@familienhund.chQuestionWindows2.6.0beta5Re: Changing width in entry mode

Stefan Ritt wrote:

Ulrich Trüssel wrote:
Problem: see pic "Eingabe.jpg", if thre are more MOptions to select in entry mode, I have to scroll from right to left all the time. Ti s isn't really comfortable.


I had a nowrap statement in the MOptions check boxes, which should not be there. I removed that and now the options are wrapped nicely:



The problem is that in HTML, the check boxes and the associated text are sometimes ripped apart, i.e. the box appears at the right corner and the text at the next line. That's why I had the nowrap statement there.

This fix will be contained in the next release of elog.


Thank you Stefan!!! Smile

Just as an idea: Some People may find it usefull to have the norap statement in the code. If it's possible for a future release it may be nice to have a flag for this feature!
  1521   Sat Nov 19 11:57:49 2005 Smile Ulrich Trüsselulrich.truessel@familienhund.chQuestionWindows2.6.0beta5Re: Changing width in entry mode

Stefan Ritt wrote:

Ulrich Trüssel wrote:
Problem: see pic "Eingabe.jpg", if thre are more MOptions to select in entry mode, I have to scroll from right to left all the time. Ti s isn't really comfortable.


I had a nowrap statement in the MOptions check boxes, which should not be there. I removed that and now the options are wrapped nicely:



The problem is that in HTML, the check boxes and the associated text are sometimes ripped apart, i.e. the box appears at the right corner and the text at the next line. That's why I had the nowrap statement there.

This fix will be contained in the next release of elog.


Thank you Stefan!!! Smile

Just as an idea: Some People may find it usefull to have the norap statement in the code. If it's possible for a future release it may be nice to have a flag for this feature!
  1520   Fri Nov 18 21:48:33 2005 Reply Stefan Rittstefan.ritt@psi.chQuestionLinux2.6.0beta5Re: Passive elog mirrors

Yoshio Imai wrote:
Is it possible to install a "passive" elog mirror? We want to allow members of another institute to browse our logbook, but the connection is rather slow. The idea is now to set up an elog mirror at their site for faster access. Still, we should be the only ones who can add and edit the entries, so the update mechanism needs to be restricted in one direction. Is this possible at all? I didn't find any clues on that in the documentation ...


This is not implemented directly, but you can achieve it in several ways:

  • In the remote logbook, prohibit any modifications. You can do that with the Menu commands = ... option, where you just remove New, Edit, Reply and Duplicate.
  • Do not allow public write access, but public read access. The remote logbook server can read but not write. This requires a guest access, see the manual.
  • Create a special user, let's call it "mirroruser". Use this user to log in from the remote elog server by using the command Mirror user = mirroruser. Now restrict the right of this user via
    Deny New = mirroruser
    Deny Edit = mirroruser
    Deny Reply = mirroruser
    Deny Duplicate = mirroruser

  1519   Fri Nov 18 21:30:44 2005 Reply Stefan Rittstefan.ritt@psi.chQuestionWindows2.6.0beta5Re: Changing width in entry mode

Ulrich Trüssel wrote:
Problem: see pic "Eingabe.jpg", if thre are more MOptions to select in entry mode, I have to scroll from right to left all the time. Ti s isn't really comfortable.
I had a nowrap statement in the MOptions check boxes, which should not be there. I removed that and now the options are wrapped nicely:The problem is that in HTML, the check boxes and the associated text are sometimes ripped apart, i.e. the box appears at the right corner and the text at the next line. That's why I had the nowrap statement there.This fix will be contained in the next release of elog.
  1518   Fri Nov 18 21:09:01 2005 Reply Stefan Rittstefan.ritt@psi.ch Windows2.6Re: Send a email to E-log?

Dinesh Bapat wrote:
Is it possible to send an email to Elog and record an entry automatically?
Have a look at elog:Contributions/10
  1517   Fri Nov 18 21:03:03 2005 Reply Stefan Rittstefan.ritt@psi.chQuestionWindows2.6.0beta5Re: Automatic creation of new entry in another logbook

Carlos Mateo wrote:
I am trying to create an entry in logbook2 when I submit a new entry in logbook1. The automatically created entry in logbook2 will have a reference to the entry that created it.
Please tell me for what purpose you need two identical logbooks. Maybe what you want can be achieved in a simpler way.
Carlos Mateo wrote:
1.- Using the "Execute new" I call elog to create the second entry. As the server is single-process, it locks: elog is waiting for elogd to be ready and elogd is waiting for elog to finish to accept new requests. As my server is on a Windows machine I can´t execute elog on background.
Have you tried to start your elog with the start command under Widnows, like start elog .... This is the equivalent of starting a process in the background under linux.
Carlos Mateo wrote:
2.- I tried to run 2 servers on different ports using the same elogd.cfd file, calling the second server from elog. This "almost" works: the logbook files are updated, but the original server must be restarted to "see" the changes.
This is because you use the same data directory for both servers. If one server writes a new entry to a file, the other server does not realize this. Only when you restart it, it rescans the whole data directory and gets aware of the new entry. Try using separate data directories for the two servers.
Carlos Mateo wrote:
3.- Using the "Menu text" option, I create a link to create the new entry. The problem is that attributes are not parsed: a link like this <a href="/logbook2/?cmd=New&pAttr=Value $ID">Test</a> won´t substitute $ID
Parsing attributes is not implemented and therefore will not work.
  1516   Fri Nov 18 19:57:03 2005 Question Yoshio ImaiQuestionLinux2.6.0beta5Passive elog mirrors
Hi!Is it possible to install a "passive" elog mirror? We want to allow members of another institute to browse our logbook, but the connection is rather slow. The idea is now to set up an elog mirror at their site for faster access. Still, we should be the only ones who can add and edit the entries, so the update mechanism needs to be restricted in one direction. Is this possible at all? I didn't find any clues on that in the documentation ...ThanksYoshio
ELOG V3.1.5-3fb85fa6