Ori.livneh has submitted this change and it was merged.

Change subject: (Bug 43724) Declare UTF8 encoding on logfile output
......................................................................


(Bug 43724) Declare UTF8 encoding on logfile output

logging.StreamHandler.emit will default to UTF-8 if
sys.std(out|err).encoding is something other than UTF-8 and encoding to
that something other fails. When logging to file, we need to be
explicit.

Change-Id: I15fcd682691ba71c365bf27a3f1846592bd7a12f
---
M server/bin/seqmon
M server/bin/zmq2log
2 files changed, 5 insertions(+), 3 deletions(-)

Approvals:
  Ori.livneh: Looks good to me, approved
  Mattflaschen: Looks good to me, but someone else must approve
  jenkins-bot: Verified


--
To view, visit https://gerrit.wikimedia.org/r/42722
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I15fcd682691ba71c365bf27a3f1846592bd7a12f
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/EventLogging
Gerrit-Branch: master
Gerrit-Owner: Ori.livneh <[email protected]>
Gerrit-Reviewer: Mattflaschen <[email protected]>
Gerrit-Reviewer: Ori.livneh <[email protected]>
Gerrit-Reviewer: Spage <[email protected]>
Gerrit-Reviewer: jenkins-bot

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to