{"id":2823,"date":"2012-11-02T19:00:20","date_gmt":"2012-11-02T17:00:20","guid":{"rendered":"http:\/\/www.javacodegeeks.com\/?p=2823"},"modified":"2012-11-02T16:42:29","modified_gmt":"2012-11-02T14:42:29","slug":"spring-setting-logging-dependencies","status":"publish","type":"post","link":"https:\/\/www.javacodegeeks.com\/2012\/11\/spring-setting-logging-dependencies.html","title":{"rendered":"Spring: Setting Logging Dependencies"},"content":{"rendered":"<p>This post describes how to set-up logging dependencies in Spring. It is based on information available in a\u00a0<a href=\"http:\/\/blog.springsource.org\/2009\/12\/04\/logging-dependencies-in-spring\/\" target=\"_blank\">post<\/a> by Dave Syer&#8217;s. A reminder on Java logging frameworks is available\u00a0<a href=\"http:\/\/tshikatshikaaa.blogspot.com\/2012\/10\/understanding-logging-frameworks-in-java.html\">here<\/a>. The code example is available at\u00a0<a href=\"https:\/\/github.com\/JVerstry\/Web-Related-Examples\" target=\"_blank\">GitHub<\/a> in the\u00a0Spring-Logging-Dependencies directory.<\/p>\n<p>Spring uses Jakarta Commons Logging API (JCL). Unfortunately, many people do not like its runtime discovery algorithm. We can disactivate it and use SLF4J with Logback instead. We will use a variation of the\u00a0<a href=\"http:\/\/tshikatshikaaa.blogspot.com\/2012\/08\/spring-mvc-with-annotations-example.html\">Spring MVC with Annotations example<\/a> to do so.<\/p>\n<p>Here is the modified controller:<br \/>\n&nbsp;<\/p>\n<pre class=\" brush:java\">import org.springframework.stereotype.Controller;\r\nimport org.springframework.ui.Model;\r\nimport org.springframework.web.bind.annotation.RequestMapping;\r\n\r\n@Controller\r\npublic class MyController {\r\n\r\n    private static final Logger LOG\r\n        = LoggerFactory.getLogger(MyController.class);\r\n\r\n    @RequestMapping(value = '\/')\r\n    public String home(Model model) {\r\n\r\n        String s = 'Logging at: ' + System.currentTimeMillis();\r\n        LOG.info(s);\r\n\r\n        model.addAttribute('LogMsg', s);\r\n\r\n        return 'index';\r\n\r\n    }\r\n\r\n}<\/pre>\n<p>We create a SFL4J logger and log some information with current time in milliseconds.<div style=\"display:inline-block; margin: 15px 0;\"> <div id=\"adngin-JavaCodeGeeks_incontent_video-0\" style=\"display:inline-block;\"><\/div> <\/div><\/p>\n<p>The maven dependencies are:<\/p>\n<pre class=\" brush:xml\">&lt;properties&gt;\r\n    ...\r\n    &lt;spring.version&gt;3.1.2.RELEASE&lt;\/spring.version&gt;\r\n    &lt;slf4j.version&gt;1.7.1&lt;\/slf4j.version&gt;\r\n    &lt;logback.version&gt;0.9.30&lt;\/logback.version&gt;\r\n&lt;\/properties&gt;\r\n\r\n&lt;dependency&gt;\r\n    &lt;groupId&gt;org.springframework&lt;\/groupId&gt;\r\n    &lt;artifactId&gt;spring-context&lt;\/artifactId&gt;\r\n    &lt;version&gt;${spring.version}&lt;\/version&gt;\r\n    &lt;exclusions&gt;\r\n        &lt;exclusion&gt;\r\n            &lt;groupId&gt;commons-logging&lt;\/groupId&gt;\r\n            &lt;artifactId&gt;commons-logging&lt;\/artifactId&gt;\r\n        &lt;\/exclusion&gt;\r\n    &lt;\/exclusions&gt;\r\n    &lt;type&gt;jar&lt;\/type&gt;\r\n&lt;\/dependency&gt;\r\n\r\n&lt;dependency&gt;\r\n    &lt;groupId&gt;org.slf4j&lt;\/groupId&gt;\r\n    &lt;artifactId&gt;jcl-over-slf4j&lt;\/artifactId&gt;\r\n    &lt;version&gt;${slf4j.version}&lt;\/version&gt;\r\n    &lt;scope&gt;runtime&lt;\/scope&gt;\r\n&lt;\/dependency&gt;\r\n\r\n&lt;dependency&gt;\r\n    &lt;groupId&gt;org.slf4j&lt;\/groupId&gt;\r\n    &lt;artifactId&gt;slf4j-api&lt;\/artifactId&gt;\r\n    &lt;version&gt;${slf4j.version}&lt;\/version&gt;\r\n    &lt;type&gt;jar&lt;\/type&gt;\r\n&lt;\/dependency&gt;\r\n\r\n&lt;dependency&gt;\r\n    &lt;groupId&gt;ch.qos.logback&lt;\/groupId&gt;\r\n    &lt;artifactId&gt;logback-classic&lt;\/artifactId&gt;\r\n    &lt;version&gt;${logback.version}&lt;\/version&gt;\r\n&lt;\/dependency&gt;<\/pre>\n<p>Once built, one can start the example by browsing:<br \/>\nhttp:\/\/localhost:9393\/spring-logging-dependencies\/. It will display the following:<\/p>\n<p><a href=\"http:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2012\/11\/Logging2.jpg\"><img decoding=\"async\" class=\"alignnone size-medium wp-image-2824\" title=\"Logging2\" src=\"http:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2012\/11\/Logging2-300x66.jpg\" alt=\"\" width=\"300\" height=\"66\" srcset=\"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2012\/11\/Logging2-300x66.jpg 300w, https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2012\/11\/Logging2.jpg 466w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>In the logs, you will find the logged statement:<\/p>\n<p><a href=\"http:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2012\/11\/Logging1.jpg\"><img decoding=\"async\" class=\"alignnone size-medium wp-image-2825\" title=\"Logging1\" src=\"http:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2012\/11\/Logging1-300x41.jpg\" alt=\"\" width=\"300\" height=\"41\" srcset=\"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2012\/11\/Logging1-300x41.jpg 300w, https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2012\/11\/Logging1.jpg 651w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>More Spring posts\u00a0<a href=\"http:\/\/tshikatshikaaa.blogspot.com\/p\/spring_27.html\">here<\/a>.<br \/>\n&nbsp;<\/p>\n<p><strong><em>Reference: <\/em><\/strong><a href=\"http:\/\/tshikatshikaaa.blogspot.gr\/2012\/10\/setting-logging-dependencies-in-spring.html\">Setting Logging Dependencies In Spring<\/a> from our <a href=\"http:\/\/www.javacodegeeks.com\/p\/jcg.html\">JCG partner<\/a> Jerome Versrynge at the <a href=\"http:\/\/tshikatshikaaa.blogspot.gr\/\">Technical Notes<\/a> blog.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This post describes how to set-up logging dependencies in Spring. It is based on information available in a\u00a0post by Dave Syer&#8217;s. A reminder on Java logging frameworks is available\u00a0here. The code example is available at\u00a0GitHub in the\u00a0Spring-Logging-Dependencies directory. Spring uses Jakarta Commons Logging API (JCL). Unfortunately, many people do not like its runtime discovery algorithm. &hellip;<\/p>\n","protected":false},"author":294,"featured_media":240,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[132,30],"class_list":["post-2823","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-enterprise-java","tag-logging","tag-spring"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Spring: Setting Logging Dependencies<\/title>\n<meta name=\"description\" content=\"This post describes how to set-up logging dependencies in Spring. It is based on information available in a\u00a0post by Dave Syer&#039;s. A reminder on Java\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.javacodegeeks.com\/2012\/11\/spring-setting-logging-dependencies.html\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Spring: Setting Logging Dependencies\" \/>\n<meta property=\"og:description\" content=\"This post describes how to set-up logging dependencies in Spring. It is based on information available in a\u00a0post by Dave Syer&#039;s. A reminder on Java\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.javacodegeeks.com\/2012\/11\/spring-setting-logging-dependencies.html\" \/>\n<meta property=\"og:site_name\" content=\"Java Code Geeks\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/javacodegeeks\" \/>\n<meta property=\"article:published_time\" content=\"2012-11-02T17:00:20+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2012\/10\/spring-logo.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"150\" \/>\n\t<meta property=\"og:image:height\" content=\"150\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Jerome Versrynge\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@javacodegeeks\" \/>\n<meta name=\"twitter:site\" content=\"@javacodegeeks\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Jerome Versrynge\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2012\\\/11\\\/spring-setting-logging-dependencies.html#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2012\\\/11\\\/spring-setting-logging-dependencies.html\"},\"author\":{\"name\":\"Jerome Versrynge\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#\\\/schema\\\/person\\\/658bd5fb8f00ed062406092ea069e948\"},\"headline\":\"Spring: Setting Logging Dependencies\",\"datePublished\":\"2012-11-02T17:00:20+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2012\\\/11\\\/spring-setting-logging-dependencies.html\"},\"wordCount\":163,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2012\\\/11\\\/spring-setting-logging-dependencies.html#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.javacodegeeks.com\\\/wp-content\\\/uploads\\\/2012\\\/10\\\/spring-logo.jpg\",\"keywords\":[\"Logging\",\"Spring\"],\"articleSection\":[\"Enterprise Java\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.javacodegeeks.com\\\/2012\\\/11\\\/spring-setting-logging-dependencies.html#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2012\\\/11\\\/spring-setting-logging-dependencies.html\",\"url\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2012\\\/11\\\/spring-setting-logging-dependencies.html\",\"name\":\"Spring: Setting Logging Dependencies\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2012\\\/11\\\/spring-setting-logging-dependencies.html#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2012\\\/11\\\/spring-setting-logging-dependencies.html#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.javacodegeeks.com\\\/wp-content\\\/uploads\\\/2012\\\/10\\\/spring-logo.jpg\",\"datePublished\":\"2012-11-02T17:00:20+00:00\",\"description\":\"This post describes how to set-up logging dependencies in Spring. It is based on information available in a\u00a0post by Dave Syer's. A reminder on Java\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2012\\\/11\\\/spring-setting-logging-dependencies.html#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.javacodegeeks.com\\\/2012\\\/11\\\/spring-setting-logging-dependencies.html\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2012\\\/11\\\/spring-setting-logging-dependencies.html#primaryimage\",\"url\":\"https:\\\/\\\/www.javacodegeeks.com\\\/wp-content\\\/uploads\\\/2012\\\/10\\\/spring-logo.jpg\",\"contentUrl\":\"https:\\\/\\\/www.javacodegeeks.com\\\/wp-content\\\/uploads\\\/2012\\\/10\\\/spring-logo.jpg\",\"width\":150,\"height\":150,\"caption\":\"spring-interview-questions-answers\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2012\\\/11\\\/spring-setting-logging-dependencies.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.javacodegeeks.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Java\",\"item\":\"https:\\\/\\\/www.javacodegeeks.com\\\/category\\\/java\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Enterprise Java\",\"item\":\"https:\\\/\\\/www.javacodegeeks.com\\\/category\\\/java\\\/enterprise-java\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Spring: Setting Logging Dependencies\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#website\",\"url\":\"https:\\\/\\\/www.javacodegeeks.com\\\/\",\"name\":\"Java Code Geeks\",\"description\":\"Java Developers Resource Center\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#organization\"},\"alternateName\":\"JCG\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.javacodegeeks.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#organization\",\"name\":\"Exelixis Media P.C.\",\"url\":\"https:\\\/\\\/www.javacodegeeks.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.javacodegeeks.com\\\/wp-content\\\/uploads\\\/2022\\\/06\\\/exelixis-logo.png\",\"contentUrl\":\"https:\\\/\\\/www.javacodegeeks.com\\\/wp-content\\\/uploads\\\/2022\\\/06\\\/exelixis-logo.png\",\"width\":864,\"height\":246,\"caption\":\"Exelixis Media P.C.\"},\"image\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/javacodegeeks\",\"https:\\\/\\\/x.com\\\/javacodegeeks\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#\\\/schema\\\/person\\\/658bd5fb8f00ed062406092ea069e948\",\"name\":\"Jerome Versrynge\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/90e571ae81f2c3c2cf7fc4f8b18e1fb8a294ca23d7fd6d066289696a31b2c774?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/90e571ae81f2c3c2cf7fc4f8b18e1fb8a294ca23d7fd6d066289696a31b2c774?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/90e571ae81f2c3c2cf7fc4f8b18e1fb8a294ca23d7fd6d066289696a31b2c774?s=96&d=mm&r=g\",\"caption\":\"Jerome Versrynge\"},\"sameAs\":[\"http:\\\/\\\/tshikatshikaaa.blogspot.com\\\/\"],\"url\":\"https:\\\/\\\/www.javacodegeeks.com\\\/author\\\/Jerome-Versrynge\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Spring: Setting Logging Dependencies","description":"This post describes how to set-up logging dependencies in Spring. It is based on information available in a\u00a0post by Dave Syer's. A reminder on Java","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.javacodegeeks.com\/2012\/11\/spring-setting-logging-dependencies.html","og_locale":"en_US","og_type":"article","og_title":"Spring: Setting Logging Dependencies","og_description":"This post describes how to set-up logging dependencies in Spring. It is based on information available in a\u00a0post by Dave Syer's. A reminder on Java","og_url":"https:\/\/www.javacodegeeks.com\/2012\/11\/spring-setting-logging-dependencies.html","og_site_name":"Java Code Geeks","article_publisher":"https:\/\/www.facebook.com\/javacodegeeks","article_published_time":"2012-11-02T17:00:20+00:00","og_image":[{"width":150,"height":150,"url":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2012\/10\/spring-logo.jpg","type":"image\/jpeg"}],"author":"Jerome Versrynge","twitter_card":"summary_large_image","twitter_creator":"@javacodegeeks","twitter_site":"@javacodegeeks","twitter_misc":{"Written by":"Jerome Versrynge","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.javacodegeeks.com\/2012\/11\/spring-setting-logging-dependencies.html#article","isPartOf":{"@id":"https:\/\/www.javacodegeeks.com\/2012\/11\/spring-setting-logging-dependencies.html"},"author":{"name":"Jerome Versrynge","@id":"https:\/\/www.javacodegeeks.com\/#\/schema\/person\/658bd5fb8f00ed062406092ea069e948"},"headline":"Spring: Setting Logging Dependencies","datePublished":"2012-11-02T17:00:20+00:00","mainEntityOfPage":{"@id":"https:\/\/www.javacodegeeks.com\/2012\/11\/spring-setting-logging-dependencies.html"},"wordCount":163,"commentCount":0,"publisher":{"@id":"https:\/\/www.javacodegeeks.com\/#organization"},"image":{"@id":"https:\/\/www.javacodegeeks.com\/2012\/11\/spring-setting-logging-dependencies.html#primaryimage"},"thumbnailUrl":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2012\/10\/spring-logo.jpg","keywords":["Logging","Spring"],"articleSection":["Enterprise Java"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.javacodegeeks.com\/2012\/11\/spring-setting-logging-dependencies.html#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.javacodegeeks.com\/2012\/11\/spring-setting-logging-dependencies.html","url":"https:\/\/www.javacodegeeks.com\/2012\/11\/spring-setting-logging-dependencies.html","name":"Spring: Setting Logging Dependencies","isPartOf":{"@id":"https:\/\/www.javacodegeeks.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.javacodegeeks.com\/2012\/11\/spring-setting-logging-dependencies.html#primaryimage"},"image":{"@id":"https:\/\/www.javacodegeeks.com\/2012\/11\/spring-setting-logging-dependencies.html#primaryimage"},"thumbnailUrl":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2012\/10\/spring-logo.jpg","datePublished":"2012-11-02T17:00:20+00:00","description":"This post describes how to set-up logging dependencies in Spring. It is based on information available in a\u00a0post by Dave Syer's. A reminder on Java","breadcrumb":{"@id":"https:\/\/www.javacodegeeks.com\/2012\/11\/spring-setting-logging-dependencies.html#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.javacodegeeks.com\/2012\/11\/spring-setting-logging-dependencies.html"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.javacodegeeks.com\/2012\/11\/spring-setting-logging-dependencies.html#primaryimage","url":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2012\/10\/spring-logo.jpg","contentUrl":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2012\/10\/spring-logo.jpg","width":150,"height":150,"caption":"spring-interview-questions-answers"},{"@type":"BreadcrumbList","@id":"https:\/\/www.javacodegeeks.com\/2012\/11\/spring-setting-logging-dependencies.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.javacodegeeks.com\/"},{"@type":"ListItem","position":2,"name":"Java","item":"https:\/\/www.javacodegeeks.com\/category\/java"},{"@type":"ListItem","position":3,"name":"Enterprise Java","item":"https:\/\/www.javacodegeeks.com\/category\/java\/enterprise-java"},{"@type":"ListItem","position":4,"name":"Spring: Setting Logging Dependencies"}]},{"@type":"WebSite","@id":"https:\/\/www.javacodegeeks.com\/#website","url":"https:\/\/www.javacodegeeks.com\/","name":"Java Code Geeks","description":"Java Developers Resource Center","publisher":{"@id":"https:\/\/www.javacodegeeks.com\/#organization"},"alternateName":"JCG","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.javacodegeeks.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.javacodegeeks.com\/#organization","name":"Exelixis Media P.C.","url":"https:\/\/www.javacodegeeks.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.javacodegeeks.com\/#\/schema\/logo\/image\/","url":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2022\/06\/exelixis-logo.png","contentUrl":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2022\/06\/exelixis-logo.png","width":864,"height":246,"caption":"Exelixis Media P.C."},"image":{"@id":"https:\/\/www.javacodegeeks.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/javacodegeeks","https:\/\/x.com\/javacodegeeks"]},{"@type":"Person","@id":"https:\/\/www.javacodegeeks.com\/#\/schema\/person\/658bd5fb8f00ed062406092ea069e948","name":"Jerome Versrynge","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/90e571ae81f2c3c2cf7fc4f8b18e1fb8a294ca23d7fd6d066289696a31b2c774?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/90e571ae81f2c3c2cf7fc4f8b18e1fb8a294ca23d7fd6d066289696a31b2c774?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/90e571ae81f2c3c2cf7fc4f8b18e1fb8a294ca23d7fd6d066289696a31b2c774?s=96&d=mm&r=g","caption":"Jerome Versrynge"},"sameAs":["http:\/\/tshikatshikaaa.blogspot.com\/"],"url":"https:\/\/www.javacodegeeks.com\/author\/Jerome-Versrynge"}]}},"_links":{"self":[{"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/posts\/2823","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/users\/294"}],"replies":[{"embeddable":true,"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/comments?post=2823"}],"version-history":[{"count":0,"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/posts\/2823\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/media\/240"}],"wp:attachment":[{"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/media?parent=2823"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/categories?post=2823"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/tags?post=2823"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}