add heapdump for snapshots and debugging
add logrotate config file for logs