Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 417 of 808  Not logged in ELOG logo
    icon2.gif   Re: Logging entries from the command line, posted by Stefan Ritt on Mon Oct 26 11:18:57 2015 
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
    icon2.gif   Re: Logging entries from the command line, posted by kenzo Abrahams on Mon Oct 26 11:24:46 2015 
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
    icon2.gif   Re: Logging entries from the command line, posted by Stefan Ritt on Mon Oct 26 11:32:08 2015 
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
    icon2.gif   Re: Logging entries from the command line, posted by kenzo Abrahams on Mon Oct 26 12:17:40 2015 
Yes I can it works perfectly from the browser.




Stefan
Ritt wrote:



This indicates that the username/password is not correct. Can you log
    icon2.gif   Re: Logging entries from the command line, posted by kenzo Abrahams on Mon Oct 26 12:26:03 2015 
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.
    icon2.gif   Re: How can we calculate and display the difference between two time entries on a log entry, posted by Stefan Ritt on Mon Oct 26 16:48:51 2015 
Unfortunately elog cannot do calculations based on certain fields. You could however add some Javascript code (via "Bottom text = ..." for
example), which does that. But that requires JavaScript knowledge to do so.




Julian
    icon2.gif   Re: How can we calculate and display the difference between two time entries on a log entry, posted by Julian Brower on Tue Oct 27 09:26:56 2015 
Stefan, I am not an expert in this field so I wondered how one goes about finding someone to write this and how one amends the soruce code? Is that allowed?
 Is it a feature than may be of use for other users? Julian




Stefan
    icon2.gif   Re: running more then one shell command when new entries is submitted, posted by kenzo Abrahams on Tue Oct 27 11:14:16 2015 
The reason why im asking if it can be done using the Execute option is because I need to have the message id of the entry that was submitted and in an
external script i dont have access to the variable




kenzo
ELOG V3.1.5-3fb85fa6