Only apply debug filter to debug log lines
Description
The debug filter, set by using the BGD_MESSAGE_DEBUG
allows whitelisting that are allowed to log debug messages. At least, that was my impression of it's intent. In practice, it would filter all log statements, regardless of their severity. This MR fixes that and lets all messages that aren't DEBUG
level to pass through the filter.