AWS Thinkbox Discussion Forums

webservice excessive logging

Whenever the webservice handles a restAPI query, it spits the results into the log files in their entirety. This results in logs files that go up to 1G in size per day. It also does the result spitting into a single line, which makes it hard to decypher in many readers.

For example a single job modification command creates something that looks like this in the logs (it keeps going for another page):

We have several queries per second going in, so that makes the pulse log somewhat unusable.
It would be great if the webservice logger could cut off long lines at a character limit.

Yeah, getting the full output might be useful for specific debugging, but it we definitely need some verbosity level options to trim this down during normal operation.

I’ll log this targetting 8.0, since we’re overhauling the WebService then anyways.

Privacy | Site terms | Cookie preferences