When log data accumulates in Rails and the environment stops working

スクリーンショット 2021-01-09 13.03.32.png

When I was doing the Rilas tutorial on Cloud9, I said, "Not enough space! 』\ A warning came out.

This is because logs are recorded during "rails server" and "raila test" and the data is overwhelmed.

The solution is to empty the contents of "development.log" and "test.log" in the log folder shown in the figure.

If you keep increasing the log data, even the terminal will not work, so it is better to organize the log data regularly.

Recommended Posts

When log data accumulates in Rails and the environment stops working
Install Rails in the development environment and create a new application
[Rails] Reset the database in the production environment
[Order method] Set the order of data in Rails
(Basic authentication) environment variables in rails and Docker
[Rails] How to delete production environment MySQL data after putting it in the development environment
SSL in the local environment of Docker / Rails / puma
How to solve the problem when the value is not sent when the form is disabled in rails and sent
The story when the test folder was not created in Rails
Log aggregation and analysis (working with AWS Athena in Java)
Exit code 1 occurs when Rails is stopped in Docker environment
Solution when mysql stops working on mac (Rails project running)
[Rails] What to do when the error No database selected and Unknown database appears in db: migrate
[Programming beginner] What to do when rails s becomes an error in the local development environment
Method definition location Summary of how to check When defined in the project and Rails / Gem
Addressed (wanted) RoutingError appearing in the log at FATAL level in Rails
[Beginner] Procedure to log in to the virtual environment built with Vagrant
I tried to sort the data in descending order, ascending order / Rails
[LeJOS] Implement event processing when the motor starts and stops rotating
[jOOQ] How to CASE WHEN in the WHERE / AND / OR clause
How to delete large amounts of data in Rails and concerns
Install lsb_release from the command line when lsb_release fails in docker environment
How to install the language used in Ubuntu and how to build the environment
Things to remember and concepts in the Ruby on Rails tutorial
[Rails] How to reset the database in production environment (Capistrano version)
How to write the view when Vue is introduced in Rails?
Resolved the error that occurred when trying to use Spark in an environment where Java 8 and Java 11 coexist.
[Ruby on Rails] How to log in with only your name and password using the gem devise
[Ruby On Rails] In the create action and destroy action, emergency measures when redirect_to action:: show cannot be (cannot be used)
Puma --Nignx is an escape route when rails s -e production -d doesn't work in the environment
Enable jQuery and Bootstrap in Rails 6 (Rails 6)
About the symbol <%%> in Rails erb
CRUD features and MVC in Rails
Data is not registered in Rails.
[Rails 6] Customize Bootstrap in Rails + Bootstrap 5.0.0-alpha environment
[Rails] Difference in behavior between delegate and has_many-through in the case of one-to-one-to-many
I summarized the points to note when using resources and resources in combination
[Rails] About the error that the image is not displayed in the production environment
How to change the maximum and maximum number of POST data in Spark
[Rails 6] cocoon_ Add id and data attributes to the form to be added
[Rails 6] Register and log in with Devise + SNS authentication (multiple links allowed)
Launching the production environment with docker + rails (ver5.2) and errors that occurred
[Rails] I want to reset everything because the data in the local environment is strange! What to do before that