logging: Remove unused variable after recent changes

The variable is not used anymore as the decision is done in the
newly added check_log_to_target method.
1 file changed