Page MenuHomePhabricator

RESTBase logs Parsoid warnings with message "[object Object]"
Closed, ResolvedPublicPRODUCTION ERROR

Description

Restbase logs roughly 150 messages per minutes apparently due to some OCG / Parsoid requests, the message being solely [object Object]

One can find them in logstash by filtering on:

level: WARNING
user-agent: mw-ocg-bundler/1.3.0-git
type: restbase

Example:

Logstash fieldValue
@timestamp2015-12-18T11:01:21.190Z
@version1
_idAVG0wFMCptxhN1Xa4h7d
_indexlogstash-2015.12.18
_typerestbase
connectionclose
content-length1045
content-typeapplication/x-www-form-urlencoded
gelf_level4
hostrestbase1006
levelWARNING
levelPathwarn/parsoid/bodyonly
message[object Object]
normalized_message[object Object]
pid28841
source_host10.64.48.100
tagses,gelf,normalized_message_untrimmed
typerestbase
user-agentmw-ocg-bundler/1.3.0-git
version1.0
x-client-ip10.64.48.42
x-forwarded-for10.64.48.42
x-request-idabbf6699-a576-11e5-a958-c67549225946

10.64.48.42 being ocg1002.eqiad.wmnet

Event Timeline

hashar raised the priority of this task from to Needs Triage.
hashar updated the task description. (Show Details)
hashar subscribed.

Thnx for reporting this @hashar! PR #451 fixes the imminent log entry message problem.

ssastry set Security to None.
ssastry added a subscriber: cscott.
hashar triaged this task as Medium priority.Dec 19 2015, 12:15 AM

Fee free to remove the restabse/OCG project tags from this task since they are on the child task T121858

mobrovac renamed this task from RESTBase logs Parsoid warnings with message "[object Object]" Coming form OCG. to RESTBase logs Parsoid warnings with message "[object Object]".Dec 19 2015, 12:34 AM

As far as Wikimedia-production-error is concerned, such messages will disappear from the logs when RESTBase PR #452 gets deployed.

Pchelolo claimed this task.
Pchelolo subscribed.

The change was deployed, so these logs are not showing up any more. Closing.

Thank you very much @Pchelolo . There are probably a few more low hanging fruits in logstash.

mmodell changed the subtype of this task from "Task" to "Production Error".Aug 28 2019, 11:11 PM