msgbase.c updated to new logging standard