update logging and SESSION_ENGINE