Page MenuHomePhabricator

Provide a convenient way to log arbitrary text in Drydock without needing structured log classes
ClosedPublic

Authored by epriestley on Sep 14 2018, 4:25 PM.
Tags
None
Referenced Files
F15445197: D19674.id47014.diff
Thu, Mar 27, 12:48 PM
F15441393: D19674.id.diff
Wed, Mar 26, 5:57 PM
F15436409: D19674.diff
Tue, Mar 25, 1:58 PM
F15431896: D19674.id47014.diff
Mon, Mar 24, 3:14 PM
F15403727: D19674.id47014.diff
Tue, Mar 18, 4:38 AM
F15385250: D19674.id.diff
Fri, Mar 14, 10:03 PM
F15332054: D19674.diff
Mar 7 2025, 4:26 PM
F15301967: D19674.id47027.diff
Mar 5 2025, 6:25 PM
Subscribers
Restricted Owners Package

Details

Summary

Depends on D19673. Ref T13197. See PHI873.

Test Plan

Added some code like this:

$operation->logText('Nice convenient text logging.');

...then got:

Screen Shot 2018-09-14 at 9.23.09 AM.png (976×1 px, 137 KB)

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Owners added a subscriber: Restricted Owners Package.Sep 14 2018, 4:25 PM
amckinley added inline comments.
src/applications/drydock/logtype/DrydockTextLogType.php
4–11

What's the maximum amount of text you can dump into a log? Worth documenting here?

This revision is now accepted and ready to land.Sep 14 2018, 6:55 PM

I think any "reasonable" amount should be fine. Maybe I'm not being imaginative enough, of course...

This revision was automatically updated to reflect the committed changes.