Fixed test_log not working on linux