adding config for logging and heapdump