Fix for #126 (log configuration is inconsistent)

Added a _canLog() function that naively checks all possible combinations.