serving icon indicating copy to clipboard operation
serving copied to clipboard

require to add document about how to configure the logging

Open jinluyang opened this issue 1 year ago • 3 comments


Feature Request

If this is a feature request, please fill out the following form in full:

Describe the problem the feature is intended to solve

There is no document about how to configure the logging, about where to find the log ,and how often we sample the log. And an example would be better

Describe the solution

Add in your document

Describe alternatives you've considered

No

Additional context

I have searched all the document and the source code. It seems the ServerRequestLogger is always null?

jinluyang avatar Nov 29 '24 09:11 jinluyang

Hi @jinluyang We have a similar feature request #2069 filled. Requesting you to close this issue, follow and +1 similar issue for updates. Thank you!

janasangeetha avatar Dec 03 '24 04:12 janasangeetha

Hi, thanks for reply.The mentioned issue has been stale for 2 years. And my request is different from it. I'm not willing to close this issue. And here's another question: I have set the env var TF_CPP_MIN_VLOG_LEVEL=4 but no log has been printed. @janasangeetha

jinluyang avatar Dec 05 '24 06:12 jinluyang

You should use F_CPP_VMODULE=http_server=1 to configure per module configuration or TF_CPP_MAX_VLOG_LEVEL=2 to configure it globally

MIN has been renamed to MAX some time ago. I agree this should be documented but maybe at least my comment will help you

trams avatar Mar 13 '25 00:03 trams