Skip to content
This repository has been archived by the owner on Jul 13, 2023. It is now read-only.

feat: update logging for newstyle twisted and file output #420

Merged
merged 1 commit into from
Mar 21, 2016

Conversation

bbangert
Copy link
Member

Updates all logging calls to use the newer logging utilities in
twisted. This obsoletes the use of eliot, as twisteds logger can
handle arbitrary keywords. The logging handling has been revamped
into a more easily testable class that implements twisteds IObserver
for easy logger observing.

log_level support has been re-added so that calls can be appropriately
scoped by logging type. Existing info/msg log calls now use appropriate
log levels, with delayed function calls to prevent unnecessary overhead
when formatting objects if the log message is ignored.

Closes #419

@jrconlin r?

@bbangert bbangert force-pushed the feat/issue-419 branch 6 times, most recently from 6099a91 to d820bcd Compare March 19, 2016 05:49
Updates all logging calls to use the newer logging utilities in
twisted. This obsoletes the use of eliot, as twisteds logger can
handle arbitrary keywords. The logging handling has been revamped
into a more easily testable class that implements twisteds IObserver
for easy logger observing.

log_level support has been re-added so that calls can be appropriately
scoped by logging type. Existing info/msg log calls now use appropriate
log levels, with delayed function calls to prevent unnecessary overhead
when formatting objects if the log message is ignored.

Closes #419
@jrconlin
Copy link
Member

r+

jrconlin added a commit that referenced this pull request Mar 21, 2016
feat: update logging for newstyle twisted and file output
@jrconlin jrconlin merged commit 9fdd5ce into master Mar 21, 2016
@bbangert bbangert deleted the feat/issue-419 branch March 21, 2016 16:40
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants