Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 48 of 237  Not logged in ELOG logo
icon5.gif   Elog stopped working, posted by John Becker on Wed Mar 29 14:48:40 2017 
Dear all,

 

I have elog version 3.12-bd75964 installed on an Ubuntu OS. We started working with it yesterday and today I was informed that the users could
    icon2.gif   Re: Elog stopped working, posted by David Pilgram on Wed Mar 29 15:11:22 2017 
I don't know if you can get elog to generate a log file - check the documentation, I don't bother.  But I do have some experience with this
matter.

There are two related circumstances I know of that can arise which will cause elog to crash.
    icon2.gif   Re: Elog stopped working, posted by Andreas Luedeke on Thu Mar 30 09:14:13 2017 
I have a crontab set-up for root:

crontab -e

* * * * *       if ! ps -C elogd >/dev/null;then /sbin/service elogd restart;fi
icon5.gif   Issue with zero-length mail attachments, posted by Andrew Daviel on Sat Mar 18 02:10:33 2017 
We have elog-2.7.5-1.i386 on SL 5

If I create an elog entry using the web interface, and include an inline image,  email is sent with a zero-length named attachment - the
MIME header is present, but no content.
    icon2.gif   Re: Issue with zero-length mail attachments, posted by Andrew Daviel on Mon Mar 20 22:44:27 2017 
 




Andrew
Daviel wrote:



We have elog-2.7.5-1.i386 on SL 5
icon7.gif   Possible misuse of email headers Message-Id and In-Reply-To, posted by fbretel on Wed Feb 8 16:38:15 2017 
Hi,

As mentionned before, we happen to fail to receive email messages related to updates on
elog entries at our site. My understanding is that the SMTP header Message-Id MUST be unique for each email message. Whereas all elogd email
    icon2.gif   Re: Possible misuse of email headers Message-Id and In-Reply-To, posted by Stefan Ritt on Wed Feb 8 18:16:30 2017 
A pull request would be highy appreciated, because you can then test it thoroughly on your side. Adding a random number to the message id is simple.
"Reply-to" indeed does not make sense since elog cannot receive emails. Most sites use a generic "noreply@<domain>" to indicate
to the user that a reply does not make sense. I guess the "Reply-to" does not have to be unique, right?
       icon2.gif   Re: Possible misuse of email headers Message-Id and In-Reply-To, posted by fbretel on Wed Mar 15 16:04:13 2017 
Pull-request posted. Cheers.
          icon2.gif   Re: Possible misuse of email headers Message-Id and In-Reply-To, posted by Stefan Ritt on Wed Mar 15 16:42:35 2017 
Pull-request merged.




fbretel
wrote:



Pull-request posted.
icon5.gif   Is it possible change content of the notifying mail content (attachements...) ?, posted by Christine Quicot on Tue Feb 7 18:45:08 2017 
Hello all,

I would like to configure the email that is sent to notify users, when an entry is submitted:

- Is it possible to attach to the mail the files attached to the entry ?
    icon2.gif   Re: Is it possible change content of the notifying mail content (attachements...) ?, posted by Stefan Ritt on Tue Feb 7 18:54:00 2017 
Please look in the manual under "Email Format" and "Use Email Subject".




Christine
Quicot wrote:



Hello all,
       icon2.gif   Re: Is it possible change content of the notifying mail content (attachements...) ?, posted by Christine Quicot on Wed Feb 8 09:34:39 2017 
Hello,

I'm sorry but that's a part of the manual I've read many times, and I'm not interested in changing the subject of the email,
but only body and attachements.
          icon2.gif   Re: Is it possible change content of the notifying mail content (attachements...) ?, posted by Stefan Ritt on Wed Feb 8 13:09:58 2017 
I'm sorry but you are only half right. The mail contenct cannot be changed. But if your email notifications are sent as HTML, they contain a 1:1
copy of the elog entry, which does not make sense to change. For the attachment to be attached to the email, you need the flags of "Email Format".
The default there is 63, which means that elog attachments ARE sent as mail attachments.
icon6.gif   calculate diff of 2 date(s), posted by Alex Kühnel on Wed Sep 28 18:48:04 2016 
hi

I have an elogsystem for documenting emergency services. I have a starttime and an endtime. Is it possible to calculate the diff between the
2 timestamps and convert it to minutes?
    icon2.gif   Re: calculate diff of 2 date(s), posted by Alex Kühnel on Fri Sep 30 11:21:44 2016 
I found the solution in the forum :-)

subst Einsatzzeit = $shell(/usr/local/elog/diff.sh \"$Einsatzbeginn\" \"$Einsatzende\")

and diff.sh is
       icon2.gif   Re: calculate diff of 2 date(s), posted by Alex Kühnel on Fri Sep 30 11:25:08 2016 
is ist possible that subst only works for the initial create of a logbook entry? when I change/edit one of the parameter "Einsatzbegin"
or "Einsatzende" the "Einsatzzeit" is not changed.

regards
          icon2.gif   Re: calculate diff of 2 date(s), posted by Stefan Ritt on Fri Sep 30 12:33:38 2016 
There is the "subst on edit = ..." option you should use in addition.

Stefan




Alex
             icon2.gif   Re: calculate diff of 2 date(s), posted by Alex Kühnel on Mon Oct 3 10:01:53 2016 
thx!




Stefan
Ritt wrote:



There is the "subst on edit = ..." option you should use in
icon5.gif   How can change the justification of a column?, posted by fabio vitale on Mon Jan 30 17:52:20 2017 
It is possible to change the justification for a column/attribute in the list mode (left-aligned, centered, right-aligned)?

Right now Elog treats each colum of a list as centered,

 
    icon2.gif   Re: How can change the justification of a column?, posted by Stefan Ritt on Mon Jan 30 17:58:11 2017 
You can do that chaning the CSS of the underlying theme. But you need some experience with CSS.




fabio
vitale wrote:



It is possible to change the justification for a column/attribute
       icon2.gif   Re: How can change the justification of a column?, posted by fabio vitale on Mon Jan 30 18:30:30 2017 
I need to set text-align:left but only for an attribute in the List mode, For example, say that FirstName column must be left justified in list view.
What is the name of the cell content in the default elog.css?




Stefan
          icon2.gif   Re: How can change the justification of a column?, posted by Andreas Luedeke on Tue Jan 31 08:42:54 2017 
You might tell your browser to show you the source code of an ELOG page in list mode. There you'll find the class name you're looking for.

Cheers, Andreas




fabio
          icon2.gif   Re: How can change the justification of a column?, posted by Stefan Ritt on Tue Jan 31 09:20:07 2017 
The CSS class for the list display table "listframe". If you want the second column to be left-aligned, you put following into elog.css:

.listframe td:nth-child(2) {
   text-align:left;
             icon2.gif   Re: How can change the justification of a column?, posted by fabio vitale on Tue Jan 31 18:10:29 2017 
Thank you Stefan: it worked!

Now I am wondering if there is some syntax to force this behaviour at the attribute level in elog.cfg, without the need to modify the css, I
mean simply based on the attribute name (not its content). The syntax Style <attribute> <value> = <style>
                icon2.gif   Re: How can change the justification of a column?, posted by Stefan Ritt on Tue Jan 31 21:38:44 2017 
This is currently not possible.

/Stefan




fabio
icon1.gif   Empty mxml directory in commit a6e5962, posted by Christine Quicot on Tue Jan 31 17:49:16 2017 
Hello,

I wonder if it's normal that in the sources files, new created mxml directory is empty.

In commit # a6e5962 4 files are deleted but not moved:
    icon2.gif   Re: Empty mxml directory in commit a6e5962, posted by Stefan Ritt on Tue Jan 31 21:29:05 2017 
The mxml package has been converted into a submodule in the git repository. At http://midas.psi.ch/elog/download.html you see that you need a "--recursive"
flag to clone it. If you have already checked out the sources, you need a

git submodule update --init --recursive
icon5.gif   Opening a Local File using <a href="file:///../filename.doc">text</a>, posted by Terry Almond on Mon Jan 30 15:50:45 2017 
I've created an elog where users can then enter links to a file: for example they would enter:

<a href="file:///M:/Data/Inspection%20Reports/ABC123.doc">ABC123</a>

If they are running this on their desktops where everyones M drive is mapped to the same location, not a problem, the file opens perfectly.
    icon2.gif   Re: Opening a Local File using <a href="file:///../filename.doc">text</a>, posted by Stefan Ritt on Mon Jan 30 16:47:31 2017 
Linking to external files via "file:///..." is a bad idea, since only a pointer is stored in the elog. So if someone puts somehing on M: and
the drive is removed, the file is physically gone. No way to retrieve it. Instead of puttting links to files, users should get trained to ATTACH the files
to elog cntries (V3 of elog has a "Drop attachments here..." section. Only then the files are physically transferred into elog and accessible
       icon2.gif   Re: Opening a Local File using <a href="file:///../filename.doc">text</a>, posted by Terry Almond on Mon Jan 30 16:56:34 2017 
Hi Stefan

Unfortunately this would become impractical for us as many of the test data files which we'd need to link too are Gb's in size, some
over 100Gb, hence only the files needed to do a say an inspection of the equipment would be copied onto memory sticks. Currently we use an excel speadsheet
          icon2.gif   Re: Opening a Local File using <a href="file:///../filename.doc">text</a>, posted by Stefan Ritt on Mon Jan 30 17:45:18 2017 
If a file is on a memorystick and the memorystick is gone, how could elog bring it back? What you ask for is magic, sorry for that. Also if you move
files outiside elog from one folder (drive) to anohter. How shoudl elog keep track of these files if they are outside? If your colleague moves some piece
of equipment from A to B, without telling you, how can you guess where B is?
             icon2.gif   Re: Opening a Local File using <a href="file:///../filename.doc">text</a>, posted by Terry Almond on Tue Jan 31 11:42:19 2017 
Hi Stefan,

Obviously it's not magic but my inability to explain. I've attached a quick jpg of the file structure we use. So for every project we
just repeat the file structure. It then becomes a browser based interface for our engineers, inspectors, project managers etc. so via the network they
                icon2.gif   Re: Opening a Local File using <a href="file:///../filename.doc">text</a>, posted by Stefan Ritt on Tue Jan 31 12:46:30 2017 
Sure, we (Andreas and I) get your point. But you say "... we have no control of the device allocation". If you have no control, how could
elog have control? As Adreas said, the file:// access is even done inside your browser, thus bypassing elog, so you have to tell your browser where to
find the files. I cannot say more than what Andreas said in elog:68562
    icon2.gif   Re: Opening a Local File using <a href="file:///../filename.doc">text</a>, posted by Andreas Luedeke on Tue Jan 31 08:18:05 2017 
Hi Terry,

I'm not really sure I understand the question; I'll try to rephrase how I understood it.

You have loads of measurement
data. All this data is stored not in ELOG but in a common drive M:.

When people work off-site, they copy the ELOG data and all the measurement
ELOG V3.1.5-3fb85fa6