Better implementation of logging class exclusion, and tested with regression
tests, including the new SSH and SFTP logging classes.