May be my question is wrong but feel like asking it. I have deployed one component in one server and another component in another server both aredependent on each other for my design requirements. for application support I wish to keep both the application logs in one server logs directory. Is that possible?
The first place to look would be the documentation of your server's logger to see if you can specify a remote location for the log file e.g log4j provides a SocketAppender http://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/net/SocketAppender.html
Should be however is it a good idea? That might depend on what you mean by "log".
In normal trace logging the point is to figure out why a server isn't working by looking at information in a "log" file.
In your scenario there is a failure scenario that fails to provide you any information, and that is the case where the remote location is not available. You will not have any place to log the failure.