Over a million developers have joined DZone.

Rake Task To Clear Rails Log Files

· Java Zone

Learn more about Kotlin, a new programming language designed to solve problems that software developers face every day brought to you in partnership with JetBrains.


# Truncates all *.log files in log/ to zero bytes
rake log:clear


The Java Zone is brought to you in partnership with JetBrains.  Discover how powerful static code analysis and ergonomic design make development not only productive but also an enjoyable experience.

Topics:
rails

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}