aboutsummaryrefslogtreecommitdiffstats
path: root/guides
diff options
context:
space:
mode:
authorPramod <pramod@joshsoftware.com>2015-12-10 01:16:38 +0530
committerPramod <pramod@joshsoftware.com>2016-01-09 13:39:41 +0530
commit68f46a815fc30e9de0065c1726f18f4c916bb776 (patch)
treeeb86b7e480d2cff0102278fc2f84e93733fe1bd0 /guides
parenta7a2bc0f66dd934ace716891cfcc422e2087ffeb (diff)
downloadrails-68f46a815fc30e9de0065c1726f18f4c916bb776.tar.gz
rails-68f46a815fc30e9de0065c1726f18f4c916bb776.tar.bz2
rails-68f46a815fc30e9de0065c1726f18f4c916bb776.zip
rake log:clear task updated refs[#22544]
- Avoided truncating all files if no ENV['LOGS'] specified - Updated task to accept LOGS=all for truncating all files from log/ i.e. log/*log - If no LOGS specified will truncates standard environment log files i.e. 'development,test,production' - CHANGELOG & guide update added - bin/setup test cases fixed
Diffstat (limited to 'guides')
-rw-r--r--guides/source/command_line.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/command_line.md b/guides/source/command_line.md
index eb9bf3fa18..5240b5f343 100644
--- a/guides/source/command_line.md
+++ b/guides/source/command_line.md
@@ -392,7 +392,7 @@ rake assets:clobber # 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 (specify which logs with LOGS=test,development)
+rake log:clear # Truncates all/specified *.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 cache and socket files from tmp/ (narrow w/ tmp:cache:clear, tmp:sockets:clear)