swift log

Asked by maclaon on 2013-07-17

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:
2013-07-17
Last query:
2013-07-17
Last reply:
2013-07-17
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.

maclaon (maclaonzen) said : #2

Thanks Samuel Merritt, that solved my question.

Anton (hettbox) said : #3

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

Anton (hettbox) said : #4

sepataed log, I`m sorry)