Added Database, Log codes.