Skip to content

Commit 86af0c8

Browse files
committed
[dev] changed incorrect log level.
1 parent 33d6a5c commit 86af0c8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ngx_rtmp_notify_module.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1083,7 +1083,7 @@ ngx_rtmp_notify_publish_handle(ngx_rtmp_session_t *s,
10831083
ngx_rtmp_notify_set_name(v->name, NGX_RTMP_MAX_NAME, name, (size_t) rc);
10841084
}
10851085

1086-
ngx_log_error(NGX_LOG_ERR, s->connection->log, 0,
1086+
ngx_log_error(NGX_LOG_INFO, s->connection->log, 0,
10871087
"notify: push '%s' to '%*s'", v->name, rc, name);
10881088

10891089
local_name.data = v->name;
@@ -1100,7 +1100,7 @@ ngx_rtmp_notify_publish_handle(ngx_rtmp_session_t *s,
11001100
u->no_resolve = nacf->no_resolve; /* want ip here */
11011101

11021102
if (ngx_parse_url(s->connection->pool, u) != NGX_OK) {
1103-
ngx_log_error(NGX_LOG_INFO, s->connection->log, 0,
1103+
ngx_log_error(NGX_LOG_ERR, s->connection->log, 0,
11041104
"notify: push failed '%V'", &local_name);
11051105
return NGX_ERROR;
11061106
}

0 commit comments

Comments
 (0)