Martin,
To clarify further, as well as IntroscopeEPAgent.properties having "log4j.logger.EPAgent=DEBUG, console, logfile"
I also had DEBUG set in the wrapper conf file EPAService.conf i.e.
#wrapper.logfile.loglevel=STATUS
wrapper.logfile.loglevel=DEBUG
When I reverted to STATUS I saw no output in the file.
I have tested starting EPAgent from command line like this:
java -Dcom.wily.introscope.epagent.properties=C:/epagent_10_7/IntroscopeEPAgent.properties -jar C:/epagent_10_7/lib/EPAgent.jar > epagent_stdout.out 2> epagent_stderr.out
Only the class plugin output is written to epagent_stderr.out
===
2018-05-31 05:26:38.218:INFO:oejs.Server:jetty-7.x.y-SNAPSHOT
2018-05-31 05:26:38.258:INFO:oejsh.ContextHandler:started o.e.j.s.ServletContextHandler{/,null}
2018-05-31 05:26:38.350:INFO:oejs.AbstractConnector:Started SelectChannelConnector@0.0.0.0:9080
[INFO] File was updated
[INFO] File was updated
===
The command plugin output appears in epagent_stdout.out (console) and IntroscopeEPA.log (logfile):
===
5/31/18 05:30:08 AM IST [ERROR] [EPAgent] The stateful plugin 'CountLog' is being restarted.
5/31/18 05:30:08 AM IST [DEBUG] [EPAgent] Class plugin finished: CountLog
5/31/18 05:30:08 AM IST [ERROR] [EPAgent.EPAgent CountLog] The stateful plugin 'CountLog' has unexpectedly quit.
5/31/18 05:30:08 AM IST [ERROR] [EPAgent] The stateful plugin 'CountLogCMD' is being restarted.
5/31/18 05:30:08 AM IST [DEBUG] [EPAgent.EPAgent CountLogCMD] Starting plugin process: CountLog.cmd
5/31/18 05:30:08 AM IST [DEBUG] [EPAgent] Process plugin parsing line: C:\epagent_10_7>java CountLog
5/31/18 05:30:08 AM IST [ERROR] [EPAgent.EPAPluginProcessor] Metric data from plugin 'Plugin CountLogCMD' is invalid: C:\epagent_10_7>java CountLog
5/31/18 05:30:08 AM IST [DEBUG] [EPAgent.EPAgent CountLogCMD] Process has exited with: 0
5/31/18 05:30:08 AM IST [ERROR] [EPAgent.EPAgent CountLogCMD] [ stderr ] [INFO] File was updated
5/31/18 05:30:08 AM IST [INFO] [EPAgent.EPAgent CountLogCMD] The process started by plugin CountLogCMD was destroyed
5/31/18 05:30:08 AM IST [ERROR] [EPAgent.EPAgent CountLogCMD] The stateful plugin 'CountLogCMD' has unexpectedly quit.
===
I think that all maps to what Hiko_Davis was describing.
Regards,
Lynn