The log
folder of your Rails application holds three log files corresponding to each of the standard environments. Log files can grow very large over time. A rake task
is provided to allow the easy clearing of the log files.
rake log:clear
# Truncates all *.log files in log/ to zero bytes
# Specify which logs with LOGS=test,development,production