Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 207 of 805  Not logged in ELOG logo
ID Date Icon Author Author Email Category OS ELOG Version Subject
  68157   Mon Oct 26 15:24:44 2015 Entry Julian Browerjulian.brower@stfc.ac.ukQuestionWindowsLatestHow can we calculate and display the difference between two time entries on a log entry

See drawing below: We have a beam on and a beam off time. We want to fill in the lost time automaticaaly. Please can you help? Julian

 

Attachment 1: Log_time_entry.jpg
Log_time_entry.jpg
  68156   Mon Oct 26 15:20:44 2015 Entry Julian Browerjulian.brower@stfc.ac.ukQuestionWindowslatestPlease advise on how to set up selective email notification on logbooks

Please advise on how to set up selective email notification on logbooks; We want to send an email to specific people when an event that involves them is entered? 

At the moment, we currently get an email entry for every new logbook entry. Thanks

 

  68155   Mon Oct 26 12:26:03 2015 Reply kenzo Abrahamskenzoabrahams@gmail.comQuestionLinux3.1.1Re: Logging entries from the command line

Hi Stephan I got it to work for some reason elog was complaining that my encoding of the message wasnt allowed. I allowed the lognook to allow ELcode and it works perfectly.

Thank you for the help.

kenzo Abrahams wrote:

Yes I can it works perfectly from the browser.

Stefan Ritt wrote:

This indicates that the username/password is not correct. Can you log in to that logbook in your browser with the username "John" and password "Blue"?

kenzo Abrahams wrote:

Hi Stephan

The error message I get is "Error: Command Submit not allowed". I dont know if this might be an issue but it says Response Recieved: HTTP/1.1 404 Not Found in the first line of the servers response

Stefan Ritt wrote:

Run the elog command with an additional -v flag (verbose output), and you will see what the elogd server return. It's HTML, but you should be able to see some error message.

kenzo Abrahams wrote:

Good Afternoon

Im trying to automatically post an entry using information saved in a text file. I have followed the example in the users guide but i always seem to get a error message saying transmission failed. Lets say for instance I have a user named John and his password is Blue and he wants to log into a logbook called home from a textfile the command im using to log a message from the file is

elog -h localhost -p 8080 -u John Blue -l home -a Author=John -m textfile

I cant seem to figure out why i keep getting this error message. I even tried deleting the password file because i thought it might be an authentication issue.

Can anybody assist me please it would be much appreciated.

Regards

 

 

 

 

 

  68154   Mon Oct 26 12:17:40 2015 Reply kenzo Abrahamskenzoabrahams@gmail.comQuestionLinux3.1.1Re: Logging entries from the command line

Yes I can it works perfectly from the browser.

Stefan Ritt wrote:

This indicates that the username/password is not correct. Can you log in to that logbook in your browser with the username "John" and password "Blue"?

kenzo Abrahams wrote:

Hi Stephan

The error message I get is "Error: Command Submit not allowed". I dont know if this might be an issue but it says Response Recieved: HTTP/1.1 404 Not Found in the first line of the servers response

Stefan Ritt wrote:

Run the elog command with an additional -v flag (verbose output), and you will see what the elogd server return. It's HTML, but you should be able to see some error message.

kenzo Abrahams wrote:

Good Afternoon

Im trying to automatically post an entry using information saved in a text file. I have followed the example in the users guide but i always seem to get a error message saying transmission failed. Lets say for instance I have a user named John and his password is Blue and he wants to log into a logbook called home from a textfile the command im using to log a message from the file is

elog -h localhost -p 8080 -u John Blue -l home -a Author=John -m textfile

I cant seem to figure out why i keep getting this error message. I even tried deleting the password file because i thought it might be an authentication issue.

Can anybody assist me please it would be much appreciated.

Regards

 

 

 

 

  68153   Mon Oct 26 11:32:08 2015 Reply Stefan Rittstefan.ritt@psi.chQuestionLinux3.1.1Re: Logging entries from the command line

This indicates that the username/password is not correct. Can you log in to that logbook in your browser with the username "John" and password "Blue"?

kenzo Abrahams wrote:

Hi Stephan

The error message I get is "Error: Command Submit not allowed". I dont know if this might be an issue but it says Response Recieved: HTTP/1.1 404 Not Found in the first line of the servers response

Stefan Ritt wrote:

Run the elog command with an additional -v flag (verbose output), and you will see what the elogd server return. It's HTML, but you should be able to see some error message.

kenzo Abrahams wrote:

Good Afternoon

Im trying to automatically post an entry using information saved in a text file. I have followed the example in the users guide but i always seem to get a error message saying transmission failed. Lets say for instance I have a user named John and his password is Blue and he wants to log into a logbook called home from a textfile the command im using to log a message from the file is

elog -h localhost -p 8080 -u John Blue -l home -a Author=John -m textfile

I cant seem to figure out why i keep getting this error message. I even tried deleting the password file because i thought it might be an authentication issue.

Can anybody assist me please it would be much appreciated.

Regards

 

 

 

  68152   Mon Oct 26 11:24:46 2015 Reply kenzo Abrahamskenzoabrahams@gmail.comQuestionLinux3.1.1Re: Logging entries from the command line

Hi Stephan

The error message I get is "Error: Command Submit not allowed". I dont know if this might be an issue but it says Response Recieved: HTTP/1.1 404 Not Found in the first line of the servers response

Stefan Ritt wrote:

Run the elog command with an additional -v flag (verbose output), and you will see what the elogd server return. It's HTML, but you should be able to see some error message.

kenzo Abrahams wrote:

Good Afternoon

Im trying to automatically post an entry using information saved in a text file. I have followed the example in the users guide but i always seem to get a error message saying transmission failed. Lets say for instance I have a user named John and his password is Blue and he wants to log into a logbook called home from a textfile the command im using to log a message from the file is

elog -h localhost -p 8080 -u John Blue -l home -a Author=John -m textfile

I cant seem to figure out why i keep getting this error message. I even tried deleting the password file because i thought it might be an authentication issue.

Can anybody assist me please it would be much appreciated.

Regards

 

 

  68151   Mon Oct 26 11:18:57 2015 Reply Stefan Rittstefan.ritt@psi.chQuestionLinux3.1.1Re: Logging entries from the command line

Run the elog command with an additional -v flag (verbose output), and you will see what the elogd server return. It's HTML, but you should be able to see some error message.

kenzo Abrahams wrote:

Good Afternoon

Im trying to automatically post an entry using information saved in a text file. I have followed the example in the users guide but i always seem to get a error message saying transmission failed. Lets say for instance I have a user named John and his password is Blue and he wants to log into a logbook called home from a textfile the command im using to log a message from the file is

elog -h localhost -p 8080 -u John Blue -l home -a Author=John -m textfile

I cant seem to figure out why i keep getting this error message. I even tried deleting the password file because i thought it might be an authentication issue.

Can anybody assist me please it would be much appreciated.

Regards

 

  68150   Mon Oct 26 11:16:54 2015 Reply kenzo Abrahamskenzoabrahams@gmail.comQuestionLinux3.1.1Re: How does one create a html template for an entry
> > Good Day
> > 
> > I am new to elog and have a question. This is best explain with an example. If I have two logbooks named "home" and "work" and I would like all the entries of home to be of a specific html format (for example a table containing
> > a set amount of rows and columns) and work can be any plain text entry how would I go about doing this? I saw the documentation mention something about html templates but i cant seem to find the section about where they are stored
> > or how they are created and applied to a specific logbook. I know how to restrict the entry encoding to either html, elcode or plain text for a logbook. Any help would be appreciated.
> > 
> > Regard
> > Kenzo Abrahams
> 
> So-called "custom" entry/view forms are a bit for experienced people. You should be fluent with HTML and JavaScript. The (minimal) documentation is here: https://midas.psi.ch/elogs/Forum/66909
> 
> If you want a table style input form, better use Google Spreadsheets.
> 
> Stefan

Thank you Stephan this really helped me.
ELOG V3.1.5-3fb85fa6