trace environment variable can log to file