swift log

Asked by maclaon

as u know, the proxy server handles lots of HTTP command, the result is that the size of proxy.log in /var/log/swift/ will increase gradually. the great size of that log is not convenient for metering and analysis, can i create the proxy.log with name of date-time or maybe one log after one hour?

Question information

Language:
English Edit question
Status:
Solved
For:
OpenStack Object Storage (swift) Edit question
Assignee:
No assignee Edit question
Solved by:
Samuel Merritt
Solved:
Last query:
Last reply:
Revision history for this message
Best Samuel Merritt (torgomatic) said :
#1

You can use logrotate to handle that sort of thing. There's nothing built in to Swift for it.

Revision history for this message
maclaon (maclaonzen) said :
#2

Thanks Samuel Merritt, that solved my question.

Revision history for this message
Anton (hettbox) said :
#3

Hi, How to configure the Swift to write a separate config?

Revision history for this message
Anton (hettbox) said :
#4

sepataed log, I`m sorry)