-
-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Semi-pointless PR which will crease more verbose logs. * Semi-pointless PR which will crease more verbose logs + Black * *sigh* who knew how badly i would break shit with 2 simple commits .... * Fix tests * Ensure Cog-Creators/Red-DiscordBot#5042 (comment) cannot ever happen. * make `active_players` only return non paused players, add new `all_live_players` which returns only connected players which are alive (not marked as disconnected) * stop ussing fstrings for logs * Apply suggestions from code review Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com> * this is 100% because of jack * Update lavalink/player_manager.py * missed this * Apply suggestions from code review Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com> * update jacks comments. * fine lets rename this * lets not miss this * Update lavalink/lavalink.py Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com> * thanks jack ....... .... Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com> Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com>
- Loading branch information
1 parent
0b0473d
commit 6e649bc
Showing
8 changed files
with
157 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import logging | ||
|
||
log = logging.getLogger("red.core.RLL") | ||
socket_log = logging.getLogger("red.core.RLL.socket") | ||
socket_log.setLevel(logging.INFO) | ||
|
||
ws_discord_log = logging.getLogger("red.Audio.WS.discord") | ||
ws_ll_log = logging.getLogger("red.Audio.WS.LLServer") | ||
ws_rll_log = logging.getLogger("red.Audio.WS.RLL") | ||
|
||
|
||
def set_logging_level(level=logging.INFO): | ||
log.setLevel(level) | ||
ws_discord_log.setLevel(level) | ||
ws_ll_log.setLevel(level) | ||
ws_rll_log.setLevel(level) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.