Refactor Logger into GenServer and write to log file for each env.