Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 445 of 808  Not logged in ELOG logo
ID Date Icon Author Author Email Category OS ELOG Version Subjectdown
  65960   Tue Sep 2 16:07:34 2008 Reply Stefan Rittstefan.ritt@psi.chQuestion  Re: Is there a way to indicate when an entry has been edited?

W.Koster wrote:

Stefan Ritt wrote:

Dennis Seitz wrote:

 You've probably seen my other posts on this subject.

I want to be able to re-edit some entries but I need some way to know the dates entries were re-edited.

Am I just approaching this the wrong way? Should I disable re-editing of entries and use threads to follow changes by posting replies to an entry?

The only problem with that is that if I make a mistake I will have to submit a new entry to fix it. 

Please read the FAQ

 

Apart from logging when and who, is it also possible to somehow log WHAT has changed (like $attribute + $old_value was changed by $who at $date)

 No, this is not possible.

  66328   Fri Apr 24 09:03:05 2009 Reply Stefan Rittstefan.ritt@psi.chQuestionWindows2.7.6Re: Is there a way to import old log messages

 

Joseph Le wrote:

I update my elog from version 2.7.5 to 2.7.6 and mistakenly replace configuration file. so i have to reconfigure everything from ground up.  when my elog back online, old log messages are not show up. is there a way to import old log messages from old log book to new one.

 

thanks

 

You don't have to import old log book messages, they should be shown automatically (as long as you don't overwrite your configuration file mistakenly). If you had a different logbook name (not "demo") your files will still be there under c:\Program Files\ELOG\logbooks\<logbook name>.  Just add the proper name in elogd.cfg, restart elogd and you will see your old messages.

  68441   Mon Oct 3 10:18:19 2016 Reply Alex Kühnelalexander.kuehnel@gmail.comQuestionLinux3.1.2Re: Is there a way to export logs

shame on me, there is a way!

I can search with find and then export as csv file

/alex

Alex Kühnel wrote:

hello

Is there a way to export logs from elog (for example after I have selected a filter) to txt or csv...

I found the "Download" attribute but this works for only one elog entry...

regards

 

  68719   Tue Jan 16 09:46:04 2018 Reply Stefan Rittstefan.ritt@psi.chQuestionLinux3.1.2Re: Is there a python3 api to generate logbook entries from python?

There are two options

  • Wrap the "elog" command line tool 
  • Use "curl". Ther is a PycURL library http://pycurl.io/docs/latest/ which can be used, so you don't have to call any command line tool. The usage of curl is described in elog:68597

Stefan

markus wrote:

Dear elog community,

I wonder whether there is a python3 api or lib to generate and append entries (and attachments) to the logbook using scripts.
However, so far I did not find anything...

At the moment I am thinking about wrapping the "elog" command line tool.

Is there something usable already out there?

Thanks and regards
Markus

 

  68720   Tue Jan 16 10:13:00 2018 Reply Andreas Luedekeandreas.luedeke@psi.chQuestionLinux3.1.2Re: Is there a python3 api to generate logbook entries from python?

Have a look here: https://github.com/paulscherrerinstitute/py_elog

I haven't tried it myself, but it should allow you to add, reply, edit, delete elog entries from python (>= 3.5) via the http elog interface. It's an anaconda package.

markus wrote:

Dear elog community,

I wonder whether there is a python3 api or lib to generate and append entries (and attachments) to the logbook using scripts.
However, so far I did not find anything...

At the moment I am thinking about wrapping the "elog" command line tool.

Is there something usable already out there?

Thanks and regards
Markus

 

  68723   Wed Jan 24 07:54:47 2018 Reply markusmarkus.ries@helmholtz-berlin.deQuestionLinux3.1.2Re: Is there a python3 api to generate logbook entries from python?

Thanks Andreas!
This is more or less exactly what I was looking for...

Regards
Markus

Andreas Luedeke wrote:

Have a look here: https://github.com/paulscherrerinstitute/py_elog

I haven't tried it myself, but it should allow you to add, reply, edit, delete elog entries from python (>= 3.5) via the http elog interface. It's an anaconda package.

markus wrote:

Dear elog community,

I wonder whether there is a python3 api or lib to generate and append entries (and attachments) to the logbook using scripts.
However, so far I did not find anything...

At the moment I am thinking about wrapping the "elog" command line tool.

Is there something usable already out there?

Thanks and regards
Markus

 

 

  2221   Fri Apr 27 08:38:58 2007 Reply Stefan Rittstefan.ritt@psi.chRequestLinux2.6.3-1764Re: Is there (planned) support for <A NAME> and <HR /> in ELCODE?

Kevin McCarty wrote:
I am wondering if there is any support (or if not, if it is planned) for inserting HTML <a name> and <hr /> tags via ELCODE.


Very good idea. The horizontal line
is already implemented via [LINE] and the anchor tag will soon follow.
  2222   Fri Apr 27 08:56:10 2007 Reply Kevin McCartykmccarty@princeton.eduRequestLinux2.6.3-1764Re: Is there (planned) support for <A NAME> and <HR /> in ELCODE?

Stefan Ritt wrote:

Kevin McCarty wrote:
I am wondering if there is any support (or if not, if it is planned) for inserting HTML <a name> and <hr /> tags via ELCODE.


Very good idea. The horizontal line
is already implemented via [LINE] and the anchor tag will soon follow.


Wonderful, thanks!

-- Kevin McCarty
ELOG V3.1.5-3fb85fa6