Arno Teunisse wrote: |
; attributes
Attributes = OS, Version, Klant , Category, Subject
Options OS = AIX{1}, HP-UX{2} , Redhat{3} , Suse{4}, Fedora{5}, SUN{6}
Options Category = Documentation, disk , network , software , backup , boot,
Options Klant = None, Cust1 , Cust2 , Cust3 , Cust4, Cust5
{1} options Version = 4.3, 5.1 , 5.2 ,5.3
{2} options Version = 10.20, 11.11, 11.23
{3} options Version = 4.0
{4} options Version = 10.0
{5} options Version = 5.0,6.0,7.0
{6} options Version = 5.6,5.7,5.8,5.9,5.10
extendable Options = Category, Klant, OS , Version |
Actually me previous statement was incorrect. Extendable options work also under conditions. Your problem is that you specified
{1} options Version = 4.3, 5.1 , 5.2 ,5.3
instead
{1} Options Version = 4.3, 5.1 , 5.2 ,5.3
(note the capital O). If you change that, it will work. Anyhow I changed the code so that the case of these statements is ignored in the future. |
Ok,
I noticed that the email notification got two copies of the attached files to elog post. It looks like the cause is
between elog and the mail server. When there is email notification, the attachement is sent along to the mail server and that's taking a long time and there are two copies of the attachment.
Jacky Li wrote: | Hi,
I did more testing..if I suppress email notification, it is fast. There is something wrong there. |
65642
|
Mon Nov 5 14:00:56 2007 |
| Konrad Klimaszewski | graag@o2.pl | Question | Linux | 2.6.1 | Re: large attachment seems to hang elogd? | Hi,
Jacky Li wrote: | Ok,
I noticed that the email notification got two copies of the attached files to elog post. It looks like the cause is
between elog and the mail server. When there is email notification, the attachement is sent along to the mail server and that's taking a long time and there are two copies of the attachment.
Jacky Li wrote: | Hi,
I did more testing..if I suppress email notification, it is fast. There is something wrong there.
|
|
Indeed I can confirm that without email notification it's blazing fast. I haven't observed attachments being send twice. Though I got two indentical entries in the elog.
On my box I'm using sendmail. Until there is some fix in the way elog comunicates with mailer (if it is possible that is) could we have an option to suppress sending attachments in email notification?
Best Regards,
Konrad |
65643
|
Mon Nov 5 14:06:41 2007 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Linux | 2.6.1 | Re: large attachment seems to hang elogd? |
Konrad Klimaszewski wrote: | Until there is some fix in the way elog comunicates with mailer (if it is possible that is) could we have an option to suppress sending attachments in email notification? |
There is such an option:
Email format = 47
This tells elog to send email notifications without attachments. Anyhow I would not recommend to send big attachments as emails, since most email systems won't allow you that. Since the attachments are base64 encoded, the encoding can also take quite a long time. |
|