import logging
# Configure logging to display messages on the console
logging.basicConfig(level=logging.DEBUG, format='%(levelname)s - %(message)s')
debug_message = "DEBUG - Registered commands: dict_keys(['echo', 'start', 'help', 'mini_app'])"
# Find the starting position of "dict_keys("
start_index = debug_message.find("dict_keys(")
# Find the ending position of ")"
end_index = debug_message.find(")", start_index) + 1
# Remove the "dict_keys(...)" part
cleaned_message = debug_message[:start_index] + debug_message[end_index:]
print(cleaned_message)
aW1wb3J0IGxvZ2dpbmcKCiMgQ29uZmlndXJlIGxvZ2dpbmcgdG8gZGlzcGxheSBtZXNzYWdlcyBvbiB0aGUgY29uc29sZQpsb2dnaW5nLmJhc2ljQ29uZmlnKGxldmVsPWxvZ2dpbmcuREVCVUcsIGZvcm1hdD0nJShsZXZlbG5hbWUpcyAtICUobWVzc2FnZSlzJykKCmRlYnVnX21lc3NhZ2UgPSAiREVCVUcgLSBSZWdpc3RlcmVkIGNvbW1hbmRzOiBkaWN0X2tleXMoWydlY2hvJywgJ3N0YXJ0JywgJ2hlbHAnLCAnbWluaV9hcHAnXSkiCgojIEZpbmQgdGhlIHN0YXJ0aW5nIHBvc2l0aW9uIG9mICJkaWN0X2tleXMoIgpzdGFydF9pbmRleCA9IGRlYnVnX21lc3NhZ2UuZmluZCgiZGljdF9rZXlzKCIpCgojIEZpbmQgdGhlIGVuZGluZyBwb3NpdGlvbiBvZiAiKSIKZW5kX2luZGV4ID0gZGVidWdfbWVzc2FnZS5maW5kKCIpIiwgc3RhcnRfaW5kZXgpICsgMQoKIyBSZW1vdmUgdGhlICJkaWN0X2tleXMoLi4uKSIgcGFydApjbGVhbmVkX21lc3NhZ2UgPSBkZWJ1Z19tZXNzYWdlWzpzdGFydF9pbmRleF0gKyBkZWJ1Z19tZXNzYWdlW2VuZF9pbmRleDpdCgpwcmludChjbGVhbmVkX21lc3NhZ2UpIA==