Customer Portal

watchdog output issues

Comments 1

  • Avatar
    mzatopek
    0
    Comment actions Permalink
    I am not specialist for Windows shell, nonetheless I guess that the given command "..\bin\clover.bat graph\mygraph.grf" is run in different shell instance than the actual one. The probably easiest way is to simply redirect the stdout to an file:

    runas /env /user:domain\user "..\bin\clover.bat graph\mygraph.grf > clover.log"

    Equivalent solution could be done by log4j configuration:

    runas /env /user:domain\user "..\bin\clover.bat graph\mygraph.grf -logcfg mylog4j.properties"

    and refactor the build-in log4j.properties with a file appender or whatever you want.

Please sign in to leave a comment.