Swift logs in devstack are terrible
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Object Storage (swift) |
New
|
Undecided
|
Unassigned | ||
devstack |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Not "bad" - *terrible* -> http://
There's no way other projects have logs this bad. Is that a "curl" command in there?
We should really make it better, we've even got some specific targets:
clarkb | notmyname: specifically
* only syslog is supported
* please do subsecond timestamp resolution
* use apache logging format consistently so that existing tools can be used to parse those logs
Seems simple enough! In my deployments these would normally be solved by either configuring a log_custom_handlers or putting the swift services on different facilities and configuring syslog to write to separate files - but I think here we're starting swift in a screen or something?
Doesn't matter. Needs to work better.
Other data plane services like Glance might have the best example of what would be considered good default behavior.
tags: | added: cross-project |
I should clarify that I don't see apache log format as a requirement but whatever format that is used should be consistent. Totally fine with consisten apache log format as that would be an improvement over what we have or some other format if that is easier/better as long as it too is consistent.
In theory the nice thing about consistent apache log format is we can use preexisting tools to parse and point out interesting things about the logs.