Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG  Not logged in ELOG logo
icon5.gif   Conditional Email Notification by a text file, posted by An Thai on Thu Nov 2 14:34:36 2006 
    icon2.gif   Re: Conditional Email Notification by a text file, posted by Steve Jones on Thu Nov 2 23:16:11 2006 
       icon2.gif   Re: Conditional Email Notification by a text file, posted by An Thai on Fri Nov 3 01:03:33 2006 
          icon2.gif   Re: Conditional Email Notification by a text file, posted by Steve Jones on Fri Nov 3 03:42:18 2006 
             icon2.gif   Re: Conditional Email Notification by a text file, posted by Stefan Ritt on Thu Nov 9 20:45:32 2006 
                icon2.gif   Re: Conditional Email Notification by a text file, posted by An Thai on Thu Nov 9 23:25:15 2006 
                   icon2.gif   Re: Conditional Email Notification by a text file, posted by Stefan Ritt on Fri Nov 10 07:51:59 2006 
                      icon2.gif   Re: Conditional Email Notification by a text file, posted by Grant Jeffcote on Sat Nov 11 06:56:16 2006 
                         icon2.gif   Re: Conditional Email Notification by a text file, posted by Stefan Ritt on Sat Nov 11 18:36:44 2006 
                            icon2.gif   Re: Conditional Email Notification by a text file, posted by Grant Jeffcote on Sat Nov 11 18:48:48 2006 
                               icon2.gif   Re: Conditional Email Notification by a text file, posted by Stefan Ritt on Sat Nov 11 18:54:59 2006 
                                  icon2.gif   Re: Conditional Email Notification by a text file, posted by Grant Jeffcote on Sat Nov 11 21:31:33 2006 
                                     icon2.gif   Re: Conditional Email Notification by a text file, posted by Stefan Ritt on Wed Nov 15 20:22:29 2006 
                                        icon2.gif   Re: Conditional Email Notification by a text file, posted by An Thai on Thu Nov 16 14:07:32 2006 
                                           icon5.gif   Re: Conditional Email Notification by a text file, posted by An Thai on Thu Mar 1 15:27:31 2007 
                                              icon2.gif   Re: Conditional Email Notification by a text file, posted by Stefan Ritt on Thu Mar 1 22:10:11 2007 
                                                 icon2.gif   Re: Conditional Email Notification by a text file, posted by An Thai on Tue Mar 6 13:49:17 2007 
                                                    icon2.gif   Re: Conditional Email Notification by a text file, posted by Stefan Ritt on Tue Mar 6 13:55:15 2007 
Message ID: 2073     Entry time: Sat Nov 11 18:48:48 2006     In reply to: 2072     Reply to this: 2074
Icon: Reply  Author: Grant Jeffcote  Author Email: grant@jeffcote.org 
Category: Question  OS: Windows  ELOG Version: 2.6.2.1723 
Subject: Re: Conditional Email Notification by a text file 
Thanks Stefan,

I understand that and the registry entry that I use (for the service) is what I had quoted below.
The problem I have is that when Elog is started as a service using the -x switch then the shell command using An's mail list suggestion does not work? Starting the elogd daemon manually (ie using the command prompt) does work.
I have other features within my configuration which use the 'execute new $shell' option which works perfectly so I know that the -x switch is functional within the service.

BR Grant


Stefan Ritt wrote:

Grant Jeffcote wrote:
I can't seem to get this working when Elogd is started as a service though?
Starting elogd (-x) manually works fine and with the -v switch I can see it is operating correctly but obviously the service option is preferred.
The service ("D:\ELOG\elogd.exe" -x -D -c "D:\ELOG\elogd.cfg") is starting correctly using the -x switch (as I use the shell command for other elog options) but it doesn't seem to send the mail.
Is this a 'feature' ;o)


Sure Big grin

But seriously, elogd cannot be started as a service under windows by opening a command window and executing above command line. Under windows, it has to be installed and run as a service, which is usually done by the installer. To change it, you do that by selecting My Computer, then right mouse click and Manage, then you select Serviced and Applications, then Services, then you will see the elogd service. A double click on it opens the corresponding properties, where you will find the command line, usually

"C:\Program Files\ELOG\elogd.exe" -D -c "C:\Program Files\ELOG\elogd.cfg"

Here you have to change the command line parameters to add the -x flag. Then you stop and restart the service.
ELOG V3.1.5-fe60aaf