title: Send Jenkins container's logs to syslog
body: <p>Using the Jenkins TLS docker image, how do I write the logs to the docker host machine? The only way I've been able to get it to work is to run the container interactively and redirect the output but that seems bad in so many ways. Below is how it currently runs:</p>
  
  <pre><code>docker run \
  --init -d \
  -p 8080:8080 \
  -p 50000:50000 \
  -v /var/run/docker.sock:/var/run/docker.sock \
  -v /var/jenkins_home:/var/jenkins_home \
  -v /var/log/jenkins:/var/log/jenkins \
  my.repo/jenkins:latest
  </code></pre>
  
  <p>(so the "fix" was to add ">> /var/log/jenkins/jenkins.log 2>&amp;1" to the end, seems like a terrible idea)</p>
  
  <p>I was trying to use the syslog driver but it does not seem to work - I have UDP 514 open and I was able to write a message to it using logger but nothing seems to show up for the container.</p>