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: 2072     Entry time: Sat Nov 11 18:36:44 2006     In reply to: 2071     Reply to this: 2073
Icon: Reply  Author: Stefan Ritt  Author Email: stefan.ritt@psi.ch 
Category: Question  OS: Windows  ELOG Version: 2.6.2.1723 
Subject: Re: Conditional Email Notification by a text file 

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-3fb85fa6