Ask questions. Get answers. Find technical product solutions from passionate experts in the NXLog community.

exec_async - can't run powershell script
Hello, We have an issue where NXLog stops listening to the UDP port but nxlog remains running.  It posts a message to its log and I would like to run, via exec_async a powershell script that stops and restarts the nxlog service. However, I am unable to do so receiving this error: ERROR if-else failed at line 9, character 97 in C:\Program Files (x86)\nxlog\conf\nxlog-self.conf. statement execution has been aborted; procedure 'exec_async' failed at line 9, character 97 in C:\Program Files (x86)\nxlog\conf\nxlog-self.conf. statement execution has been aborted; couldn't execute process C:\temp\restart; %1 is not a valid Win32 application.   Does anybody know how to avoid this error and have nxlog run the script? Thanks and regards Peter  

PeterF created
Replies: 1
View post »
last updated