I took the server log path of jboss using this System.getProperty("jboss.server.log.dir"). But i don know how can i get for Websphere and weblogic. I tried in the same way as i did for jboss but i couldnt find the solution.
Please any one help me to find the server log paths for websphere and weblogic.
Maybe you won't like this, but my suggestion would be to stop wanting that. Perhaps there is a better way for you to do whatever it is you want to do; messing about with the server logs may not be a good idea. So why don't we start with what it is you actually want to do?
Joined: Jan 12, 2012
If several nodes of an appserver(jboss,Weblogic,Websphre) is running (means appserver in cluster) in the same machine or in different machines. i need to collect all the logs of all the nodes and need to zip them. This is my requirement. How can do it ?. Please have your suggestions.