You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We’re migrating Proxygen from using GLOG to Folly logging which is more flexible, natively supports async logging and has a number of other advantages.
Notably, this means anything running Proxygen lib will need to use a different logging config, replacing -v and --vmodule with a matching config passed to --logging.
For example, if you wanted to print all logs up to V2, except in myprojectroot/proxygen/lib/transport/H3DatagramAsyncSocket.cpp and myprojectroot/proxygen/lib/transport/PersistentFizzPskCache.cpp, where you wanted to silence all the verbose logs entirely, then you might have run your binary with something like this:
As another example, to exclude all verbose logging across the entire codebase and to exclude all logging (not just verbose) only from the files under proxygen/lib/transport/, you might run it with:
If you use custom log sinks with GLOG, you will need to migrate them to Folly Log Handlers and if you use the GOOGLE_STRIP_LOG macro, you will need to use the corresponding value for FOLLY_XLOG_MIN_LEVEL.
The text was updated successfully, but these errors were encountered:
We’re migrating Proxygen from using GLOG to Folly logging which is more flexible, natively supports async logging and has a number of other advantages.
General configuration instructions are here.
Notably, this means anything running Proxygen lib will need to use a different logging config, replacing
-v
and--vmodule
with a matching config passed to--logging
.For example, if you wanted to print all logs up to V2, except in
myprojectroot/proxygen/lib/transport/H3DatagramAsyncSocket.cpp
andmyprojectroot/proxygen/lib/transport/PersistentFizzPskCache.cpp
, where you wanted to silence all the verbose logs entirely, then you might have run your binary with something like this:But now you would run it with:
As another example, to exclude all verbose logging across the entire codebase and to exclude all logging (not just verbose) only from the files under
proxygen/lib/transport/
, you might run it with:If you use custom log sinks with GLOG, you will need to migrate them to Folly Log Handlers and if you use the
GOOGLE_STRIP_LOG
macro, you will need to use the corresponding value forFOLLY_XLOG_MIN_LEVEL
.The text was updated successfully, but these errors were encountered: