Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG  Not logged in ELOG logo
icon1.gif   A new ELOG user wants to register on "127.0.0.1", posted by Emiliano Gabrielli on Thu Jul 14 15:58:07 2005 
    icon2.gif   Re: A new ELOG user wants to register on "127.0.0.1", posted by Stefan Ritt on Thu Jul 14 17:29:42 2005 
       icon2.gif   Re: A new ELOG user wants to register on "127.0.0.1", posted by Emiliano Gabrielli on Thu Jul 14 19:16:06 2005 
          icon2.gif   Re: A new ELOG user wants to register on "127.0.0.1", posted by Stefan Ritt on Sat Jul 23 15:46:06 2005 
Message ID: 1302     Entry time: Sat Jul 23 15:46:06 2005     In reply to: 1271
Icon: Reply  Author: Stefan Ritt  Author Email: stefan.ritt@psi.ch 
Category: Comment  OS: All  ELOG Version:  
Subject: Re: A new ELOG user wants to register on "127.0.0.1" 
Ok, I kind of misunderstood the "-n" parameter. It is the interface to listen to, which is not necessarily the host name as seen from outside. I changed that in the following way:

  • if the URL option is present, the host name is taken from there
  • if the URL option is not present, elog calls gethostname()/gethostbyname() to retrieve the local host name

the host name which comes from these two possibilities is used internally in all cases where it's needed, like email notifications.
ELOG V3.1.5-3fb85fa6