Community forum

Please note that VisualCron support is not actively monitoring this community forum. Please use our contact page for contacting the VisualCron support directly.


pellington
2011-07-19T19:24:28Z
Hi,

We are using VisualCron to run a Java batch process that uses log4j to log activity. When running the batch process outside of VisualCron the logging behaves as expected and the activity is recorded in the log in the location we configured. When we run this job through VisualCron, the logging works but it gets written into a log file in Windows/System32. And no matter what I modify the configuration file to, the logging always gets written there. How can I change the location to where the logging gets written? Thanks in advance for any help.

-P
Sponsor
Forum information
Support
2011-07-19T19:28:22Z
Does it matter if you change Working directory property? I suspect it might be a settings in log4j where you can hardcode it to a location but I am no expert at log4j settings.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
pellington
2011-07-19T20:41:58Z
That did it, thanks Henrik. I hadn't set the working directory for the job. Its working now. Thanks again.
Scroll to Top