diff options
author | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2013-01-16 15:52:55 -0800 |
---|---|---|
committer | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2013-01-16 15:52:55 -0800 |
commit | f5aa4d9a1bc4b77cb5d5fdd970322a80fdac18c6 (patch) | |
tree | 692d495642223ca5a59e71bea09a291ec392cf59 /guides/source | |
parent | 1a989d473513fd891b1a39f414f9c300a8f7ea63 (diff) | |
parent | 08ac4b967255af6a5d10f36bdec2bf514e5dd500 (diff) | |
download | rails-f5aa4d9a1bc4b77cb5d5fdd970322a80fdac18c6.tar.gz rails-f5aa4d9a1bc4b77cb5d5fdd970322a80fdac18c6.tar.bz2 rails-f5aa4d9a1bc4b77cb5d5fdd970322a80fdac18c6.zip |
Merge pull request #8964 from mattdbridges/specify-log-to-clear
Clear specific logs when using `rake log:clear`
Diffstat (limited to 'guides/source')
-rw-r--r-- | guides/source/command_line.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/command_line.md b/guides/source/command_line.md index 12d39ea1cc..0081e6427e 100644 --- a/guides/source/command_line.md +++ b/guides/source/command_line.md @@ -355,7 +355,7 @@ rake assets:clean # Remove compiled assets rake assets:precompile # Compile all the assets named in config.assets.precompile rake db:create # Create the database from config/database.yml for the current Rails.env ... -rake log:clear # Truncates all *.log files in log/ to zero bytes +rake log:clear # Truncates all *.log files in log/ to zero bytes (specify which logs with LOGS=test,development) rake middleware # Prints out your Rack middleware stack ... rake tmp:clear # Clear session, cache, and socket files from tmp/ (narrow w/ tmp:sessions:clear, tmp:cache:clear, tmp:sockets:clear) |