Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 548 of 808  Not logged in ELOG logo
ID Date Icon Author Author Email Category OS ELOG Version Subject
  2146   Thu Mar 1 15:27:31 2007 Question An Thaithaithan@gmx.deQuestionWindows2.6.4.1801Re: Conditional Email Notification by a text file
Dear All,

I have got very good feedback from my colleagues about Elog logbook which I have made at my work since October 2006. The tool is going to use improving.

At moment, I don't let Elog start as a service (deamon), but as an application (start from a *.bat file). Because I just want to enable of "elogd -x" for reading of email list in an external file. But this cause that Elog cannot be set to automatically restart after a crash. (As a service in Windows, you can set it restart immediatly after crash)

I don't find anywhere in the administrator's guide how I can set the option 'elogd -x' while installing Elog to get a service with '-x' option.

Do you know it?


Dear Stefan,
could you enable it for the install download file for Windows?
  2145   Wed Feb 28 21:04:59 2007 Idea Stefan Rittstefan.ritt@psi.chInfoAll2.6.4-1801Simple table implemented in ELCode
Starting from SVN revision 1801, simple tables are supported in ELCode tags. One can now embed tables in elog entries like this:
[table border=3 cellpadding=10]
One | Two
|-
Three | Four
[/table]

which produces following table:

One Two
Three Four


The syntax is explained in the ELCode help page.
  2144   Tue Feb 20 21:10:28 2007 Reply Stefan Rittstefan.ritt@psi.chCommentLinux2.6.4Re: Hardcoded Path in Makefile

Martin Killenberg wrote:
I tried to compile ELOG on Scientific Linux Cern 4.4 and found that make quits because uname is not located in /usr/bin (like it is hardcoded in the makefile) but in /bin.
Later I found that this is only the case in the svn version, in the "latest.tar.gz" from 2007/02/20 the path is /bin.
Why do you have the absolute path in the Makefile? uname should be in the default path on any system. (The same applies to "rm")

I also was confused that you only provide one rpm Package (except for debian) without mentioning for which distribution. You try to avoid dependencies, but the elogd is linked against the basic libraries libc and ld-linux, which might vary.


Ups. The hard-coded /usr/uname somehow sneaked in from some temporary test. I removed it in the current SVN.

Indeed the RPM package I provide is built under Scientific Linux. The Debian port is done by someone else. Unfortunately I don't have ten boxes with all possible distributions laying around, so my possibilities are quite limited and I depend on third party help. If you want to contribute additional RPMs you are welcome.
  2143   Tue Feb 20 18:41:31 2007 Entry Martin Killenbergmartin.killenberg@web.deCommentLinux2.6.4Hardcoded Path in Makefile
I tried to compile ELOG on Scientific Linux Cern 4.4 and found that make quits because uname is not located in /usr/bin (like it is hardcoded in the makefile) but in /bin.
Later I found that this is only the case in the svn version, in the "latest.tar.gz" from 2007/02/20 the path is /bin.
Why do you have the absolute path in the Makefile? uname should be in the default path on any system. (The same applies to "rm")

I also was confused that you only provide one rpm Package (except for debian) without mentioning for which distribution. You try to avoid dependencies, but the elogd is linked against the basic libraries libc and ld-linux, which might vary.
  2142   Mon Feb 19 20:46:39 2007 Reply bobbobgrang@yahoo.frQuestionLinux | WindowsV2.6.3-177Re: Required and {}

Stefan Ritt wrote:

bob wrote:
generally, can one handle "Required" and "{}" or "{ , }", ...


For simple configuration files, that should work. If I have for example:
Attributes = Author, Type, Category, Subject
Options Type = Routine{r}, Software Installation{s}, Problem Fixed{p}, Configuration, Other

{r} Required Attributes = Author

Then the attributes "Author" is only required if "Type" equals "Routine".



you are right, I try to re-examine my configuration and I will say to you
  2141   Mon Feb 19 11:29:03 2007 Reply Stefan Rittstefan.ritt@psi.chQuestionLinux2.6.3-1762Re: Preset of a drop-down box entry with a "%" character

Tobias Bagger wrote:
How do I preset a drop-down box entry which contains a % character?


The problem was that '%' is used in auto-generated preset tags like XYZ-%Y-%b-### (see documentation). I made the auto-generation a bit more clever such that it only tries to interprete any '%' if there is any '#'. The fix is in elog version 2.6.4.
  2140   Sun Feb 18 10:51:13 2007 Question Tobias Baggertobiasb@trashmail.netQuestionLinux2.6.3-1762Preset of a drop-down box entry with a "%" character
How do I preset a drop-down box entry which contains a % character?

I use following lines in the elogd.cfg:

Options list->ta = K - 0%, S - 10% (text a1), F - 20% (text a2)
Preset list->ta = K - 0%

The documentation says:
If a preset value is given for an attribute which has an options list, the preset value is selected in the drop down box by default.

But this doesn't work for me. I also tried

Preset list->ta = "K - 0%"
Preset list->ta = K - 0%%
Preset list->ta = K - 0\%

without success. What's the right way to do this?


Best regards
Tobias
  2139   Fri Feb 16 17:19:30 2007 Reply Stefan Rittstefan.ritt@psi.chQuestionLinux | WindowsV2.6.3-177Re: Required and {}

bob wrote:
generally, can one handle "Required" and "{}" or "{ , }", ...


For simple configuration files, that should work. If I have for example:
Attributes = Author, Type, Category, Subject
Options Type = Routine{r}, Software Installation{s}, Problem Fixed{p}, Configuration, Other

{r} Required Attributes = Author

Then the attributes "Author" is only required if "Type" equals "Routine".
ELOG V3.1.5-3fb85fa6