Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the use of development.log file in rails

What is the use of Development.log file that is present in log folder of the rails application. I see that as the time goes on the size of this file increases . Right now in my application its size is 14gb. Will it affect the performance of the application? if so what should be done prevent that ?

Thanks!

like image 810
user2569524 Avatar asked Oct 04 '22 04:10

user2569524


1 Answers

All the informations about your web applications requests are written in it, and it is quite useful.

When you start your application with rails s you can see it (it is tailing the development.log)

Since its the development.log, you can clean the content, but be sure to leave it there so you can see what your application is doing.

like image 52
Zippie Avatar answered Oct 19 '22 04:10

Zippie