Last modified: 2013-03-21 14:01:42 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 T38705, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 36705 - mw logs should have a timestamp
mw logs should have a timestamp
Status: RESOLVED WONTFIX
Product: Wikimedia Labs
Classification: Unclassified
deployment-prep (beta) (Other open bugs)
unspecified
All All
: Normal enhancement
: ---
Assigned To: Peter Bena
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-05-09 17:49 UTC by Antoine "hashar" Musso (WMF)
Modified: 2013-03-21 14:01 UTC (History)
2 users (show)

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


Attachments

Description Antoine "hashar" Musso (WMF) 2012-05-09 17:49:23 UTC
We currently (in /home/wikipedia/logs) have messages such as:

commonswiki-d651e7c6: 34.7236  18.0M  Revision::loadText: got id 15068 from cache

Would be great to have some date / time in there :-]
Comment 1 Peter Bena 2012-05-11 07:34:07 UTC
logs.php
Comment 2 Antoine "hashar" Musso (WMF) 2012-05-14 18:02:31 UTC
That is a first step. It is currently implemented by adding date using $wgDebugLogPrefix. That also mean that all logs generated by one session will have the same date / time.

Apparently wfDebugLog() does support timestamping, bug wfDebug() does not :-(
Comment 3 Antoine "hashar" Musso (WMF) 2012-05-24 10:49:39 UTC
We might want to move that to MediaWiki/General
Comment 4 Antoine "hashar" Musso (WMF) 2013-03-21 14:01:42 UTC
Not that much needed after all. Closing bug.

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


Navigation
Links