Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 115 of 807  Not logged in ELOG logo
ID Date Icon Author Author Email Category OSdown ELOG Version Subject
  66694   Mon Jan 25 09:28:18 2010 Reply Stefan Rittstefan.ritt@psi.chCommentWindows2.7.8Re: first install comments

Kenneth McFarlane wrote:

I am testing Elog for personal and group use. I am starting with a Windows install on a PC. (I came across Elog when doing a shift on ATLAS at CERN.)

It took me some time to discover how to access a local logbook and create a new one. I suggest adding short sections in a prominent place in the guides:

User guide:

"Accessing a logbook: To access a logbook, point your Web browser at the appropriate URL. The default for a local Elog is http://localhost:8080/logbookname. Logbook files are stored in directory logbookname which is a sub-directory of the logbook root directory, defined by the administrator. See the administrator guide on how to create a new logbook."

Admin guide:

"Creating a logbook: A logbook is created in three steps: 1) The logbook root directory is defined as an option of the elogd start command; 2) A sub-directory, of the logbook root directory, named logbookname is created; and 3) The elogd.cfg file is edited to define the logbook's attributes and options. No files are created in the sub-directory; that is done when entries are made."

Regards,

Ken McF

Dear Ken,

first of all thanks for trying to improve the documentation. For me as the developer it's always hard to imagine what people need to know, since I know already all about elog. Therefore I ask usually other people to write the documentation. The one for elog was written by Fred Pacquier.

When going through your comments, I realize that you had some problems on your first steps. But you say you have a Windows installation. If you use the normal installer, you get some entries in your "Start" menu under Windows, with which you can directly access your "demo" logbook which comes with the installation: Start -> All Programs -> ELOG -> Demo Logbook (requires running server). To create a logbook, just access your demo logbook, then clock on "Config", then you see a button "Create new logbook". Your point 1) mentioned above is actually not necessary if you use the default root directory. It might confuse people more than it helps. Point 2) is true, but only some internal database behavior, which might not be interesting to most users.

  66706   Tue Feb 9 18:49:10 2010 Question FX FREREfxfrere@neuf.frQuestionWindows2.7.8-2280could not get the threaded display working

Hi,

I have been trying to get the display mode into threaded by default, it does not work on any of my logbooks. I saw related threads in this forum but none gave me a solution (unless the 2.7.8-2282 is available for download).

Here is a simple example which i can not get working.

thanks for your help

FX

Attachment 1: elogd.cfg
[global]
Welcome Title            = 
<div style="text-align: center;">log-book.</div>
; Se puede poner un vinculo havcia un sitio web y cambiar la imagen ; Esta imagen debe encontrarse en el directorio \ELOG\themes\default Title image = <img border=0 src="logo.gif"> ; Para mas seguridad se puede cambiar el puerto de ELOG port = 2 ;Uso de https para la connexion SSL = 1 ; Se debe reemplazar estos datos con los datos del servidor de mail de la empresa si se debe (o quiere) mandar emails SMTP host = toto.com Language = spanish Main Tab = Accueil Bottom text = <div style="text-align: center;">Elog backups <img src="logo.png"></div> Email format = 111 logfile = Archivo_de_logs.txt Logging level = 2 ;Display mode = threaded ; Los usuarios deben crear una cuenta para poder utilizar la nueva herramienta Password file = Usuarios.txt Self register = 2 ; La contraseña nominal es: admin, se puede cambiar si necesario Admin user = administrador ; Si se quiere restringir los derechos de delete Allow Delete = administrador ; Si se quiere restringir los derechos de modificacion ; Allow Edit = administrador ; Si se quiere restringir los derechos de créacion ; Allow New = administrador Menu commands = List, Find, New, Delete, Reply, Logout, Help List Menu commands = Find, New, Logout, Help Guest Menu commands = List, Find, Login, Help Guest List Menu commands = Find, Login, Help [Backups del sistema] Theme = default Comment = test backup - Logbook Program Welcome title = <img src="logo.gif"><p><font size=5 color=white>Welcome to our Elog</font> Attributes = Usuario, Tarea, Fecha Operacion, Status, Subsistema, Base de Datos IOptions Status= "Delete-icon.png", "Check-icon.png" Icon comment Delete-icon.png = Failed Icon comment Check-icon.png = OK Thread Icon = Status Thread Display = $Fecha Operacion,$Tarea,$Subsistema Locked Attributes = Usuario Required Attributes = Usuario, Tarea, Fecha Operacion, Status, Subsistema, Base de Datos Preset Usuario = $long_name Options Tarea = Backup, Restore Options Subsistema = DBMGR {a}, MCH {b}, ALL {c} {a}MOptions Base de Datos = ALL BASES, base1, base2, base3, base4 {b}MOptions Base de Datos = ALL, BD1, BD2, BD3 {c} Locked Attributes = Usuario {c} Show Attributes Edit= Usuario, Tarea, Fecha Operacion, Status, Subsistema {c} Required Attributes = Usuario, Tarea, Fecha Operacion, Status, Subsistema Message comment = Commentarios: Type Fecha Operacion = date Preset Fecha Operacion = $date Mode commands = 1 Display Mode = threaded Page Title = Backups del sistema - $subject ;Reverse sort = 1 ;Quick filter = Date, Tarea, Subsistema
  66707   Tue Feb 9 18:54:22 2010 Question FX FREREfxfrere@neuf.frQuestionWindows2.7.8-2280can one use a IOption field for conditional tests?

Hi again,

I was wondering if one could use a conditional statement on an IOption attribute? Indeed i try to do a visual logbook (a green check for OK result, a red cross for NOK result), unfortunately i cannot refer to the attributes value for conditional test, e.g:

IOptions Status= "Delete-icon.png" {1}, "Check-icon.png"{2}
Icon comment Delete-icon.png = Failed
Icon comment Check-icon.png = OK

{1} Show Attribute Edit = Attribute1, Attribute2

Thread Icon = Status

Attribute1 and 2 do not have any sense if the result was successful,

ELOG interprets the {1} and {2} as being part of the icon name!

thanks again for your help

FX

  66708   Wed Feb 10 15:27:43 2010 Cool Paul O'Shaughnessypaul_o'shaughnessy@inmarsat.comRequestWindowsV2.7.8-228Last 3 days of log entries

Is it possible to create a drop down menu for the last 3 days of log entries. Currently we have the last day, month, 3 month, etc.

Reason being, after a weekend most people would like to view the log entries for the last three days. Can anyone help me out here?

  66709   Fri Feb 12 08:31:14 2010 Reply mike ciancimike2.cianci@comcast.netQuestionWindows2.7.5-2140Re: Grouping Logbooks

Stefan Ritt wrote:

 

mike cianci wrote:

I really appreciate your help and I hope that my questions warrant your time.

What I am trying to accomplish is two totally separate groups of logbooks that share a common logbook.

Three logbooks

Logbook A

Logbook B

Logbook C (just informational, write protected)

Two Groups

Top Group 1 = Logbook A, Logbook C

Top Group 2 = Logbook B, Logbook C

What is happening is everything looks good until you try to enter Logbook C from Group 1. You end up in Logbook C (the right logbook) but you are now in Group 2.

Actual Code:

;Groupings
Top Group Central = Centaur, On-LineHelps
Top Group Good Sam = GSH, On-LineHelps

You cannot put the same logbook into two groups. All you can do is to define two logbooks C1 and C2, and force their data directories to be the same (via the "Subdir = ..." directive), so they will actually look at the same data.

 Stefan, sorry to bother you yet again. but I can not seem to get the "Subdir" to do what I want (user error I am sure). Thanks for any help you can give.

[OnlineHelps]
Write Password = SWNlQ3ViZQ==
;DISPLAY
Theme = default
Display mode = threaded
Mode Commands = 0
List Menu commands = New, Find, Config

Thread display = --------------  $Title  --------------

Comment = On-Line Helps
Attributes = Title
Required Attributes = Title
Page Title = ELOG - $subject
Reverse sort = 1

[OLH.gsh]

Subdir = \\ssoelog\ELOG\logbooks\OnlineHelps
Write Password = SWNlQ3ViZQ==
;DISPLAY
Theme = default
Display mode = threaded
Mode Commands = 0
List Menu commands = New, Find, Config

Thread display = --------------  $Title  --------------

Comment = On-Line Helps
Attributes = Title
Required Attributes = Title
Page Title = ELOG - $subject
Reverse sort = 1

  66723   Mon Feb 22 13:21:14 2010 Reply David PilgramDavid.Pilgram@epost.org.ukRequestWindowsV2.7.8-228Re: Last 3 days of log entries
It is a good point, and surprised that this particular number of days was overlooked.

It only needs four lines added into elogd.c to achieve this.  Even with my notorious 
c coding, I did it first time, but as I'm on linux, not a great help for you.  Indeed, 
any other arbitary number of days could be added in, if you have the sources and means 
to recompile.

I think windows versions are only updated on version number, not svn number, so it will 
require a request to the great man himself(*) to produce a new version for windows.

(*)Hint; Stefan likes the occasional beer.


<p>
<table width="98%" align="center" cellspacing="1" style="border:1px solid #486090;">
<tbody>
<tr>
<td cellpadding="3px" style="background-color:#486090; font-weidht:bold; color:white;">Paul O'Shaughnessy
wrote:</td></tr>
<tr>
<td cellpadding="10px" style="background-color:#FFFFB0;"><p>Is it possible to create a drop down menu for the
last 3 days of log entries. Currently we have the last day, month, 3 month, etc.</p>
<p>Reason being, after a weekend most people would like to view the log entries&nbsp;for the last three days.
Can anyone help me out here?</p></td>
</tr>
</tbody>
</table>
</p><p> </p>
  66729   Sat Mar 6 19:13:55 2010 Agree Paul Paquetteppaquette@town.hampton.nh.usQuestionWindows2.7.8.2282Limit elog e-mail to only people involved with an entry

Howdy and Thank you in advance.

       Can I limit an elog entry mails to only go to my e-mail, my supervisor and the person who is entering the elog entry.  I have the Elog server on Windows XP Pro running version 2.7.8.2282.

Thank you

Paul

 

 

  66730   Sat Mar 6 19:59:58 2010 Question David Spindlerdsspindler@gmail.comQuestionWindows2.7.7Fail to connect to SMTP server on WinXP but works on Win2K
ELOG V3.1.5-3fb85fa6