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 :

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. |
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. |
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 
I seem to remember that Emacs can be configured for automatic line wrapping. |
Re: Dropdown boxes and Moptions, posted by Stefan Ritt on Mon Jun 15 16:44:35 2009
|
Arno Teunisse wrote: |
Hello
I have a config file :
Attributes = Author, Author Email, Category, Customer, server,HPSD_ID, Cust_ID ,Subject , Change Window
; which fields will be shown !!
List display = ID,Author, Category, Customer, server, HPSD_ID, Cust_ID,Subject , Change Window
Type Change Window = datetime
# Type Change Window End = datetime
Options Category = Network , Server ,
Options Customer = Arag{A}, Frieslandbank{B}, Super de Boer{C}, NRE{D}
{A} Options server = arag-lin1,arag-lin2,arag-lin3,arag-lin4, arag-lin5, arag-lin6, arag-lin7
{B} Options server = rc1upas02, rc1upas22,rc1upas03,rc1upas04,rc1uptsm01,rc1upas07,rc1upas08
{C} Options server = xia61031,xia61032 ,xia61033,xia61034,xia61035,xia61036,xia61037,xia61038,xia61039,xia61040,xia61032 ,xia61033,xia61034,xia61035,xia61036,xia61037,xia61038,xia61039,xia61040
{D} Options server = server27,server32,server34 ,server37,server38,server40
Extendable options = Category , Customer,server
Required Attributes = server , customer, Subject, Change window Begin , Change Window End
This works OK, However when I change the {A} Options to {A} Moptions in the above code i get an error which tells me that a required field is not selected. So, with the pull down it works, with Moptions ( select boxes ) it will say that a required field is not selected. Any hints ?
regards Arno
|
Thanks for reporting this bug. I fixed it in SVN revisoin 2213. |
Quick filter for date, posted by Michael on Thu Jul 16 11:18:05 2009
|
Hello !
Is any posibility to set quick filter, for fields with atribute "date", to exactly value, like 15/07/2009, instead of drop menu with values like - last day, last week, etc ?
Tnx in advance !
|
Re: Quick filter for date, posted by Stefan Ritt on Thu Jul 16 12:05:54 2009
|
Michael wrote: |
Hello !
Is any posibility to set quick filter, for fields with atribute "date", to exactly value, like 15/07/2009, instead of drop menu with values like - last day, last week, etc ?
Tnx in advance !
|
No, this is not imlemented. But you can go to the "Find" page, and select the "Start" and "End" date with the calendar picker tool. This are a few more clicks to do, but puttting this all into the quick filter would not fit there. |
Re: Quick filter for date, posted by Michael on Thu Jul 16 13:47:31 2009
|
Stefan Ritt wrote: |
Michael wrote: |
Hello !
Is any posibility to set quick filter, for fields with atribute "date", to exactly value, like 15/07/2009, instead of drop menu with values like - last day, last week, etc ?
Tnx in advance !
|
No, this is not imlemented. But you can go to the "Find" page, and select the "Start" and "End" date with the calendar picker tool. This are a few more clicks to do, but puttting this all into the quick filter would not fit there.
|
ok, tnx. |
elog command line submission, posted by Erik Butz on Thu Nov 4 13:23:50 2010
|
Hi,
I am playing with the elog automatic subscription script, but somehow I am failing in submitting an entry.
I am using a syntax as this:
echo test | elog -h 127.0.0.1 -p 8085 -d /usr/local/elogbooks/Elog -l "Sub Elog" -a "Type=MyType" -x -u user passwd
and I get a message which says:
"cannot get host name: Success"
which seems contradictory and also there is no entry submitted.
The command is executed on the host where the elog is running, the port and directory are taken from the cfg File.
What is my mistake, where is my misunderstanding of the documentation?
Any hints appreciated.
Erik |
|