I have two machines in office. One is PC and the other is desktop which I got recently.
I have installed same application (my java code) on both the machines. The servers installed are identical.
on my PC when I run my application locally , the log files get created correctly. But on my desktop with same settings the logs do not get created. I compared my classpath and other settings on both the machines for the same application. Nothing seems different. IS there any computer related settings that is rejecting the logs getting created for my application on the desktop. I am running out of any solution to this problem.
With my app, in the log4J config file , I just specify the location for logs directory. I checked the spelling and the path on the desktop and everything seems to be in order.
I found the issue .
I downloaded the log4j jar and put it in my classpath on my desktop and now I see the logs are getting created. my only confusion is why it's working on my pc when no log4j.jar is in classpth on the pc?
For now the issue is resolved.
Politics is a circus designed to distract you from what is really going on. So is this tiny ad: