changed logging conf to a file not JSON for compatibility with old python versions