Log traces fatal an warn moved to critical and alert. Also non-const variables from uppercase to lowercase