set log for environment