-
Notifications
You must be signed in to change notification settings - Fork 33
Ensure Jetty request logging doesn't fill up disk space #60
Comments
Implemented already as part of GoogleCloudPlatform/appengine-java-vm-runtime#231 |
This brings back up the need to introduce non-default logging to the Jetty image. |
That was never merged into the old master. So, I reopened the issue there for a quick fix. In this repo, we're currently not writing Jetty logs to disk at all, right? |
Nope, current master does not have "logging" module (which does the StdErr -> rotated files layer) jetty-runtime/jetty9-base/pom.xml Line 138 in 746eb6a
|
Access logging from nginx is not integrated properly into the standard logging (there's no way yet to correlate the activity of a single request via its thread-id to the logs of the same thread-id at the same time). Currently, the jetty produced access logging contains (logging) metadata about the thread that handled that request (useful for all non-async operations). It will be appropriate to remove the jetty access logging layer when the following is satisfied:
Only then, will removing the jetty access logs be appropriate. |
Also of note regarding question about "currently not writing Jetty logs to disk". The The jetty-base seems to be producing no access/request logs at all, and only STDERR output on default logging at INFO level. |
Ah, the |
@meltsufin the gae module does still get activated. It includes a mostly default version of the request-log simply because it did before in the version of compat we inherited. I don't think it is pre-empting our work on the design document too much to guess that a local request log is not needed in general (and easy to add if needed specifically). Unless I hear otherwise I'll do a PR to remove the request log. |
Agreed. I created an issue for removing the request logging and assigned it to you. #62 |
obsoleted by #68 |
Jetty request logging should either be completely turned off because request logging is already done by nginx proxy, or log rotation must be setup to limit the log file size on disk.
The text was updated successfully, but these errors were encountered: