[Bug 62713] wfDebugLog timestamp should show fraction of second

2014-11-16 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=62713

--- Comment #9 from Marcin Cieślak  ---
Under current code hostname and timestamp (TS_DB) will be logged if and only if
some particular wfDebugLog($channel, ...) is logged to a separate log file, for
example:

$wgDebugLogGroups = array(
'resourceloader' => '/var/tmp/rl.log'
);


then /var/tmp/rl.log contains:

2014-11-16 19:48:48 tools.wikimedia.pl minitest:
ResourceLoaderModule::getDefinitionMtime: New definition hash for module
mediawiki.legacy.commonPrint in context en|ltr|vector|||styles|:
72809728a0143db31cf2311c69776df1.

or, with $wgDebugTimestamps = true; and change
I2557601e85d1f4837c67621f2db27dae70b09880 installed:

0.1650  22.2M   2014-11-16 19:48:48 tools.wikimedia.pl minitest:
ResourceLoaderModule::getDefinitionMtime: New definition hash for module
mediawiki.legacy.commonPrint in context en|ltr|vector|||styles|:
72809728a0143db31cf2311c69776df1.

All other wfDebugLog() entries are formatted wfDebug()-like, i.e. without
timestamp, hostname and wikiId.

-- 
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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 62713] wfDebugLog timestamp should show fraction of second

2014-11-16 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=62713

--- Comment #8 from Marcin Cieślak  ---
I have added relative timestamps ($wgDebugTimestamp = true) back to
wfDebugLog() info with change I2557601e85d1f4837c67621f2db27dae70b09880

-- 
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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 62713] wfDebugLog timestamp should show fraction of second

2014-11-16 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=62713

Marcin Cieślak  changed:

   What|Removed |Added

   See Also||https://bugzilla.wikimedia.
   ||org/show_bug.cgi?id=73492

-- 
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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 62713] wfDebugLog timestamp should show fraction of second

2014-03-17 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=62713

--- Comment #7 from Gerrit Notification Bot  ---
Change 118981 had a related patch set uploaded by Danorton:
Add fractional second to wfDebugLog timestamp

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

-- 
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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 62713] wfDebugLog timestamp should show fraction of second

2014-03-17 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=62713

Andre Klapper  changed:

   What|Removed |Added

   Priority|Unprioritized   |Normal
   Severity|minor   |enhancement

-- 
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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 62713] wfDebugLog timestamp should show fraction of second

2014-03-16 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=62713

Gerrit Notification Bot  changed:

   What|Removed |Added

 Status|NEW |PATCH_TO_REVIEW

-- 
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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 62713] wfDebugLog timestamp should show fraction of second

2014-03-16 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=62713

--- Comment #6 from Gerrit Notification Bot  ---
Change 118981 had a related patch set uploaded by Danorton:
Bug 62713 - fractional second wfDebugLog timestamp

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

-- 
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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 62713] wfDebugLog timestamp should show fraction of second

2014-03-16 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=62713

--- Comment #5 from MZMcBride  ---
(In reply to Daniel Norton from comment #3)
> As I'm a n00b, I'm not sure how best to submit the patch to Gerrit. Would
> that be as a different branch? (What name?)

You can read through [[mw:Gerrit/Getting started]]. If you need additional
help, try [[mw:IRC]] (specifically "#wikimedia-dev" or "#mediawiki" on
irc.freenode.net).

-- 
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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 62713] wfDebugLog timestamp should show fraction of second

2014-03-16 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=62713

--- Comment #4 from Daniel Norton  ---
Related:
Bug 29235 - MediaWiki is inconsistent in how it displays time (tracking)
Bug 14601 - Use wfDebugLog instead of wfDebug by default

-- 
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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 62713] wfDebugLog timestamp should show fraction of second

2014-03-16 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=62713

--- Comment #3 from Daniel Norton  ---
As I'm a n00b, I'm not sure how best to submit the patch to Gerrit. Would that
be as a different branch? (What name?)

-- 
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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 62713] wfDebugLog timestamp should show fraction of second

2014-03-16 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=62713

--- Comment #2 from Daniel Norton  ---
I agree about global configuration problems, but I see that as a separate
issue. I believe that this needs to be configurable for two reasons: 1)
maintain backward compatibility and 2)(to a much lesser degree) avoid
excess/irrelevant precision.

-- 
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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 62713] wfDebugLog timestamp should show fraction of second

2014-03-16 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=62713

MZMcBride  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 CC||b...@mzmcbride.com
 Ever confirmed|0   |1

--- Comment #1 from MZMcBride  ---
Hi Daniel. Thanks for working on this. Patches to Bugzilla are pretty difficult
to review. You want to submit a patch to [[mw:Gerrit]] instead (using Git) so
that the proposed code change can be part of the formal code review process.

Broadly, I'm hesitant to add another global configuration variable. Greater
precision in debug timestamps seems potentially useful, but I'd prefer that we
try to avoid the introduction of additional options wherever possible. We
already have too many. :-)

-- 
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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 62713] wfDebugLog timestamp should show fraction of second

2014-03-16 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=62713

Daniel Norton  changed:

   What|Removed |Added

  Component|Logging |General/Unknown

-- 
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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l