Add --enable-logging that enables logging