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
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. |
|