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

How could I prevent logging? #817

Open
hongxinliu opened this issue May 8, 2019 · 1 comment
Open

How could I prevent logging? #817

hongxinliu opened this issue May 8, 2019 · 1 comment

Comments

@hongxinliu
Copy link

It is not a good idea to print too much info.

@basitanwer
Copy link

It says here

tutorials/utility_server/utility_server.md

m_endpoint.set_error_channels(websocketpp::log::elevel::all);
m_endpoint.set_access_channels(websocketpp::log::alevel::all ^ websocketpp::log::alevel::frame_payload);

But for me this worked

m_endpoint.set_error_channels(websocketpp::log::elevel::all);
m_endpoint.set_access_channels(websocketpp::log::alevel::none);

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

2 participants