Support a filter, so that only certain messages get logged
Change default log filter to DEBUG