Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 254 of 807  Not logged in ELOG logo
icon5.gif   wrapping long lines in config file, posted by W.Koster on Fri Jun 12 16:59:18 2009 
Greetings,

I was wondering, is it possible to wrap lines in the config file ? 

I have to add a dropdown lost which is kinda long and typing everything on one line will make ik kinda unreadable.
Somehow wrapping the line so each entry will get on a separate line would make it much better readable. (which
makes less errors).

W.
 
    icon2.gif   Re: wrapping long lines in config file, posted by Stefan Ritt on Mon Jun 15 12:51:27 2009 Capture.png

W.Koster wrote:

Greetings,

I was wondering, is it possible to wrap lines in the config file ?

I have to add a dropdown lost which is kinda long and typing everything on one line will make ik kinda unreadable.
Somehow wrapping the line so each entry will get on a separate line would make it much better readable. (which
makes less errors).


What I do is to use an editor with automatic wrapping functions, like the free PSPad editor. It nicely wraps line and indicates that:

    icon2.gif   Re: search and datetime, posted by Stefan Ritt on Mon Jun 15 12:56:32 2009 

Arno Teunisse wrote:

Hello

I have the following in elog.cfg :

Attributes = Author, Author Email, Category, Customer, server, Subject ,  Change Window Begin , Change Window End
List display = ID,Author, Author Email, Category, Customer, server,  Subject , 
Change Window Begin , Change Window End

Type Change Window Begin = datetime
Type Change Window End = datetime

So I want to be able to give a start and end date to the user.  However : If I open a find/Search I see this :

  Clipboard01.jpg

There are for each  Change Window <item>   we get  Start: and End: time entries. Was expecting only one date entrie .

Why is this ? Seems to be a feature of datetime  or am i missing something.

 

 

Right, that's a feature. Many people want to specify a range when doing a query on a date. Like Change Window Begin after Jan 1st, 2009 and before Jan 5th, 2009. If you just want a single date, set both Start: and End: to the same date, or actually the End: to Start+1 Day to cover all 24 hours of the Start: date. Otherwise when you have data + time, you would have to match the exact second to retrieve a certain entry. So having a range there is more powerful.

    icon2.gif   Re: wrapping long lines in config file, posted by W.Koster on Mon Jun 15 12:57:17 2009 

Stefan Ritt wrote:

What I do is to use an editor with automatic wrapping functions, like the free PSPad editor. It nicely wraps line and indicates that:



Hmmm... I have to use vi and was hoping an \ at the end of the line (before the LF) would be supported.
    icon2.gif   Re: wrapping long lines in config file, posted by Stefan Ritt on Mon Jun 15 16:36:38 2009 

W.Koster wrote:

Stefan Ritt wrote:

What I do is to use an editor with automatic wrapping functions, like the free PSPad editor. It nicely wraps line and indicates that:



Hmmm... I have to use vi and was hoping an \ at the end of the line (before the LF) would be supported.


Use a real editor Wink

I seem to remember that Emacs can be configured for automatic line wrapping.
icon8.gif   synchronization, posted by lance on Wed Jun 17 09:05:27 2009 

We are running elog across two sites and synchronizing every four hours on change only. There are about 100 entries per day of which most are just one line entries. However this is taking up to 9 mins and during the replication process the server gives us an "unavailable" error. We are using a T1 across the sites so bandwidth should not be an issue, I am confused as to why this takes so long.

The issue for us is not how long the sync takes, providing this was happening in the background, and doesnt lock out the server while the replication was taking place. We are operating under a 24 hour call center type environment so the server being available all the time is of paramount importance.

We use version 2.7.2 and I know there have been several changes made since this version. Would changing to the latest version have any impact on this?

 

Cheers,

 

Lance

icon1.gif   Entries are being deleted automatically, posted by Pittelli Mike on Wed Jun 17 15:56:54 2009 

A few days after I create entries in my logbooks, they are being deleted. Has this happened to anyone before?

    icon2.gif   Re: Entries are being deleted automatically, posted by Stefan Ritt on Wed Jun 17 16:26:11 2009 

Pittelli Mike wrote:

A few days after I create entries in my logbooks, they are being deleted. Has this happened to anyone before?

Never as far as I know. Try to do logging on your elog server ("Log file = ..."), then you will see all write/delete accesses. So if someone deletes your entries, you will see a trace. 

ELOG V3.1.5-3fb85fa6