Last modified: 2014-10-29 11:25:56 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T59711, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 57711 - Logging: server should log to logstash
Logging: server should log to logstash
Status: VERIFIED FIXED
Product: Parsoid
Classification: Unclassified
General (Other open bugs)
unspecified
All All
: Normal normal
: ---
Assigned To: Maria Pacana
:
Depends on: 53723
Blocks: 49762
  Show dependency treegraph
 
Reported: 2013-11-28 13:57 UTC by Antoine "hashar" Musso (WMF)
Modified: 2014-10-29 11:25 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Antoine "hashar" Musso (WMF) 2013-11-28 13:57:41 UTC
The server daemon logs to standard output and error. With multiple Parsoid server instances, you end up with logs on various machines and it might fill in the local disk.

The daemon should support logging via syslog, ideally relaying directly to a given syslog IP.
Comment 1 Gabriel Wicke 2013-12-04 02:31:11 UTC
Alternatively we can leave this to systemd or upstart, with the added bonus of automatic log rotation. See bug 53723 (packaging / systemd / upstart) and bug 49762 (tweak logging).
Comment 2 Gabriel Wicke 2014-09-17 19:04:45 UTC
We now have bunyan support. Production should probably log to logstash via gelf, similar to OCG.
Comment 3 ssastry 2014-10-28 18:14:30 UTC
This is now in production.
Comment 4 Antoine "hashar" Musso (WMF) 2014-10-29 11:25:56 UTC
The original idea being my request was to get all logs centralized somewhere (i.e. syslog).  Now that all Parsoid instances send to a central logstash in both production and beta, that fulfill the request.

I confirmed the Parsoid logs are properly sent on the beta cluster logstash ( http://logstash-beta.wmflabs.org/ )

Thank you everyone!

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links