Support for proper log directory & test app port