{"id":45940,"library":"python-simple-logger","title":"redhat-qe-simple-logger","description":"A simple logging wrapper for Python, commonly used in Red Hat QE automation. Provides colored console output and structured logging. Currently at version 2.0.19, maintained under Red Hat QE.","status":"active","version":"2.0.19","language":"python","source_language":"en","source_url":"https://github.com/RedHatQE/python-simple-logger","tags":["logging","colored-logs","red-hat"],"install":[{"cmd":"pip install python-simple-logger","lang":"bash","label":"Install from PyPI"}],"dependencies":[],"imports":[{"wrong":"","symbol":"get_logger","correct":"from simple_logger import get_logger"}],"quickstart":{"code":"from simple_logger import get_logger\n\nlogger = get_logger(name=\"my-app\")\nlogger.info(\"Hello, world!\")","lang":"python","description":"Create a logger with default settings (colored console output)."},"warnings":[{"fix":"Ensure imports use 'from simple_logger import get_logger'.","message":"In version 2.0.0, the package was renamed from 'python-simple-logger' to 'simple-logger'? Actually PyPI name remains 'python-simple-logger', but import was always 'simple_logger'. No major breaking changes known.","severity":"breaking","affected_versions":">=2.0.0"},{"fix":"Create separate logger instances per thread, or wrap logging calls with locks.","message":"The logger is not thread-safe by default. Use thread-local loggers for concurrent contexts.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"search_vec":"'2.0.19':29 'autom':18 'color':20,37 'colored-log':36 'common':12 'consol':21 'current':26 'hat':16,33,41 'log':8,25,35,38 'logger':5 'maintain':30 'output':22 'provid':19 'python':11 'qe':3,17,34 'red':15,32,40 'red-hat':39 'redhat':2 'redhat-qe-simple-logg':1 'simpl':4,7 'structur':24 'use':13 'version':28 'wrapper':9","created_at":"2026-06-07T12:57:28.634677+00:00","updated_at":"2026-06-07T12:57:28.634677+00:00","problems":{"verify_error":"Traceback (most recent call last):\n  File \"<string>\", line 1, in <module>\nImportError: cannot import name 'get_logger' from 'simple_logger' (/tmp/tmpjy3z2ksb/venv/lib/python3.12/site-packages/simple_logger/__init__.py)"},"ecosystem":"pypi","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/RedHatQE/python-simple-logger","github":"https://github.com/RedHatQE/python-simple-logger","docs":null,"changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["devops"],"base_url":null,"auth_type":null,"provenance":{"verified_status":"import_fail","verified_at":"2026-07-03","last_verified":"2026-07-03","next_check":"2026-07-10","install_tag":null}}