{"id":54698,"library":"spring-jcl","title":"Spring Commons Logging Bridge","description":"Provides a bridge between Apache Commons Logging and SLF4J or Log4J for Spring.","status":"active","version":"6.2.18","language":"java","source_language":null,"source_url":"https://github.com/spring-projects/spring-framework","tags":["spring","logging","commons-logging","bridge"],"install":[{"cmd":"<dependency>\n  <groupId>org.springframework</groupId>\n  <artifactId>spring-jcl</artifactId>\n  <version>6.2.18</version>\n</dependency>","lang":"xml","label":"Maven"},{"cmd":"implementation 'org.springframework:spring-jcl:6.2.18'","lang":"groovy","label":"Gradle"}],"dependencies":[],"imports":[{"symbol":"Log","correct":"org.apache.commons.logging.Log"}],"quickstart":{"code":"import org.apache.commons.logging.Log;\nimport org.apache.commons.logging.LogFactory;\n\npublic class Example {\n    private static final Log log = LogFactory.getLog(Example.class);\n    public static void main(String[] args) {\n        log.info(\"Hello from Spring JCL!\");\n    }\n}","lang":"java","description":"Uses Commons Logging API to log a message."},"warnings":[{"fix":"Add a logging implementation like ch.qos.logback:logback-classic to your dependencies.","message":"Spring JCL is a bridge; ensure a logging implementation (e.g., Logback) is on the classpath.","severity":"gotcha","affected_versions":">=5.0"}],"env_vars":null,"search_vec":"'apach':9 'bridg':4,7,23 'common':2,10,21 'commons-log':20 'log':3,11,19,22 'log4j':15 'provid':5 'slf4j':13 'spring':1,17,18","created_at":"2026-06-15T09:19:28.856418+00:00","updated_at":"2026-06-15T09:19:28.856418+00:00","problems":[],"ecosystem":"maven","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/spring-projects/spring-framework","github":"https://github.com/spring-projects/spring-framework","docs":"https://appdoc.app/artifact/org.springframework/spring-jcl/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["logging"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-15","next_check":"2026-12-12","install_tag":null}}