Adjust logging destination on the fly

Bug #1699307 reported by Galen Charlton on 2017-06-20
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

For writing unit and regression tests, it would be convenient to be able to readily redirect logging messages to a file, syslog configuration, or Perl scalar /other/ than whatever is specified in the bootstrap config. This would allow live_t test cases to reliably inspect logging output.

A possible implementation would be adding methods to OpenSRF::Utils::Logger to specify an override logging destination.

OpenSRF master

Galen Charlton (gmc) on 2017-06-20
Changed in opensrf:
importance: Undecided → Wishlist
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers