breakout syslog into its own template, simplify copy_env