Answers.Body: <p><code>tail -f /your/log/file</code> will show you lines as they are added to the file.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-12-22T09:00:53.433Z
Answers.LastActivityDate: 2016-12-22T09:00:53.433Z
Answers.UserDisplayName: Aidan
Body: <p>I am upgrading the CiviCRM and would like to monitor the current .log file that is in <code>&lt;drupal root&gt;/sites/default/files/civicrm/ConfigAndLog/</code> as it's being updated, in real time. Currently, I know how to view it using the <code>cat</code> command via command line on demand only. Is there a command that prints the latest entry as they happen?</p>
  
  <p>I know this probably is less of CiviCRM question and more of a linux question, but others debugging and monitoring CiviCRM processes might find it helpful.</p>
  
Tags: <drupal><upgrade><configuration><logs>
Title: Monitor ConfigAndLog .log file in real time
ThreadText: # Monitor ConfigAndLog .log file in real time
  
  (Asked by: username_0 on 2016-12-21)
  
  I am upgrading the CiviCRM and would like to monitor the current .log file that is in `/sites/default/files/civicrm/ConfigAndLog/` as it's being updated, in real time. Currently, I know how to view it using the `cat` command via command line on demand only. Is there a command that prints the latest entry as they happen?
  
  I know this probably is less of CiviCRM question and more of a linux question, but others debugging and monitoring CiviCRM processes might find it helpful.
  
  **Tags:** drupal, upgrade, configuration, logs
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2016-12-22. Score: 4 | Accepted answer
  
  `tail -f /your/log/file` will show you lines as they are added to the file.
  
  
  ---
  
  