Skip to content

Commit 7f7fcc8

Browse files
committed
fixed loging
1 parent 15fe840 commit 7f7fcc8

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

ngx_rtmp_notify_module.c

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -845,10 +845,6 @@ ngx_rtmp_notify_parse_http_header(ngx_rtmp_session_t *s,
845845
for (p = b->pos; p != b->last; ++p) {
846846
c = *p;
847847

848-
ngx_log_debug3(NGX_LOG_DEBUG_RTMP, s->connection->log, 0,
849-
"header state:%i, n:%ui, c:%c",
850-
(ngx_int_t) state, n, c);
851-
852848
if (c == '\r') {
853849
continue;
854850
}
@@ -943,7 +939,7 @@ ngx_rtmp_notify_connect_handle(ngx_rtmp_session_t *s,
943939
if (rc > 0) {
944940
*ngx_cpymem(v->app, app, rc) = 0;
945941
ngx_log_error(NGX_LOG_INFO, s->connection->log, 0,
946-
"notify: connect redirect to '%s'", v->app);
942+
"notify: connect redirect to '%s'", v->app);
947943
}
948944
}
949945

@@ -975,7 +971,7 @@ ngx_rtmp_notify_publish_handle(ngx_rtmp_session_t *s,
975971
if (rc > 0) {
976972
*ngx_cpymem(v->name, name, rc) = 0;
977973
ngx_log_error(NGX_LOG_INFO, s->connection->log, 0,
978-
"notify: publish redirect to '%s'", v->name);
974+
"notify: publish redirect to '%s'", v->name);
979975
}
980976
}
981977

@@ -1007,7 +1003,7 @@ ngx_rtmp_notify_play_handle(ngx_rtmp_session_t *s,
10071003
if (rc > 0) {
10081004
*ngx_cpymem(v->name, name, rc) = 0;
10091005
ngx_log_error(NGX_LOG_INFO, s->connection->log, 0,
1010-
"notify: play redirect to '%s'", v->name);
1006+
"notify: play redirect to '%s'", v->name);
10111007
}
10121008
}
10131009

0 commit comments

Comments
 (0)