correct PUBLIC_LOG_DIR and changed MIDOSTACK_LOG_DIR