-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Added a note about log file sizes and the use of logrotate #5006
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
javiereguiluz
commented
Feb 18, 2015
Q | A |
---|---|
Doc fix? | no |
New docs? | yes |
Applies to | 2.3+ |
Fixed tickets | #1161 |
is it customary to link |
Beware that log file sizes can grow very rapidly, leading to disk space exhaustion. | ||
This is specially true in the ``dev`` environment, where a simple request can | ||
generate hundreds of log lines. Consider using tools like the ``logrotate`` | ||
Linux command to contain log files before they become a problem. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
to rotate log files
i think this topic is very important. shouldn't we provide an example logrotate configuration? |
@timglabisch I don't think documenting logrotate is in the scope of the symfony doc. Linking to the logrotate doc seems a better idea. |
Anybody knows which is the official web site of |
Looking at what is provided in the |
@xabbuh thanks for the reference. I've just linked the |
👍 Looks good to me. By the way, how is this handled on Windows? |
Thanks Javier! I still think we should mention "rotating_file" as a backup - it's not as robust, but is much easier to get setup for the majority of people. I'd welcome a PR mentioning it (I didn't personally know it existed for years). Cheers! |
…e (javiereguiluz) This PR was merged into the 2.3 branch. Discussion ---------- Added a note about log file sizes and the use of logrotate | Q | A | ------------- | --- | Doc fix? | no | New docs? | yes | Applies to | 2.3+ | Fixed tickets | #1161 Commits ------- 2d23a8d Linked "logrotate" to its official website 472c803 Minor rewording b52d4af Added a note about log file sizes and the use of logrotate