Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Accounting-suitable logging #2

Open
stuartpb opened this issue Mar 24, 2014 · 0 comments
Open

Accounting-suitable logging #2

stuartpb opened this issue Mar 24, 2014 · 0 comments

Comments

@stuartpb
Copy link
Member

Talked with @tjfontaine about this at the Node on the Road office hours - he suggested creating a socket that's passed to the TLS connection constructor that pipes to a transform that simply counts bytes and logs them.

However, the tricky bit is tying the TLS-level logging to the HTTP-level logging, which he wasn't sure about (beyond diving into the undocumented private bits of the Socket interface).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant