title: Redirecting Apache Logs to STDOUT
body: <p>I have a docker container running an apache server in background (apachectl start &amp;) and i am directing the logs to STDOUT/STDERR via <strong>CustomLog /dev/stdout</strong> and <strong>ErrorLog /dev/stderr</strong> directives.</p>
  
  <p>Now , when i invoke the script containing the apache start command (apachectl start &amp;) , i am unable to view the logs on the <strong>console</strong>.</p>
  
  <p>However , if use <strong>apachectl start -DFOREGROUND</strong> as the command , i can very well see the output on console.</p>
  
  <p>Any idea as to how do we get the logs on console for apache which is running in the background?</p>
  
  <p>Thanks for the help</p>