Last modified: 2014-07-16 21:54:57 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 T69382, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 67382 - Database: DatabaseBase::query should not write mangled binary blob to debug log
Database: DatabaseBase::query should not write mangled binary blob to debug log
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Database (Other open bugs)
unspecified
All All
: High normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-07-01 18:55 UTC by Krinkle
Modified: 2014-07-16 21:54 UTC (History)
1 user (show)

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


Attachments

Description Krinkle 2014-07-01 18:55:25 UTC
Often when debugging something the debug log has massive blobs in it one has to scroll over. These have no value and should be omitted or filtered out.


Sample
---
Fully initialised
Connected to database 0 at localhost
Connected to database 0 at localhost
DatabaseBase::query: Writes done: INSERT IGNORE INTO `msg_resource` (mr_lang,mr_resource,mr_blob,mr_timestamp) VALUES ('en','jquery.checkboxShiftClick','{}','20140701185106')
Unstubbing $wgLang on call of $wgLang::getCode from Message::inLanguage
User: got user 1 from cache
User: loading options for user 1 from override cache.
User: logged in from session
User: loading options for user 1 from override cache.
MessageCache::load: Loading en... got from local cache
DatabaseBase::query: Writes done: REPLACE INTO `objectcache` (keyname,value,exptime) VALUES ('alphawiki:resourceloader:filter:minify-js:7:f2e14537823b6d6224056b2250fe3474','?}?{۶????+d...<snip>...2x?ptt?`0??O ?`-? ','20380119031407')
wfClientAcceptsGzip: client accepts gzip.
wfGzipHandler() is compressing output
Comment 1 Gerrit Notification Bot 2014-07-01 19:39:04 UTC
Change 143384 had a related patch set uploaded by Krinkle:
Database: Generalise SQL before writing to debug log

https://gerrit.wikimedia.org/r/143384
Comment 2 Gerrit Notification Bot 2014-07-01 21:38:42 UTC
Change 143384 merged by jenkins-bot:
Database: Generalise SQL before writing to debug log

https://gerrit.wikimedia.org/r/143384

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


Navigation
Links