Quantcast
Channel: THWACK: Discussion List - Kiwi Syslog
Viewing all articles
Browse latest Browse all 745

Log variable

$
0
0

Hello, I am trying to log the value of the variable Global01. I have tried different ways - however without success.

 

I have written a Script which sets VarGlobal01 according to certain text components of a snmp message. The following Action "Run external Programm" calls a Batch file an passes the variable. Everything fine so far.

 

Now I want to log the value of the variable in seperate log file. I tried a separate Batch file: >> path\logfiletxt echo %1

 

I works well when the Batch file is executed directly and also when clicking the test button in the syslog Server console. However, no log file is created during the regular logggin. All Actions are beeing excecuted - so the filter can't be the reason.

 

Any ideas how to log the variable every time the script runs?

 

THANKS


Viewing all articles
Browse latest Browse all 745

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>