Skip to content

Instantly share code, notes, and snippets.

@fguillen
Last active August 29, 2015 14:25
Show Gist options
  • Save fguillen/ca61042dd21d9f723a92 to your computer and use it in GitHub Desktop.
Save fguillen/ca61042dd21d9f723a92 to your computer and use it in GitHub Desktop.
Empty all Rails logs
find /var/www/*/shared/log -name "*.log" -exec truncate {} --size 0 \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment