In production, set log directory by environment variable