Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 533 of 808  Not logged in ELOG logo
    icon2.gif   Re: Email Notification (Not) Initiated by elog Client Utility, posted by Andreas Luedeke on Wed Jul 19 08:50:16 2017 
Yes, parentheses in field content might be difficult to pass from a shell command. You did not even mention which Linux shell you are using and you did
not show the actual elog command. Maybe you want to add that information?




Phil
    icon2.gif   Re: Email Notification (Not) Initiated by elog Client Utility, posted by Phil Rubin on Wed Jul 19 08:59:52 2017 
Thank you for responding.

I thought I provided the command at the end of the note:

/usr/local/bin/elog -h host -p port -l Notebook -u user passwd -a Author="Author" -a Type=Type -a Category=Category -a Subject="subject"
    icon2.gif   Re: Email Notification (Not) Initiated by elog Client Utility, posted by Andreas Luedeke on Wed Jul 19 10:14:44 2017 
If that is your command then it is obvious why no email is send:

you do set "Type=Type", but only for "Type=Problem(s)" and "Category=TDAQ" you would send an email.

Instead of writing "-h host" you should as well define the actual hostname, like "-h midas.psi.ch", likewise for all other
    icon2.gif   Re: Email Notification (Not) Initiated by elog Client Utility, posted by Phil Rubin on Wed Jul 19 10:25:08 2017 
I didn't realize you required every detail of the command, since the entry is being logged, but here is an example (only the user information is
blanked out):

/usr/local/bin/elog -h vmna62s1 -p 8080 -l NA62Logbook -u xxxx xxxx -a Author=Rubin -a Type=Problem\(s\) -a Category=Elog -a Subject="Client
    icon2.gif   Re: Email Notification (Not) Initiated by elog Client Utility, posted by Andreas Luedeke on Wed Jul 19 13:37:33 2017 
Okay, I can confirm that this does not work. It is likely related to the disclaimer in the ELOG documentation (https://midas.psi.ch/elog/config.html#conditional)

Conditional attributes are usually only used for change items in the entry form.

I guess that the "Email" command never worked with conditional attributes. I use the "Email" command and conditional attributes
    icon2.gif   Re: Email Notification, posted by Stefan Ritt on Mon Jun 30 17:07:03 2003 
> Is there a way to configure elog so users that have their email notification
> on only get notified for updates to logs they have access to? I've looked
> all through the documentation and I can't seem to find a way to do this.
    icon7.gif   Re: Email Notification, posted by Robert Keeney on Mon Jun 30 20:29:43 2003 
You guessed right. I give it a try soon as I get a chance. Thanks.

> I guess you have a global password file and use "login user" statements for 
    icon2.gif   Re: Email Notification, posted by Robert Keeney on Wed Jul 23 12:53:25 2003 
I have had this installed for about two weeks now and it seems to be working
fine. I haven't seen any problems at all and none of the other users have
reported any.
ELOG V3.1.5-3fb85fa6