anchor.diff:      </pre>
   
   1. Run `bosh logs <job_name> <index> --agent`.
  -	
  +
       If you receive notification that a job will not start, use `tail` to review the log for that Agent for possible causes:
   
       <pre class="terminal">
  
positive.code: ### <a id="jobs-services-logs"></a>Jobs Services Logs ###
  
  Active jobs on running VMs produce service logs. The BOSH deployment configuration determines the output location of a specific log. The creator of a release defines this location  in a config file stored in `release/jobs/<job_name>/templates/<config_file>`.
    
  If you use Cloud Foundry for deployment, it configures jobs to log to `/var/vcap/sys/log/<job_name>/<job_name>.log`.
  
  
  To review Service logs, run `bosh logs <job_name> <index>`.
  	
  ### <a id="database-services-logs"></a>Database Services Output Logs ###
  
  Database services that run within a job, such as PostgreSQL, can output logs into their own default locations. These default logging locations depend on the specific database services.
  
negative.code: ---
  
  This topic describes different types of logs for BOSH jobs and errands and how you access and view them.
  For general information on logging, refer to the [Cloud Foundry Logging](../running/managing-cf/logging.html) topic.
  
  ## <a id="jobs-logging"></a>Jobs Logging ##
  
  You can access logs by two methods:
  
   * Using the `bosh ssh` command to access the log location.
   * Using the log-specific BOSH command to generate a config file to standard output.
  
  The following sections describe the logs that contain job information.
  
  ### <a id="agent-logs"></a>BOSH Agent Logs ###
  
  Agent logs contain configuration and runtime information from an Agent running on a specific VM. Review these logs if a VM fails.
  The Agent stores logs in `/var/vcap/bosh/log`.
  
  To review an Agent log:
  
  1. Run `bosh vms` to display a table of that provides an overview of VMs in the deployment.
  
  	Use this table to identify the Job/Index associated with a specific VM.
  
      For example:
  
      <pre class="terminal">
      $ bosh vms
      Deployment `wordpress'
  