Improve logging: use separate log file