ID |
Date |
Icon |
Author |
Author Email |
Category |
OS |
ELOG Version |
Subject |
66859
|
Tue Jul 27 10:46:27 2010 |
| Johan Schuring | johan.schuring@getronics.com | Question | All | 2.7.5 | Mail when elog entry is expired |
Hi,
Is it possible to set a timestamp on an elog entry say for about 5 days in the future, when it is expired and there are no modifications with the entry you will get a mail.
I cannot find it with search in this forum or is the guides.
It can be very handy when it is possible.
When it is not available, is it possible to make a feature request for it.
Thank you,
Johan |
66858
|
Mon Jul 26 11:41:44 2010 |
| soren poulsen | soren.poulsen@cern.ch | Question | Linux | 2.7.8 | Re: Subst variables and Execute |
soren poulsen wrote: |
Stefan Ritt wrote: |
soren poulsen wrote: |
Hi
I am trying to use this line from the documentation:
Execute new = echo "New message wiht ID $message id of type $type from $long_name on $remote_host" >> /tmp/elog.log
It does not seem to have the intended effect (of printing a line with the message id, etc in the file /tmp/elog.log
)
How can I make this line work ?
Soren
|
Have you started the server with the "-x" flag as written in the documentation?
|
Thanks a lot for replying despite the heat. Yes, I executed with the "-x" flag.
It is just a quoting problem, I guess. This line works:
Execute new = echo New message with ID $message id of type $type from $long_name on $remote_host >> /tmp/elog.log
It evaluates to:
SHELL "echo New message with ID 24706 of type elogtype from Soren Poulsen on 137.138.22.11 >> /tmp/elog.log"
So next step is to replace "new" with "edit" and "delete".
That works as well.
Soren
|
There is sometimes a problem with substitutions like "Execute delete = echo $message id".
It seems the problem is that if you delete a logbook entry that is not created with the current logbook attributes, the substitution variables are replaced with the variable name, and not the variable value.
In this example, according to the log file it becomes SHELL "message id" instead of SHELL "234", if the logbook entry is 234.
Soren |
66857
|
Thu Jul 22 16:59:00 2010 |
| Chuck Brost | Brost_chuck@solarturbines.com | Bug report | Windows | 2.7.8 | More adventures with SSL |
Stefan,
Everything has been working great since we last spoke (Version 2.7.8), until InfoSec decided to change how the Certs were created. Now they come with a little bit of code in the .key file before the Hash.. when I put the new .CRT and .KEY in the SSL folder I am asked on starting Elogd to provide a "PEM PassPhrase". As you can expect, if you do not enter one, or the incorrect one, it does not just turn off SSL, it exits the program. The key begins like this in the new versions:
-----BEGIN RSA PRIVATE KEY-----
Proc-Type: 4,ENCRYPTED
DEK-Info: DES-EDE3-CBC,ACF4A8B263EAA51D
(that little encode piece on the end is not the actual one in the key. I am assuming it is a passphrase key so it will know what the right passphrase is that should be entered.
We are assuming that this is the "Install password" they have set up to use to install the certs on all of the IIS servers we have. If that is indeed the case.. Does elog save this passphrase somewhere? does Elog save it in the registry? does it save it encrypted? Or with access security permissions set on the keys? I have a feeling that the answer to most of this is probably "no", but to know where we go from here, that is the place to start.
Thanks
Chuck |
66856
|
Thu Jul 22 15:51:50 2010 |
| Andreas Luedeke | andreas.luedeke@psi.ch | Question | Linux | 2.7.8 | Re: drop in replacement for FCKeditor? |
Bill Pier wrote: |
Stefan Ritt wrote: |
Bill Pier wrote: |
Is it possible to use a drop-in replacement for the FCKeditor?
|
What is a drop-in replacement?
|
A configuration option to specify a different/alternate javascript based editor.
|
There is an firefox addon "It's all text" that allows you to call your own editor for all textarea fields in the browser.
If you then choose "plain" or "ELCode" encoding in ELOG for a new entry or to modifiy an existing entry, you can use your favourite editor to edit the entry by an new "EDIT" button associated with the textarea input field. It works simply by temporary files.
Not really a "drop-in" replacement, but similar.
|
66855
|
Thu Jul 22 10:17:29 2010 |
| soren poulsen | soren.poulsen@cern.ch | Question | Linux | 2.7.8 | Re: Subst variables and Execute |
Stefan Ritt wrote: |
soren poulsen wrote: |
Hi
I am trying to use this line from the documentation:
Execute new = echo "New message wiht ID $message id of type $type from $long_name on $remote_host" >> /tmp/elog.log
It does not seem to have the intended effect (of printing a line with the message id, etc in the file /tmp/elog.log
)
How can I make this line work ?
Soren
|
Have you started the server with the "-x" flag as written in the documentation?
|
Thanks a lot for replying despite the heat. Yes, I executed with the "-x" flag.
It is just a quoting problem, I guess. This line works:
Execute new = echo New message with ID $message id of type $type from $long_name on $remote_host >> /tmp/elog.log
It evaluates to:
SHELL "echo New message with ID 24706 of type elogtype from Soren Poulsen on 137.138.22.11 >> /tmp/elog.log"
So next step is to replace "new" with "edit" and "delete".
That works as well.
Soren
|
66854
|
Thu Jul 22 00:31:54 2010 |
| David McKee | dmckee@phys.ksu.edu | Question | All | 2.7 | What *exactly* do "clone" and "mirror" do? |
We have been hosting logbook far (geographically and in internet hops) from our experimental site. Recently we have (finally!) gotten reliable on-site internet, and would like to host the log book on-site.
I have a suspicion that some combination of the -C, -m, and -M flags will allow me to migrate the logbook automagically and with a minimum risk of trouble from concurrent operation on the logbook, and to maintain the existing version as a mirror of the new official on-site version. But documentation is not being very helpful. Can someone say a few more words about what these options do?
I've been experimenting as I compose this and have a suggestion for language that might be useful somewhere in the documentation:
In this context "to clone" means to copy the configuration file and all data files associated with a log book so that I can host an identical logbook on a new host (that is this is the command to migrate a logbook). After cloning the two installation are identical, but no effort is made to keep them so: if you continue to run both copies post made to one will not be reflected in the other.
Is this correct?
I'm still not clear on what the -m and -M options do. |
66853
|
Wed Jul 21 16:38:05 2010 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Linux | 2.7.8 | Re: Subst variables and Execute |
soren poulsen wrote: |
Hi
I am trying to use this line from the documentation:
Execute new = echo "New message wiht ID $message id of type $type from $long_name on $remote_host" >> /tmp/elog.log
It does not seem to have the intended effect (of printing a line with the message id, etc in the file /tmp/elog.log
)
How can I make this line work ?
Soren
|
Have you started the server with the "-x" flag as written in the documentation? |
66852
|
Wed Jul 21 16:26:17 2010 |
| soren poulsen | soren.poulsen@cern.ch | Question | Linux | 2.7.8 | Subst variables and Execute |
Hi
I am trying to use this line from the documentation:
Execute new = echo "New message wiht ID $message id of type $type from $long_name on $remote_host" >> /tmp/elog.log
It does not seem to have the intended effect (of printing a line with the message id, etc in the file /tmp/elog.log
)
How can I make this line work ?
Soren
|