1e662a2 set up logging only when running as the main script

Authored and Committed by kparal 9 years ago
    set up logging only when running as the main script
    
    This helps with log messages duplication, see T186.
    
        
file modified
+7 -1