Skip to content

Instantly share code, notes, and snippets.

@defunkt
Created February 9, 2010 19:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save defunkt/299576 to your computer and use it in GitHub Desktop.
Save defunkt/299576 to your computer and use it in GitHub Desktop.
Fresh start logging
#!/bin/sh -e
# Usage: $ devlog [LOG]
#
# LOG is 'log/development.log' by default
# Run in RAILS_ROOT
clear && tail -f -n 0 ${1:-log/development.log}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment