https://bugzilla.wikimedia.org/show_bug.cgi?id=67382

            Bug ID: 67382
           Summary: Database: DatabaseBase::query should not write mangled
                    binary blob to debug log
           Product: MediaWiki
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Database
          Assignee: [email protected]
          Reporter: [email protected]
       Web browser: ---
   Mobile Platform: ---

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

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to