Commit 32d2f0d6afe2fe350ac197da2c30a9d6eef51d9c

Authored by xp.Huang
1 parent d24f0f56

docs: 调整日志级别

... ... @@ -163,7 +163,7 @@ public class ZLMediaKitRestFulUtils {
163 163 }
164 164
165 165 Request request = new Request.Builder().url(httpBuilder.build()).build();
166   - log.warn(request.toString());
  166 + log.info(request.toString());
167 167 try {
168 168 OkHttpClient client = getClient();
169 169 Response response = client.newCall(request).execute();
... ... @@ -190,7 +190,7 @@ public class ZLMediaKitRestFulUtils {
190 190 }
191 191 } catch (ConnectException e) {
192 192 log.error(String.format("连接ZLM失败: %s, %s", e.getCause().getMessage(), e.getMessage()));
193   - log.info("请检查media配置并确认ZLM已启动...");
  193 + log.error("请检查media配置并确认ZLM已启动...");
194 194 } catch (IOException e) {
195 195 log.error(String.format("[ %s ]请求失败: %s", url, e.getMessage()));
196 196 }
... ...
... ... @@ -45,7 +45,7 @@ public class SSRCFactory {
45 45 cacheUtils.invalidate(cacheName, redisKey);
46 46 }
47 47 // 把这10000个ssrc放入缓存
48   - log.error("初始化SSRC资源,可用资源数【{}】", ssrcList.size());
  48 + log.info("初始化SSRC资源,可用资源数【{}】", ssrcList.size());
49 49 cacheUtils.put(cacheName, redisKey, ssrcList);
50 50 });
51 51 }
... ... @@ -79,7 +79,7 @@ public class SSRCFactory {
79 79 all.ifPresent(
80 80 list -> {
81 81 list.add(sn);
82   - log.error("释放视频流【{}】可用资源数【{}】", ssrc, list.size());
  82 + log.info("释放视频流【{}】可用资源数【{}】", ssrc, list.size());
83 83 cacheUtils.put(cacheName, redisKey, list);
84 84 });
85 85 }
... ... @@ -98,7 +98,7 @@ public class SSRCFactory {
98 98 if (sn.isPresent()) {
99 99 list.remove(sn.get());
100 100 cacheUtils.put(cacheName, redisKey, list);
101   - log.error("获取视频流【{}】可用资源数【{}】", sn, list.size());
  101 + log.info("获取视频流【{}】可用资源数【{}】", sn, list.size());
102 102 return sn.get();
103 103 }
104 104 }
... ...