common (logging) and errorcodes