Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 64 of 238  Not logged in ELOG logo
New entries since:Thu Jan 1 01:00:00 1970
icon5.gif   "not a valid Win32 application" error on versions 3.x.x, posted by Jean Pierre Vandecandelaere on Thu Oct 1 15:09:17 2015 
Hello,

we have been using elog 2.7.1 as a logbook to signal problems and so on in our Engine Room Simulator for a couple of months now. Since this is
exactly what we're looking for, I've installed the latest release in our sailing simulator as well. On this occasion I thought about updating the
icon5.gif   Syntax for conditional list display, posted by Terry L on Tue Sep 15 18:04:35 2015 
Good Morning,

I would like to limit the ability to edit certain attributes in an ELOG logbook, depending on the user who is logged in.  I.e. if "guest"
or a standard "login user" is logged in, I only want to allow the user to edit "attribute1" & "attribute2" of say, 5
    icon2.gif   Re: Syntax for conditional list display, posted by Edmund Hertle on Mon Sep 21 17:08:44 2015 
Hey Terry,

I don't think this is possible, since in general you cannot define config settings in a way that it would only affect specific users. For
example, you also cannot have different themes for different users (as stated here: https://midas.psi.ch/elogs/Forum/68112 )
       icon2.gif   Re: Syntax for conditional list display, posted by Terry L on Tue Sep 29 17:15:07 2015 
Hi Eddy,

Thank you for your response.  I had a feeling that was the case, but I had high hopes! :)  The reason I would like this feature is
because I am trying to use ELOG as a software anomaly tracking log, where any user can create an ELOG and fill out "category", "computer"
          icon3.gif   Re: Syntax for conditional list display, posted by Andreas Luedeke on Wed Sep 30 09:28:39 2015 
Hi Terry,

if you really want to do it, you can find a way to make it work. But it is not straight forward and not what ELOG is made for.
Here some ideas how it could work:


ELOG allows you to have different commands for different users. You could allow "New"
and "Edit" for normal users, but "Reply" only for administrators.
You can use "Subst on reply <attribute>
             icon4.gif   Re: Syntax for conditional list display, posted by Andreas Luedeke on Thu Oct 1 12:01:11 2015 
Oups: there is a flaw in this approach! You can only get different commands for Anonymous and Login Users. You cannot select different command for Admin
users: they will just have the "Config" command automatically.

You could allow anonymous users to make new entries and restrict login to administrators. But that is certainly not what you want, so forget
icon5.gif   elog client overwriting attached files when editing existing log, posted by Joseph McKenna on Wed Sep 16 02:47:33 2015 
Using the elog client to upload atachments, I can successfully send attachments to an existing elog, however the existing attachments are lost.

I have tested using the elog client version 3.1.1 and elog client version 2.9.2 sending to elogd 2.9.0

elog -h localhost -p 8080 -l test -f  file1.png -f file2.png -e 249 -v -x
    icon2.gif   Re: elog client overwriting attached files when editing existing log, posted by Edmund Hertle on Mon Sep 21 10:48:31 2015 
Hey,

I think this is a "problem" of the elog client, since it simply replaces the data. In most cases this is what you want, but since I
wanted to have the option to append to the acutal message I built a function to first read-back the entry and add to the message instead of replacing it.
       icon2.gif   Re: elog client overwriting attached files when editing existing log, posted by Andreas Luedeke on Mon Sep 28 06:45:03 2015 
The "elog" command has no "append" feature. You can either create a new entry, or you can overwrite an old entry. Therefore this
is not a bug but the intended bahaviour.

I admit that the documentation is misleading, since overwriting an existing entry is called "editing":
          icon2.gif   Re: elog client overwriting attached files when editing existing log, posted by Stefan Ritt on Mon Sep 28 11:58:11 2015 
You are right. "Edit" should be more like "Replace". I changed that in the documentation.

I acknowledge the request to replace or append only a specific attribute or attachment, and put it on my to-do list.

Stefan
          icon2.gif   Re: elog client overwriting attached files when editing existing log, posted by Edmund Hertle on Wed Sep 30 10:23:30 2015 
Hey,

the edit/replace feature is already capable of just replacing individual attributes. I already make heavy use of this feature:

1. One entry is created with some measurement parameters
icon1.gif   Creating ELog Links not working properly in HTML Editor, posted by Edmund Hertle on Mon Sep 7 12:44:42 2015 
Hey,

the syntax for creating links to other elog entries has a small issue in the HTML editor. The link will not be created properly if there are
whitespaces in the name of the logbook. Using ELCode (or in a simple attribute field) the whitespaces can be replaced by "+", but this does not
    icon2.gif   Re: Creating ELog Links not working properly in HTML Editor, posted by Andreas Luedeke on Mon Sep 28 06:29:57 2015 
I can confirm this bug.

But I don't think this has to work as you've described it, when using the HTML editor: if you use HTML, you can use the link feature
of the editor.

But that link feature does currently not work at all with internal elog references, not even a simple elog:1">
       icon2.gif   Re: Creating ELog Links not working properly in HTML Editor, posted by Stefan Ritt on Mon Sep 28 12:05:04 2015 
Right, spaces won't work. But others work. Andreas, if you just put elog:1 without any link etc. just as plain text, it will be converted
automatically into a link.

A workaround is to explicitly specify a link to an elog entry. Press the link button from the editor toolbar, enter a name and copy the full
          icon2.gif   Re: Creating ELog Links not working properly in HTML Editor, posted by Andreas Luedeke on Tue Sep 29 08:50:30 2015 
Hi Stefan,

yes, I know that a plain text "elog:1" works in the HTML editor, too.

But if you put
"elog:1" in the URL field of the link dialog, then ELOG screws up: you get the text

  
elog:1">elog:1

and
icon4.gif   Elog command not working properly, posted by Stefano colafranceschi on Thu Sep 24 00:14:49 2015 
<p>Hi,</p>

<p>I have a problem running elog command from php script. Basically in the php I call system("elog -h etc etc.. And from the php command line works
    icon2.gif   Re: Elog command not working properly, posted by Edmund Hertle on Fri Sep 25 22:37:08 2015 
> <p>Hi,</p>

> <p>I have a problem running elog command from php script. Basically in the php I call system("elog -h etc etc.. And from the php command line works
       icon2.gif   Re: Elog command not working properly, posted by Stefano on Sat Sep 26 03:34:44 2015 
Yes it was a path issue PHP was not loading correctly environmental path

> > <p>Hi,</p>
icon5.gif   Submit to multiple logbooks simultaniously, posted by Francois Cloutier on Fri Sep 25 19:10:45 2015 
Good day,

My question is : Is it possible to submit to multiple logbooks simultaniously ?

I have 5 logbooks that could share common attributes, is there a way to acheive that without recreate a new entry in each of them ?
    icon2.gif   Re: Submit to multiple logbooks simultaniously, posted by Edmund Hertle on Fri Sep 25 22:24:18 2015 
Hey,

You can use the elog command line tool and submit the same attributes to the 5 different logbooks by iterating over the logbook names executing
something like this:
icon4.gif   Elog command not working properly, posted by Stefano colafranceschi on Thu Sep 24 00:13:31 2015 
 
icon4.gif   elog from php, posted by Stefano on Wed Sep 23 23:57:43 2015 
Hi,

I need to run elog command in an online php script. The problem I see is that the script works from the command line but not from the browser.
In the script I just use:
ELOG V3.1.5-3fb85fa6