1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

Refine origin cluster log

This commit is contained in:
winlin 2019-10-04 06:51:15 +08:00
parent 3483c1526f
commit 130c545f9a
3 changed files with 4 additions and 3 deletions

View file

@ -608,7 +608,8 @@ srs_error_t SrsRtmpConn::playing(SrsSource* source)
if ((err = SrsHttpHooks::discover_co_workers(url, host, port)) != srs_success) {
return srs_error_wrap(err, "discover coworkers, url=%s", url.c_str());
}
srs_trace("rtmp: redirect in cluster, url=%s, target=%s:%d", url.c_str(), host.c_str(), port);
srs_trace("rtmp: redirect in cluster, from=%s:%d, target=%s:%d, url=%s",
req->host.c_str(), req->port, host.c_str(), port, url.c_str());
bool accepted = false;
if ((err = rtmp->redirect(req, host, port, accepted)) != srs_success) {