mirror of
https://github.com/czp3009/bilibili-api.git
synced 2025-01-20 20:40:42 +08:00
修正日志等级
This commit is contained in:
parent
e411a1b032
commit
9fdf0921b0
@ -93,9 +93,9 @@ public class LiveClient {
|
||||
}
|
||||
if (realRoomId == null) {
|
||||
if (liveRoom == null) {
|
||||
LOGGER.info("Fetching info of live room {}", showRoomId);
|
||||
LOGGER.debug("Fetching info of live room {}", showRoomId);
|
||||
liveRoom = fetchRoomInfo();
|
||||
LOGGER.info("Get actual room id {}", liveRoom.getRoomId());
|
||||
LOGGER.debug("Get actual room id {}", liveRoom.getRoomId());
|
||||
}
|
||||
realRoomId = liveRoom.getRoomId();
|
||||
}
|
||||
@ -124,7 +124,7 @@ public class LiveClient {
|
||||
|
||||
String address = liveRoom != null ? liveRoom.getCmt() : DEFAULT_SERVER_ADDRESS;
|
||||
int port = liveRoom != null ? liveRoom.getCmtPortGoim() : DEFAULT_SERVER_PORT;
|
||||
LOGGER.info("Connecting to Bullet Screen server {}:{}", address, port);
|
||||
LOGGER.debug("Connecting to Bullet Screen server {}:{}", address, port);
|
||||
try {
|
||||
channel = bootstrap.connect(address, port)
|
||||
.sync()
|
||||
@ -150,7 +150,7 @@ public class LiveClient {
|
||||
|
||||
public synchronized ChannelFuture closeChannelAsync() {
|
||||
if (channel != null) {
|
||||
LOGGER.info("Closing connection");
|
||||
LOGGER.debug("Closing connection");
|
||||
ChannelFuture channelFuture = channel.close();
|
||||
channel = null;
|
||||
return channelFuture;
|
||||
|
Loading…
Reference in New Issue
Block a user