Remove logging filter and just set up logging handlers conditionally