You are here:Home arrow Home arrow PHP arrow Watch a Log file for changes
  • Narrow screen resolution
  • Wide screen resolution
  • Decrease font size
  • Default font size
  • Increase font size
  • default color
  • green color
  • blue color

Watch a Log file for changes

Monday, 20 June 2011

Here is how to watch a log file for changes in a Linux command shell.

<code class=”cli”>
tail -f log/development.log
</code>

This command will let you watch a log file for changes as soon as they happen.





Reddit!Del.icio.us!Facebook!Slashdot!Netscape!Technorati!StumbleUpon!

Add comment


Security code
Refresh

Next >