Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 656 of 808  Not logged in ELOG logo
    icon2.gif   Re: Redirect to wrong hostname, posted by Stefan Ritt on Fri Dec 17 23:20:02 2004 
> I think you should be using tcp_hostname instead of gethostname if it is 
> specified.

Sorry my late reply, I was ill for some time. I implemented your suggestion in
revision 1.522 which is available from CVS.

Note that there is also the "URL = xxx" option in the configuration file which
lets you specify the whole URL including the host name.
    icon5.gif   Re: Redirect to wrong hostname, posted by Ulrich Trüssel on Sun Dec 19 19:00:06 2004 
know that illness...  :-(  but was the last of the family of 4 people

i'd like to ask for an other usefull change togehter with this and how url's are 
handled by elog:

since there may be spaces in the name of a logbook (ex. "1stWordOfLogbook 
2ndWordOfLogbook") it is very userfriendly to name logbooks. also it's easy th 
make a reference for a other entry by copy and paste:

Display ThisURL = http://localhost:8080/$logbook/$message id

however, using spaces in the logbook name may give a wrong result, because the 
url would be http://localhost:8080/1stWordOfLogbook

and the space as well as the 2ndWordOfLogbook//$message id is only normal text.

may it be possible stefan, to replace the space in an url (starting 
with "http://") with a "+" or "%20"? this would allow to automate some things. 
actual the logbook name has to be hardcoded.


> > I think you should be using tcp_hostname instead of gethostname if it is 
> > specified.
> 
> Sorry my late reply, I was ill for some time. I implemented your suggestion in
> revision 1.522 which is available from CVS.
> 
> Note that there is also the "URL = xxx" option in the configuration file which
> lets you specify the whole URL including the host name.
    icon2.gif   Re: Redirect to wrong hostname, posted by Stefan Ritt on Mon Dec 20 17:18:16 2004 
Ok, I changed that in version 2.5.5-3. Note that one can also use the "elog:..."
substitution, like

Display ThisURL = elog:$logbook/$message id
icon5.gif   Finding Last Changed Entries, posted by Bee on Tue Feb 1 14:41:08 2005 
Is there an inbuilt way to find the last entries changed in an elog?

I could add a "Last Mod" attribute and then config "Subst on edit Last Mod =
$date", but it occurred to me that this functionality might already be in
this wonderful tool somewhere, but I just haven't found it yet.

So, is it?

Best regards, Ralph.
    icon2.gif   Re: Finding Last Changed Entries, posted by Stefan Ritt on Tue Feb 1 14:44:00 2005 
> Is there an inbuilt way to find the last entries changed in an elog?
> 
> I could add a "Last Mod" attribute and then config "Subst on edit Last Mod =
> $date", but it occurred to me that this functionality might already be in
> this wonderful tool somewhere, but I just haven't found it yet.
> 
> So, is it?

No it isn't. Not everybody wants it. So you have to do it in the way you
outlined it. Also have a look at http://midas.psi.ch/elog/faq.html#11

- Stefan
icon8.gif   ELOG-Server crashes after date entry, posted by Ulrich Trüssel on Fri Dec 3 08:43:49 2004 
God really STRANGE and problematic effect on 2.5.5-1 (can't remember it this
was with 2.5.5 or 2.5.4-X but i'm nearly sure it worked well):

Entering a date (Formate Bithday = date) may crash down the server:
Value is 22.2.2004: Everything is well
Value is 22.2.1962: Server crashes emmediatly (menas restarzing several
times, always the same problem)

I do not have time to check true all the years for finding out where the
problem may beginn, sorry. Also I was not able to check on other systems
right now. My system: Win XP Pro SP 1, IE 6 as well as Mozilla Calssic 1.7.3. 

Didn't check it under Linux right know in case of a lot work.

Clould you this fix please Stefan???  THANK'X!!!
    icon2.gif   Re: ELOG-Server crashes after date entry, posted by Stefan Ritt on Sun Dec 5 13:09:12 2004 
'Date' attributes can only be between 1970 and 2037, since I use internally the
unix time format. I added a test so future versions will complain and not crash
when the date is outside that range.

If you need dates before 1970, don't use the 'Date' format, simply use strings.
icon5.gif   mirroring specific logbooks, posted by John Habermann on Sun Jan 23 02:51:58 2005 
Hi

I was just wondering if it is possible to define what logbooks you want
mirrored in the [Global] part of the elogd.conf file. I want to mirror the
logbooks that I use for work from my laptop to the work server but I have
set up other logbooks that I will use for uni and other non work projects. 

I have set the mirroring up in [Global] using the cron based settings but I
am guessing that is going to try and mirror all the logbooks. 

;The mirror settings
Mirror server = tanami:8080
;Mirror the contents of the elogd.conf file for individual logbooks but not
global settings
Mirror config = 1
;Mirror every hour between 07:00 and 20:00 during the week day
Mirror cron = 0 7-20 * * 1-5
Mirror user = john

I gather my personal logbooks won't sync across as I get an "error accessing
remote logbook" so that is fine but was just wondering if you can set it so
that you can define in global what logbooks you want to sync.

thank you
John
ELOG V3.1.5-3fb85fa6