Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 732 of 796  Not logged in ELOG logo
ID Date Icon Author Author Email Category OSup ELOG Version Subject
  68301   Mon Apr 4 14:09:42 2016 Reply Stefan Rittstefan.ritt@psi.chQuestionWindowsv3.1.1Re: Send email based on lookup of an attribute
> I'm trying to send an email based on an attribute, in other words, a lookup and not $user_email of the author.
> 
> For instance, if I set a an attribute "Assignee" with a valid user full name (i.e. John Smith), I'd like to look up John Smith's 
> email address from the password file and send him an email. I can't seem to find it something like that in the docs, I can write 
> a script to do that, but was looking for a less cumbersom way of doing it. Thanks in advance.

Unfortunately such a feature is not implemented in the current version.

Stefan
  68302   Sun Apr 24 02:09:47 2016 Question Alan Grantagrant@winnipeg.caQuestionWindows3.1.1How to login and export to CSV using wget?

Is it possible to use wget to log into elog and export all of a logbook's data into a CSV file?

I can accomplish this perfectly when authentication IS NOT required by using:  wget --no-check-certificate -O e:\export.csv http://localhost:8080/demo/?mode=CSV1

However, I cannot accomplish it when authentication IS required by using:  wget --no-check-certificate -O e:\export.csv "http://localhost:8080/demo/?mode=CSV1&uname=agrant&upassword=skipper"

The latter appears to show that I've logged in, but the export file only contains a bunch of HTML tags, not the actual data as in the former.

How should I construct the wget command?

 

  68303   Sun Apr 24 06:49:33 2016 Reply Alan Grantagrant@winnipeg.caQuestionWindows3.1.1Re: How to login and export to CSV using wget?

UPDATE:

After days of head banging and trying different syntax combinations, I finally stumbled on my own answer. It involved some syntax adjustments, and then splitting the task into these two consecutive operations:

      1. wget --no-check-certificate --cookies=on --save-cookies cookies.txt --keep-session-cookies -O e:\export1.csv "http://localhost:8080/demo/?uname=agrant&upassword=skipper"

      2. wget --no-check-certificate --cookies=on --load-cookies cookies.txt --keep-session-cookies -O e:\export2.csv http://localhost:8080/demo/?mode=CSV1

All is working fine now.

Alan Grant wrote:

Is it possible to use wget to log into elog and export all of a logbook's data into a CSV file?

I can accomplish this perfectly when authentication IS NOT required by using:  wget --no-check-certificate -O e:\export.csv http://localhost:8080/demo/?mode=CSV1

However, I cannot accomplish it when authentication IS required by using:  wget --no-check-certificate -O e:\export.csv "http://localhost:8080/demo/?mode=CSV1&uname=agrant&upassword=skipper"

The latter appears to show that I've logged in, but the export file only contains a bunch of HTML tags, not the actual data as in the former.

How should I construct the wget command?

 

 

  68309   Thu Apr 28 16:45:41 2016 Question steve braysteve.bray@vca.gov.ukQuestionWindows2.7.8How to delete a logbook?

Hello,

What is the procedure to delete a logbook (incl. attachments)?

 

Steve

  68312   Fri Apr 29 11:45:51 2016 Reply Stefan Rittstefan.ritt@psi.chQuestionWindows2.7.8Re: How to delete a logbook?

Deleting a logbook in the config page (via "Delete this logbook") only removes the logbook defiition from the config file. To really erase all information you have to go to the file system and delete the whole directory belonging to that logbook. You have one subdirectory per year, containing all logobok entries and also attachments, so make sure you do a recursiver directory removal.

Stefan

steve bray wrote:

Hello,

What is the procedure to delete a logbook (incl. attachments)?

 

Steve

 

  68313   Fri Apr 29 13:36:49 2016 Reply steve braysteve.bray@vca.gov.ukQuestionWindows2.7.8Re: How to delete a logbook?

Stefan,

Thank you that is exactly what I needed to know.

Steve

Stefan Ritt wrote:

Deleting a logbook in the config page (via "Delete this logbook") only removes the logbook defiition from the config file. To really erase all information you have to go to the file system and delete the whole directory belonging to that logbook. You have one subdirectory per year, containing all logobok entries and also attachments, so make sure you do a recursiver directory removal.

Stefan

steve bray wrote:

Hello,

What is the procedure to delete a logbook (incl. attachments)?

 

Steve

 

 

  68320   Sun May 22 04:05:12 2016 Question Stan Turnerinparadisez3@yahoo.comQuestionWindows3elog service crashes frequently

We have always had issues with eLOG crashing intermittently...  I upgraded from Server 2003 to Server 2008 about a year ago to try to reduce the issues...  which really didn't help.

The service now seems to crash every week...  (getting worse)...  Is anyone seeing these issues in Windows servers?  Any suggestions??

  68321   Sun May 22 11:56:21 2016 Reply Andreas Luedekeandreas.luedeke@psi.chQuestionWindows3Re: elog service crashes frequently

We do run ELOG on a Linux server and see about weekly crashes, too. It seems to be connected to the authentication process (Kerberos, File), but we could not nail it down yet.

But we have set up a supervision process that checks every minute if the "elogd" process is still running. If not, it simply restarts it.

If ELOG is down for two minutes a week, this is fine for our users.

Stan Turner wrote:

We have always had issues with eLOG crashing intermittently...  I upgraded from Server 2003 to Server 2008 about a year ago to try to reduce the issues...  which really didn't help.

The service now seems to crash every week...  (getting worse)...  Is anyone seeing these issues in Windows servers?  Any suggestions??

 

ELOG V3.1.5-2eba886