{"id":57,"date":"2015-08-15T15:06:23","date_gmt":"2015-08-15T15:06:23","guid":{"rendered":"https:\/\/maximoconcepts.wordpress.com\/?p=57"},"modified":"2015-08-15T15:06:23","modified_gmt":"2015-08-15T15:06:23","slug":"printing-class-details-when-debugging-in-maximo","status":"publish","type":"post","link":"https:\/\/maximoconcepts.com\/2015\/08\/15\/printing-class-details-when-debugging-in-maximo\/","title":{"rendered":"Printing Class Details When Debugging in Maximo"},"content":{"rendered":"

Sometimes when I am asked to look into some issue or I have to debug some out of the box\u00a0functionality in Maximo, I start wondering where to start.<\/p>\n

Logs are one good place to start debugging. Turning the logger level of appropriate loggers to debug prints lots of information in the system out (which can be a performance overhead also so be cautious).<\/p>\n

To print more specific details of the class that is writing these logs there is a tweak that can be done in the logging application.<\/p>\n

In the logging application, in the Manage Appenders dialog in the select action, select the console appender. In the table details, update\u00a0the\u00a0Conversion Pattern to<\/p>\n

–CLASS -> %C LINE -> %L %d{dd MMM yyyy HH:mm:ss:SSS} [%-2p] [%s] [%q] %m%n<\/em><\/strong><\/p>\n

\"Logger<\/a><\/p>\n

This will print the classname and the line number for all the log entries made in the systemOut.log and maximo.log, which will look something like this –<\/p>\n

\"Logger<\/a><\/p>\n

This can be the starting point for your debugging. If you created\u00a0custom appenders, this tweak can be implemented on the custom appenders leaving the\u00a0console appender as it is.<\/p>\n","protected":false},"excerpt":{"rendered":"

Sometimes when I am asked to look into some issue or I have to debug some out of the box\u00a0functionality in Maximo, I start wondering where to start. Logs are one good place to start debugging. Turning the logger level of appropriate loggers to debug prints lots of information in the system out (which can … Continue reading Printing Class Details When Debugging in Maximo<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[11,5],"tags":[],"yoast_head":"\nPrinting Class Details When Debugging in Maximo - Maximo Concepts<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/maximoconcepts.com\/2015\/08\/15\/printing-class-details-when-debugging-in-maximo\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Printing Class Details When Debugging in Maximo - Maximo Concepts\" \/>\n<meta property=\"og:description\" content=\"Sometimes when I am asked to look into some issue or I have to debug some out of the box\u00a0functionality in Maximo, I start wondering where to start. Logs are one good place to start debugging. Turning the logger level of appropriate loggers to debug prints lots of information in the system out (which can … Continue reading Printing Class Details When Debugging in Maximo\" \/>\n<meta property=\"og:url\" content=\"https:\/\/maximoconcepts.com\/2015\/08\/15\/printing-class-details-when-debugging-in-maximo\/\" \/>\n<meta property=\"og:site_name\" content=\"Maximo Concepts\" \/>\n<meta property=\"article:published_time\" content=\"2015-08-15T15:06:23+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/maximoconcepts.files.wordpress.com\/2015\/08\/logger-manager-appender.png?w=300\" \/>\n<meta name=\"author\" content=\"Pranjal\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Pranjal\" \/>\n\t<meta name=\"twitter:label2\" content=\"Estimated reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/maximoconcepts.com\/2015\/08\/15\/printing-class-details-when-debugging-in-maximo\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/maximoconcepts.com\/2015\/08\/15\/printing-class-details-when-debugging-in-maximo\/\"},\"author\":{\"name\":\"Pranjal\",\"@id\":\"https:\/\/maximoconcepts.com\/#\/schema\/person\/2a0ce61af426d0c4038aeaa51cb0f98b\"},\"headline\":\"Printing Class Details When Debugging in Maximo\",\"datePublished\":\"2015-08-15T15:06:23+00:00\",\"dateModified\":\"2015-08-15T15:06:23+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/maximoconcepts.com\/2015\/08\/15\/printing-class-details-when-debugging-in-maximo\/\"},\"wordCount\":203,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/maximoconcepts.com\/#\/schema\/person\/2a0ce61af426d0c4038aeaa51cb0f98b\"},\"image\":{\"@id\":\"https:\/\/maximoconcepts.com\/2015\/08\/15\/printing-class-details-when-debugging-in-maximo\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/maximoconcepts.files.wordpress.com\/2015\/08\/logger-manager-appender.png?w=300\",\"articleSection\":[\"Configuration\",\"Technical\"],\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/maximoconcepts.com\/2015\/08\/15\/printing-class-details-when-debugging-in-maximo\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/maximoconcepts.com\/2015\/08\/15\/printing-class-details-when-debugging-in-maximo\/\",\"url\":\"https:\/\/maximoconcepts.com\/2015\/08\/15\/printing-class-details-when-debugging-in-maximo\/\",\"name\":\"Printing Class Details When Debugging in Maximo - Maximo Concepts\",\"isPartOf\":{\"@id\":\"https:\/\/maximoconcepts.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/maximoconcepts.com\/2015\/08\/15\/printing-class-details-when-debugging-in-maximo\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/maximoconcepts.com\/2015\/08\/15\/printing-class-details-when-debugging-in-maximo\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/maximoconcepts.files.wordpress.com\/2015\/08\/logger-manager-appender.png?w=300\",\"datePublished\":\"2015-08-15T15:06:23+00:00\",\"dateModified\":\"2015-08-15T15:06:23+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/maximoconcepts.com\/2015\/08\/15\/printing-class-details-when-debugging-in-maximo\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/maximoconcepts.com\/2015\/08\/15\/printing-class-details-when-debugging-in-maximo\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/maximoconcepts.com\/2015\/08\/15\/printing-class-details-when-debugging-in-maximo\/#primaryimage\",\"url\":\"https:\/\/maximoconcepts.files.wordpress.com\/2015\/08\/logger-manager-appender.png?w=300\",\"contentUrl\":\"https:\/\/maximoconcepts.files.wordpress.com\/2015\/08\/logger-manager-appender.png?w=300\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/maximoconcepts.com\/2015\/08\/15\/printing-class-details-when-debugging-in-maximo\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/maximoconcepts.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Printing Class Details When Debugging in Maximo\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/maximoconcepts.com\/#website\",\"url\":\"https:\/\/maximoconcepts.com\/\",\"name\":\"Maximo Concepts\",\"description\":\"Concepts Simplified.\",\"publisher\":{\"@id\":\"https:\/\/maximoconcepts.com\/#\/schema\/person\/2a0ce61af426d0c4038aeaa51cb0f98b\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/maximoconcepts.com\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-GB\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/maximoconcepts.com\/#\/schema\/person\/2a0ce61af426d0c4038aeaa51cb0f98b\",\"name\":\"Pranjal\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/maximoconcepts.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/i0.wp.com\/maximoconcepts.com\/wp-content\/uploads\/2015\/08\/dscn4443-2.jpg?fit=516%2C520&ssl=1\",\"contentUrl\":\"https:\/\/i0.wp.com\/maximoconcepts.com\/wp-content\/uploads\/2015\/08\/dscn4443-2.jpg?fit=516%2C520&ssl=1\",\"width\":516,\"height\":520,\"caption\":\"Pranjal\"},\"logo\":{\"@id\":\"https:\/\/maximoconcepts.com\/#\/schema\/person\/image\/\"},\"url\":\"https:\/\/maximoconcepts.com\/author\/pranjal\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Printing Class Details When Debugging in Maximo - Maximo Concepts","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:\/\/maximoconcepts.com\/2015\/08\/15\/printing-class-details-when-debugging-in-maximo\/","og_locale":"en_GB","og_type":"article","og_title":"Printing Class Details When Debugging in Maximo - Maximo Concepts","og_description":"Sometimes when I am asked to look into some issue or I have to debug some out of the box\u00a0functionality in Maximo, I start wondering where to start. Logs are one good place to start debugging. Turning the logger level of appropriate loggers to debug prints lots of information in the system out (which can … Continue reading Printing Class Details When Debugging in Maximo","og_url":"https:\/\/maximoconcepts.com\/2015\/08\/15\/printing-class-details-when-debugging-in-maximo\/","og_site_name":"Maximo Concepts","article_published_time":"2015-08-15T15:06:23+00:00","og_image":[{"url":"https:\/\/maximoconcepts.files.wordpress.com\/2015\/08\/logger-manager-appender.png?w=300"}],"author":"Pranjal","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Pranjal","Estimated reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/maximoconcepts.com\/2015\/08\/15\/printing-class-details-when-debugging-in-maximo\/#article","isPartOf":{"@id":"https:\/\/maximoconcepts.com\/2015\/08\/15\/printing-class-details-when-debugging-in-maximo\/"},"author":{"name":"Pranjal","@id":"https:\/\/maximoconcepts.com\/#\/schema\/person\/2a0ce61af426d0c4038aeaa51cb0f98b"},"headline":"Printing Class Details When Debugging in Maximo","datePublished":"2015-08-15T15:06:23+00:00","dateModified":"2015-08-15T15:06:23+00:00","mainEntityOfPage":{"@id":"https:\/\/maximoconcepts.com\/2015\/08\/15\/printing-class-details-when-debugging-in-maximo\/"},"wordCount":203,"commentCount":0,"publisher":{"@id":"https:\/\/maximoconcepts.com\/#\/schema\/person\/2a0ce61af426d0c4038aeaa51cb0f98b"},"image":{"@id":"https:\/\/maximoconcepts.com\/2015\/08\/15\/printing-class-details-when-debugging-in-maximo\/#primaryimage"},"thumbnailUrl":"https:\/\/maximoconcepts.files.wordpress.com\/2015\/08\/logger-manager-appender.png?w=300","articleSection":["Configuration","Technical"],"inLanguage":"en-GB","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/maximoconcepts.com\/2015\/08\/15\/printing-class-details-when-debugging-in-maximo\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/maximoconcepts.com\/2015\/08\/15\/printing-class-details-when-debugging-in-maximo\/","url":"https:\/\/maximoconcepts.com\/2015\/08\/15\/printing-class-details-when-debugging-in-maximo\/","name":"Printing Class Details When Debugging in Maximo - Maximo Concepts","isPartOf":{"@id":"https:\/\/maximoconcepts.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/maximoconcepts.com\/2015\/08\/15\/printing-class-details-when-debugging-in-maximo\/#primaryimage"},"image":{"@id":"https:\/\/maximoconcepts.com\/2015\/08\/15\/printing-class-details-when-debugging-in-maximo\/#primaryimage"},"thumbnailUrl":"https:\/\/maximoconcepts.files.wordpress.com\/2015\/08\/logger-manager-appender.png?w=300","datePublished":"2015-08-15T15:06:23+00:00","dateModified":"2015-08-15T15:06:23+00:00","breadcrumb":{"@id":"https:\/\/maximoconcepts.com\/2015\/08\/15\/printing-class-details-when-debugging-in-maximo\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/maximoconcepts.com\/2015\/08\/15\/printing-class-details-when-debugging-in-maximo\/"]}]},{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/maximoconcepts.com\/2015\/08\/15\/printing-class-details-when-debugging-in-maximo\/#primaryimage","url":"https:\/\/maximoconcepts.files.wordpress.com\/2015\/08\/logger-manager-appender.png?w=300","contentUrl":"https:\/\/maximoconcepts.files.wordpress.com\/2015\/08\/logger-manager-appender.png?w=300"},{"@type":"BreadcrumbList","@id":"https:\/\/maximoconcepts.com\/2015\/08\/15\/printing-class-details-when-debugging-in-maximo\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/maximoconcepts.com\/"},{"@type":"ListItem","position":2,"name":"Printing Class Details When Debugging in Maximo"}]},{"@type":"WebSite","@id":"https:\/\/maximoconcepts.com\/#website","url":"https:\/\/maximoconcepts.com\/","name":"Maximo Concepts","description":"Concepts Simplified.","publisher":{"@id":"https:\/\/maximoconcepts.com\/#\/schema\/person\/2a0ce61af426d0c4038aeaa51cb0f98b"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/maximoconcepts.com\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-GB"},{"@type":["Person","Organization"],"@id":"https:\/\/maximoconcepts.com\/#\/schema\/person\/2a0ce61af426d0c4038aeaa51cb0f98b","name":"Pranjal","image":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/maximoconcepts.com\/#\/schema\/person\/image\/","url":"https:\/\/i0.wp.com\/maximoconcepts.com\/wp-content\/uploads\/2015\/08\/dscn4443-2.jpg?fit=516%2C520&ssl=1","contentUrl":"https:\/\/i0.wp.com\/maximoconcepts.com\/wp-content\/uploads\/2015\/08\/dscn4443-2.jpg?fit=516%2C520&ssl=1","width":516,"height":520,"caption":"Pranjal"},"logo":{"@id":"https:\/\/maximoconcepts.com\/#\/schema\/person\/image\/"},"url":"https:\/\/maximoconcepts.com\/author\/pranjal\/"}]}},"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/maximoconcepts.com\/wp-json\/wp\/v2\/posts\/57"}],"collection":[{"href":"https:\/\/maximoconcepts.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/maximoconcepts.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/maximoconcepts.com\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/maximoconcepts.com\/wp-json\/wp\/v2\/comments?post=57"}],"version-history":[{"count":0,"href":"https:\/\/maximoconcepts.com\/wp-json\/wp\/v2\/posts\/57\/revisions"}],"wp:attachment":[{"href":"https:\/\/maximoconcepts.com\/wp-json\/wp\/v2\/media?parent=57"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/maximoconcepts.com\/wp-json\/wp\/v2\/categories?post=57"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/maximoconcepts.com\/wp-json\/wp\/v2\/tags?post=57"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}