extended _log.code from 6 to 10 characters