anchor.diff:  2016-06-14T14:10:27.91-0700 [STG/0]      OUT Staging...
   </pre>
   
  -### <a id='rtr'></a>RTR ###
  +### <a id='rtr'></a> RTR
   
   The Router emits RTR logs when it routes HTTP requests to the app.
   Router messages include the app name followed by a Router timestamp and
  
positive.code: 2016-06-14T14:10:15.18-0700 [APP/0]      OUT Exit status 0
  </pre>
  
  ### <a id="ssh"></a>SSH ###
  
  The Diego cell emits SSH logs when a user accesses an app container through SSH by using the Cloud Foundry Command Line Interface (cf CLI) [cf ssh](https://cli.cloudfoundry.org/en-US/cf/ssh.html) command.
  
  
negative.code: This approach is mainly used for debugging because it may affect app
  performance.
  
  
  ## <a id='container-metrics'></a> Including Container Metrics in Syslog Drains
  
  By default, app logs are included in syslog drains.
  To include container metrics in your syslog drain, an operator must first set `scalablesyslog.adapter.metrics_to_syslog_enabled` to `true`.
  <%= vars.container_metrics %>
  
  
  ## <a id='view'></a> Viewing Logs in the Command Line Interface
  
  Use the cf CLI [cf logs](https://cli.cloudfoundry.org/en-US/cf/logs.html) command to view logs.
  You can tail, dump, or filter log output.
  
  ### <a id="tail-log"></a> Tailing Logs
  
  Run `cf logs APP-NAME` to stream Loggregator output to the terminal. Replace `APP-NAME` with the name of your app.
  
  