Added option to filter log based on level.
Reverted to old logical flow with multiple listeners.