Environment variable exposing port or logging path
Web Service Shell handlers that are not writing in Java currently have no way to dynamically determine the appropriate web service logging path on their server. Having this path would be handy for writing additional debug logs directly from the handler and not through Tomcat.
Tomcat by defaults writes to the logs/ directory in its local instance . For example, ~/server8084/logs/. This logs directory is a symlink to a directory in /wslogs on the server (i.e. ~/server8084/logs -> /wslogs/wsbeta1/server8084/).
The Web Service Shell is already exposing a number of environment variables defined in the following document:
During our meeting, we determined that it would be useful to add PORT number to this list, as well as, LOGGING_DIRECTORY which would be the absolute path to the appropriate ~/server####/logs directory for the given instance.