edit loggin config depending on deploy mode