log: fixed log levels to match c/c++ constants