Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 438 of 808  Not logged in ELOG logo
ID Date Icon Author Author Email Category OS ELOG Version Subjectdown
  66179   Tue Jan 27 15:45:52 2009 Reply Stefan Rittstefan.ritt@psi.chQuestionLinux2-7-5Re: Last day -- list menu command

 

Mike Forster wrote:

 Hi folks, 

I want to have Last day be a command in the List display, so I added:

List menu commands = New, Find, Import, Login, Logout, Config, Last day, Help

However, when Last day is selected, the command does not change to Last 2 days.
What is the right way to do this?

 

You have to put "Last x" in the menu, not "Last day". Unfortunately by default the label "Last day" does not show up. I fixed this in the current version. But you can yourself start this thing by adding "past1" to the URL, or by making yourself a bookmark in your browser. Like

https://midas.psi.ch/elogs/Forum/past1

then the "Last 2 days" will show up.

  66182   Tue Jan 27 17:29:24 2009 Reply Mike Forstermike4ster@gmail.comQuestionLinux2-7-5Re: Last day -- list menu command

 

Stefan Ritt wrote:

 

Mike Forster wrote:

 Hi folks, 

I want to have Last day be a command in the List display, so I added:

List menu commands = New, Find, Import, Login, Logout, Config, Last day, Help

However, when Last day is selected, the command does not change to Last 2 days.
What is the right way to do this?

 

You have to put "Last x" in the menu, not "Last day". Unfortunately by default the label "Last day" does not show up. I fixed this in the current version. But you can yourself start this thing by adding "past1" to the URL, or by making yourself a bookmark in your browser. Like

https://midas.psi.ch/elogs/Forum/past1

then the "Last 2 days" will show up.

 

 Thanks very much, Stefan.

I did not know "Last x" was the appropriate menu option.
--Mike

  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>
  66747   Fri Mar 12 09:16:28 2010 Reply Stefan Rittstefan.ritt@psi.chRequestWindowsV2.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.

David send me his modification and I put it into the main source code, so it will be contained in the next Windows 
version.

> 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.

Yepp ;-)
  66756   Fri Mar 12 16:18:20 2010 Reply Stefan Rittstefan.ritt@psi.chRequestWindowsV2.7.8-228Re: Last 3 days of log entries
> David send me his modification and I put it into the main source code, so it will be contained in the next Windows 
> version.

I made an interim 2.7.8-3 version which contains the fix and can be downloaded from the web site.
  69390   Mon Aug 30 08:41:14 2021 Reply Stefan Rittstefan.ritt@psi.chQuestionWindows3.1.4Re: Large log file size

If the logbook files are getting big, searching text in entries can take quite some time. But if you have a log file logging all activities, that should not slow down elog since the server just appends at the end of that file which is a quick operation.

Alan Grant wrote:

Can the size of the application log file affect performance?

 

  65851   Thu Apr 24 07:51:23 2008 Reply Stefan Rittstefan.ritt@psi.chRequestAll2.7.3Re: LaTeX support

Jochen Krempel wrote:

I would appreciate if elog could provide a simple support for mathematical expressions.

A solution similar to wikimedia should be easy to implement and would help a lot.
http://www.mediawiki.org/wiki/Manual:Running_MediaWiki_on_Windows#Alternative_Solution

The idea is to parse the elog entry for a tag (e.g.  <math></math>), extract the code, wrap it into a latex file, and pass this to latex, GhostScript, and ImageMagic. (The latter are already used by Elog, therefore the changes should not be too big.) The resulting image file would then be referenced by the  elog html code.

Of course, the FCKeditor would not support LaTeX. However, the majority of elog-useres should be scientists and rather familiar with LaTeX. Therefore it should be fine if the original LaTeX code is saved (e.g. in the ALT-tag of the image) and the replacement "code to image" is undone for editing.

We had already some time ago a request to integrate mimetex (elog:1827). I will see what I can do there.

  67949   Thu Jun 4 16:25:42 2015 Reply David Walliswallis@aps.anl.govQuestionWindows3.1Re: LDAP docs

This is what I've been able to figure out, in terms of the elogd.cfg file:

LDAP server = server.domain:389
LDAP userbase = ou=people,o=domain.com,dc=domain,dc=com
LDAP login attribute = uid
LDAP register = 0

Stephen G wrote:

Could someone point me to the LDAP configuration docs, I searched to no avail.  I'm sure there is some big red ldap config button it, but I just can't find it.

 

ELOG V3.1.5-3fb85fa6