Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 169 of 238  Not logged in ELOG logo
icon13.gif   XML, CSV and Raw export produces 'last' page only, posted by Brian Marshall on Mon Nov 6 17:41:13 2006 
The Find command page provides an option, 'Display n entries per page' which is useful when the result of the search is to be viewed on-screen.

However this value is also applied to CSV, XML and Raw export and only the 'last' page of data is exported.
For example, if there are 17 matching entries and n is set to 8, only one entry will appear in the exported file.

In my opinion, this option should be ignored for XML, CSV and Raw export and all matching entries should be exported.
    icon2.gif   Re: XML, CSV and Raw export produces 'last' page only, posted by Stefan Ritt on Tue Nov 7 08:17:40 2006 

Brian Marshall wrote:
The Find command page provides an option, 'Display n entries per page' which is useful when the result of the search is to be viewed on-screen.

However this value is also applied to CSV, XML and Raw export and only the 'last' page of data is exported.
For example, if there are 17 matching entries and n is set to 8, only one entry will appear in the exported file.

In my opinion, this option should be ignored for XML, CSV and Raw export and all matching entries should be exported.


This is indeed right. I fixed it in the current SVN revision #1741.
icon7.gif   Spell check, posted by David Egolf on Mon Nov 6 17:13:19 2006 
Sorry if this has been asked.

Is there a spell check that can be implemented in Elog or any recommended add on spell check?

Thanks,

David Egolf
    icon2.gif   Re: Spell check, posted by Stefan Ritt on Mon Nov 6 17:18:04 2006 

David Egolf wrote:
Is there a spell check that can be implemented in Elog or any recommended add on spell check?


I personally use Mozilla Firefox 2.0 which has already a built in spell checker. For MS IE, you can use IESpell (http://www.iespell.com).
    icon2.gif   Re: Spell check, posted by Fergus Lynch on Mon Nov 6 17:36:35 2006 

David Egolf wrote:
Sorry if this has been asked.

Is there a spell check that can be implemented in Elog or any recommended add on spell check?

Thanks,

David Egolf


I find that the Google spell checker works very well in IE6.
icon4.gif   Interesting behavior with $shell, posted by Steve Jones on Fri Oct 27 19:11:32 2006 
eLog does not do math so I am trying to leverage the $SHELL function to perform the math. I am using GAWK to perform the math -- I started trying to use CONDITIONAL ATTRIBUTES to assign numeric values to attributes but with loading up the ATTRIBUTES with all of the options brings elog to its knees in terms of performance -- the parsing of attributes is simply too string intensive.

So, I embedded the numeric score in the OPTIONS of the ATTRIBUTE and leveraged the text processing prowess of GAWK:
Options WhoIsEffected =   1:...Single User, 5:...Project, 10:...Department, 50:...Site
Options ServiceOutage =   1:...0-1 Minutes, 2:...10 Minutes, 10:...20 Minutes, 30:...30 Minutes, 100:...gt60 

Then pass the following command to GAWK:
Preset TotalScore = $shell(gawk 'BEGIN{split(\"$WhoIsEffected:$ServiceOutage\",scores,\":\");print scores[1]+scores[3]}' )

The interesting result is this works - the proper summation is returned but apparently elog parsing also returns everything after the first ')' as something that also needs to be returned. So the resulting contents of TotalScore is
2;print scores[1]+scores[3]}' ) 
assuming one chose the first option of both attributes (the output pasted here are real results).

Before getting to this point I tried using the GAWK internal variable of $0 - but this did not work because apparently $0 in elog is defined as the OS shell!

Stefan, is it possible for you to try creating a logbook on the elog demo site that shows people how to perform math and in the process discover what the $SHELL function is doing?
    icon2.gif   Re: Interesting behavior with $shell, posted by Steve Jones on Sun Oct 29 16:04:05 2006 

Steve Jones wrote:
eLog does not do math so I am trying to leverage the $SHELL function to perform the math. I am using GAWK to perform the math -- I started trying to use CONDITIONAL ATTRIBUTES to assign numeric values to attributes but with loading up the ATTRIBUTES with all of the options brings elog to its knees in terms of performance -- the parsing of attributes is simply too string intensive.

So, I embedded the numeric score in the OPTIONS of the ATTRIBUTE and leveraged the text processing prowess of GAWK:
Options WhoIsEffected =   1:...Single User, 5:...Project, 10:...Department, 50:...Site
Options ServiceOutage =   1:...0-1 Minutes, 2:...10 Minutes, 10:...20 Minutes, 30:...30 Minutes, 100:...gt60 

Then pass the following command to GAWK:
Preset TotalScore = $shell(gawk 'BEGIN{split(\"$WhoIsEffected:$ServiceOutage\",scores,\":\");print scores[1]+scores[3]}' )

The interesting result is this works - the proper summation is returned but apparently elog parsing also returns everything after the first ')' as something that also needs to be returned. So the resulting contents of TotalScore is
2;print scores[1]+scores[3]}' ) 
assuming one chose the first option of both attributes (the output pasted here are real results).

Before getting to this point I tried using the GAWK internal variable of $0 - but this did not work because apparently $0 in elog is defined as the OS shell!

Stefan, is it possible for you to try creating a logbook on the elog demo site that shows people how to perform math and in the process discover what the $SHELL function is doing?




Steve Jones wrote:

So, in order to quickly get around the problem I did the following:
Preset TotalScore = $shell(echo \"$WhoIsEffected:$ServiceOutage\" | gawk -f <gawkscript>' )

This works since all of the script logic is contained in an external script but removes the logic from the elog config, so if anything changes one has to remember to change the script (which is in a comment).
icon5.gif   Error Sending Email, posted by Ibrahim Genc on Thu Oct 12 16:22:40 2006 
I've set up all e-mail configuration but I get error message after submitting a message

verbose output is as follows: every parameter I used works in outlook express.

Another question is; Can I change the port number of the smtp server? Some servers use another port than 25.

Thanks so much.
--
ibrahim

------------------------------------------------
Email ALL to genc@xxx.com.tr

timezone: -7200, offset: 10800


Email from genc@xxx.com.tr to genc@xxx.com.tr,genc@xxx.com.tr,, SMTP host
mail.xxx.com.tr:
220 mx-d.xxx.com ESMTP Postfix
EHLO neuron
250-mail-003.xxx.com
250-PIPELINING
250-SIZE 41943040
250-VRFY
250-ETRN
250-AUTH LOGIN PLAIN CRAM-MD5
250-AUTH=LOGIN PLAIN CRAM-MD5
250 8BITMIME
==== Return ================================
HTTP/1.1 302 Found
Server: ELOG HTTP 2.6.2-1722
Connection: Keep-Alive
Keep-Alive: timeout=60, max=10
Location: http://127.0.0.1:8080/PhD/4?error=Error+sending+Email+via+<i>"mail.xxx.com.tr"</i>
    icon2.gif   Re: Error Sending Email, posted by Stefan Ritt on Thu Oct 12 16:34:07 2006 

Ibrahim Genc wrote:
I get error message after submitting a message


Your verbose output seems to be only partial. I have modified the verbose output recently, so please update to a more recent version of elog. With 2.6.2-3 I get for example
Email from stefan.ritt@psi.ch to stefan.ritt@psi.ch, SMTP host xxx.psi.ch:
220 xxx.psi.ch xxxvs01 Thu, 12 Oct 2006 16:25:17 +0200
HELO xxx.psi.ch
250 xxx.psi.ch Hello [129.129.xxx.xxx]
MAIL FROM: stefan.ritt@psi.ch
250 2.1.0 stefan.ritt@psi.ch....Sender OK
RCPT TO: <stefan.ritt@psi.ch>
250 2.1.5 stefan.ritt@psi.ch
RCPT TO: <stefan.ritt@psi.ch>
250 2.1.5 stefan.ritt@psi.ch
DATA
354 Start mail input; end with <CRLF>.<CRLF>
Date: Thu, 12 Oct 2006 16:25:17 +0200
To: "Stefan Ritt" <stefan.ritt@psi.ch>
From: Stefan Ritt <stefan.ritt@psi.ch>
User-Agent: Elog Version 2.6.2
Subject: Updated ELOG entry
X-Elog-URL: http://localhost:8080/demo/1
X-Elog-submit-type: web|elog
Content-Type: text/html; charset="ISO-8859-1"
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

... here comes the complete email body ....

.
250 2.6.0 <xxx.psi.ch> Queued mail for delivery
QUIT
221 2.0.0 xxx.psi.ch Service closing transmission channel
==== Return ================================
HTTP/1.1 302 Found
Server: ELOG HTTP 2.6.2-1724
Connection: Keep-Alive
Keep-Alive: timeout=60, max=10
Content-Length: 20

This is of course without SMTP username. Our mail server does not support SMTP username, so I programmed this kind of "blindly".



Ibrahim Genc wrote:
Another question is; Can I change the port number of the smtp server? Some servers use another port than 25.


All server I met so far were running on port 25, so I hardcoded this in elogd.c. You can change it in the source code at line 2119:
bind_addr.sin_port = htons((short) 25);

If more people ask for this, I can make it a parameter.
       icon2.gif   Re: Error Sending Email, posted by Ibrahim Genc on Thu Oct 12 17:42:37 2006 

Stefan Ritt wrote:

Ibrahim Genc wrote:
I get error message after submitting a message

Your verbose output seems to be only partial. I have modified the verbose output recently, so please update to a more recent version of elog. With 2.6.2-3 I get for example


I downloaded the latest version just yesterday. I checked again now; it is version 2.6.2-3. I'll wait some time for release of new build of windows binaries. Mine differs from yours as a one build number only.

Thanks for prompt answer.
       icon2.gif   Re: Error Sending Email, posted by Ibrahim Genc on Fri Oct 13 23:17:05 2006 

Stefan Ritt wrote:

Ibrahim Genc wrote:
I get error message after submitting a message


Your verbose output seems to be only partial. I have modified the verbose output recently, so please update to a more recent version of elog. With 2.6.2-3 I get for example
Email from stefan.ritt@psi.ch to stefan.ritt@psi.ch, SMTP host xxx.psi.ch:
...

Now I installed 262-4 but no change. communication seems to be stopped at the same point.


Stefan Ritt wrote:

This is of course without SMTP username. Our mail server does not support SMTP username, so I programmed this kind of "blindly".


There is a free e-mail service at mail.softhome.net. It provides smtp and pop3 services. You can use this for testing if you want.

Saluts.
--
ibrahim
          icon2.gif   Re: Error Sending Email, posted by Stefan Ritt on Mon Oct 16 08:57:07 2006 

Ibrahim Genc wrote:
There is a free e-mail service at mail.softhome.net. It provides smtp and pop3 services. You can use this for testing if you want.


I tried but I was unable to obtain a free account. Furthermore, the problem is probably related to your SMTP server's authentication method. There are many methods and ELOG only supports a subset. So I would have to try with your specific SMTP server. So the only recommendation I can give you is to find an SMTP server without authentication. That one will certainly work with elog.
             icon2.gif   Re: Error Sending Email, posted by An Thai on Wed Oct 25 17:20:27 2006 

Stefan Ritt wrote:

Ibrahim Genc wrote:
There is a free e-mail service at mail.softhome.net. It provides smtp and pop3 services. You can use this for testing if you want.


I tried but I was unable to obtain a free account. Furthermore, the problem is probably related to your SMTP server's authentication method. There are many methods and ELOG only supports a subset. So I would have to try with your specific SMTP server. So the only recommendation I can give you is to find an SMTP server without authentication. That one will certainly work with elog.




Dear all WINDOWS users,

Good news.
you can send email to any SMTP server with authentification !!! Just install component Windows IIS (Internet Information Services). You need the Windows Professional installation CD to install it.

How it works:
ELOG -> Default SMTP Virtual Server -> SMTP with authentification (your email provider/ company mail server)


How to configurate Default SMTP Virtual Server:

Right mouse click on icon My Computer -> Manage
Expand Services and Apllications -> IIS
Right mouse click on Default SMTP Virtual Server -> Properties
Select Delivery tab
Click the button Outbound Security ->Select Basic authentification and enter your user/password which you got from your Email-provider/Company -> OK
Click the button Advanced... -> type your SMTP host in the fields "smart host" and "Full-qualified... ", i.e. smtp.gmx.net

(Don't forget to check the tab Access -> Connection and Relay buttons -> Select "All accept the list")



How to configurate your Elog.cfg file:
SMTP host = xxxx

Normally xxxx is your personal computer name by right click on the icon "My Computer" -> Properties -> Tab "Computer Name"
OR
xxxx: the name what you see by expand Services and Apllications -> IIS -> Default SMTP Virtual Server -> Domains -> Domain Name


GOOD LUCK
icon5.gif   Text column in the main list, posted by Alexandre Lindote on Fri Oct 20 13:26:10 2006 
Hi,

is there a way of removing the "Text" column from the main listing of a logbook?
I have a logbook that works as a document database, and I don't even allow the entering of text... But the column insists on appearing! Smile

Thanks

Alex
    icon2.gif   Re: Text column in the main list, posted by Stefan Ritt on Fri Oct 20 13:28:38 2006 

Alexandre Lindote wrote:
Is there a way of removing the "Text" column from the main listing of a logbook?
I have a logbook that works as a document database, and I don't even allow the entering of text... But the column insists on appearing! Smile


Summary lines = 0
       icon2.gif   Re: Text column in the main list, posted by Alexandre Lindote on Fri Oct 20 13:36:29 2006 

Stefan Ritt wrote:

Alexandre Lindote wrote:
Is there a way of removing the "Text" column from the main listing of a logbook?
I have a logbook that works as a document database, and I don't even allow the entering of text... But the column insists on appearing! Smile


Summary lines = 0


Great! Thanks a lot

Alex
icon5.gif   How to pass attachment names to an Execute line?, posted by Alexandre Lindote on Thu Oct 19 11:45:18 2006 
Hi,

I'm trying to pass the name of an attachment in a "Execute new " line, but I can't seem to get the correct syntax...
I've tried:
Execute new = echo "New document with reference $Internal Ref with the name $attachements " >> /home/zeplin3/lixo.log
Execute new = echo "New document with reference $Internal Ref with the name $attachements1 " >> /home/zeplin3/lixo.log
Execute new = echo "New document with reference $Internal Ref with the name $1 " >> /home/zeplin3/lixo.log

but nothing seem to work. If I remove the $attachments bit the output is correct...
Any suggestions?

Thanks

Alex
    icon2.gif   Re: How to pass attachment names to an Execute line?, posted by Stefan Ritt on Thu Oct 19 19:45:35 2006 

Alexandre Lindote wrote:
Hi,

I'm trying to pass the name of an attachment in a "Execute new " line, but I can't seem to get the correct syntax...
I've tried:
Execute new = echo "New document with reference $Internal Ref with the name $attachements " >> /home/zeplin3/lixo.log
Execute new = echo "New document with reference $Internal Ref with the name $attachements1 " >> /home/zeplin3/lixo.log
Execute new = echo "New document with reference $Internal Ref with the name $1 " >> /home/zeplin3/lixo.log

but nothing seem to work. If I remove the $attachments bit the output is correct...
Any suggestions?


Sorry there was a type in the documentation. You should write

$attachments

and not

$attachements

then it will work.
icon13.gif   Date format in Threaded display, posted by deletoille on Tue Oct 17 12:14:27 2006 Elog1.JPGElog2.JPG
hello,

I have a problem with the Date format in the Threaded display. The Date Format appears normally in the full and the summary displays but not in the threaded one.
I have found a similar Entry in the forum posted by Steve Jones on Friday July 16 16:53:01 2004 and you answered :" That should be fixed by the current version. Please update."
Did I make a mistake?

Here is a part of my program:

Show Attributes = Date evenement, Heure evenement, Auteur, Icone, Groupe
Time format = %d/%m/%Y, %T
Type Date evenement= datetime
Start page = ?rsort= Date evenement

Thanks in advance
    icon12.gif   Re: Date format in Threaded display, posted by Ibrahim Genc on Tue Oct 17 13:03:22 2006 

deletoille wrote:
hello,

Time format = %d/%m/%Y, %T

Thanks in advance


I think "date format" and "time format" are different tags.
you may try to use date format here.
       icon2.gif   Re: Date format in Threaded display, posted by Stefan Ritt on Tue Oct 17 13:12:52 2006 
That fix for Steve Jones was slightly different, it had to do with substitutions in threaded display. I fixed yours now in revision 1734, so give it a try.

Salut,

Stefan
          icon1.gif   Re: Date format in Threaded display, posted by deletoille on Thu Oct 19 12:26:16 2006 

Stefan Ritt wrote:
That fix for Steve Jones was slightly different, it had to do with substitutions in threaded display. I fixed yours now in revision 1734, so give it a try.

Salut,

Stefan


Hello,
I’ve tried on the last available release (revision 1732) and I have the same problem.
You said in you previous message that: “I fixed yours now in revision 1734, so give it a try.”
Could you tell me when this one will be available?

Thanks in advance
             icon2.gif   Re: Date format in Threaded display, posted by Stefan Ritt on Thu Oct 19 12:32:11 2006 

deletoille wrote:
I’ve tried on the last available release (revision 1732) and I have the same problem.
You said in you previous message that: “I fixed yours now in revision 1734, so give it a try.”
Could you tell me when this one will be available?


Since you checked "Linux" in the "OS" of this entry, I was under the assumption that you were able to compile elog from the Subversion repository (http://savannah.psi.ch/websvn/filedetails.php?repname=elog&path=%2Ftrunk%2Fsrc%2Felogd.c).

If you need the Windows executable, I made http://midas/elog/download/windows/elog262-6.exe for you.
                icon7.gif   Re: Date format in Threaded display, posted by deletoille on Thu Oct 19 12:42:42 2006 

Stefan Ritt wrote:

deletoille wrote:
I’ve tried on the last available release (revision 1732) and I have the same problem.
You said in you previous message that: “I fixed yours now in revision 1734, so give it a try.”
Could you tell me when this one will be available?


Since you checked "Linux" in the "OS" of this entry, I was under the assumption that you were able to compile elog from the Subversion repository (http://savannah.psi.ch/websvn/filedetails.php?repname=elog&path=%2Ftrunk%2Fsrc%2Felogd.c).

If you need the Windows executable, I made http://midas/elog/download/windows/elog262-6.exe for you.


IT WORKS!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
THANKS A LOT
icon5.gif   Email format, posted by Arckonit on Tue Oct 17 09:11:15 2006 
Hi all,
Before all, i would say that ELOG is simply one of the best web-based program
Simple and fast
Just one day to configure it for our firm with multiple groups and so on ^^

So, my last problem is in the Email format
I know the use "use email heading" and other, but i would like to configure the body of the mail, where there is the link, the name of the author, etc.

I wonder if it could be customized
thank again for this soft, and good continuation
    icon2.gif   Re: Email format, posted by Stefan Ritt on Tue Oct 17 09:14:41 2006 

Arckonit wrote:
I know the use "use email heading" and other, but i would like to configure the body of the mail, where there is the link, the name of the author, etc.


Following options can be used to format the email body:

  • Use Email heading = ...
  • Use Email Subject = ...
  • Email attributes = ...
  • Email encoding = ...
  • Email format = ...

Probably the last one is the one you are looking for...
       icon2.gif   Re: Email format, posted by Arckonit on Tue Oct 17 09:29:39 2006 
Thanx for the quick answer
Email format = ?
Where can i find some help to use this feature ?
          icon2.gif   Re: Email format, posted by Stefan Ritt on Tue Oct 17 09:32:21 2006 

Arckonit wrote:
Thanx for the quick answer
Email format = ?
Where can i find some help to use this feature ?


RTFM!

http://midas.psi.ch/elog/config.html#flags search for Email format
             icon2.gif   Re: Email format, posted by Arckonit on Tue Oct 17 09:35:01 2006 
;)I've searched, i don't understand
but thanks !
"relis ton foutu manuel !"
excellent
ELOG V3.1.5-3fb85fa6