Skip to content

roll nginx logs to save space #365

@adamstallard

Description

@adamstallard

There is nothing to stop the nginx logs from getting huge. On one node, they were bigger than the database until I manually truncated the log file using the command

truncate -s 0 /var/lib/docker/containers/dab9d8318dbc7eb365db183244bbd771b57032d746a3e382a6eb846a77ed6931/dab9d8318dbc7eb365db183244bbd771b57032d746a3e382a6eb846a77ed6931-json.log

We should build something into the container logic to keep this log to a reasonable size--maybe 2 weeks.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions