elasticsearch debug level logging quickly fills up disk
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Searchlight |
New
|
Low
|
Unassigned |
Bug Description
As the amount of data we add grows, i've noticed the log messages are getting really out of hand. For example, if I do a search from horizon allowing 100 results, the devstack screen session will show 6 pages (225 * 80 terminal size) of information for a single request.
We need to figure out a better setting for this or people deploying searchlight in devstack will find the logs to quickly get out of hand.
2016-03-17 13:36:46.876 DEBUG elasticsearch [req-9a64d88e-
<The full search results>
} from (pid=81012) log_request_success /usr/local/
description: | updated |
Changed in searchlight: | |
importance: | Undecided → Low |
Don't log at DEBUG level? :)
A large amount of the logging is from the elasticsearch client; we could consider setting a separate log level for those logs so that you can see searchlight debug level logging without the several hundred lines from elasticsearch.
For mitaka i'd recommend setting debug = False in long running deployments.