Fixed another build error about file handlers
Made it easy to turn off file logging