socketlog has output, but there is no response when clicking
chrome browser, debug the program of thinkphp
related codes
// thinkphpconfig
"log" => [
// file socket
"type" => "socket",
//
"host" => "192.168.1.21",
"allow_client_ids" => ["chendy","zhangd"],
"force_client_ids" => ["chendy"],
//
"level" => [],
],
//
\think\log::write("cdy");
now the output is as follows:
: