tag:blogger.com,1999:blog-5003701650524272230.post2035521584901495943..comments2023-05-15T08:30:40.114-05:00Comments on Programming fun at startup: Logging to Graphite monitoring tool from javaKalpesh Patelhttp://www.blogger.com/profile/05753943463214172718noreply@blogger.comBlogger7125tag:blogger.com,1999:blog-5003701650524272230.post-25627954822551000352013-04-14T22:06:10.346-05:002013-04-14T22:06:10.346-05:00I updated the imports (sorry I was using a differe...I updated the imports (sorry I was using a different logger and I wanted to make the code simple). Anyways I converted the code to use slf4j so try now. or you can switch it to use your logger and replace the loging code or remove it. Kalpesh Patelhttps://www.blogger.com/profile/05753943463214172718noreply@blogger.comtag:blogger.com,1999:blog-5003701650524272230.post-39693232838218818492013-04-13T23:53:09.337-05:002013-04-13T23:53:09.337-05:00That seems to have fixed the issue for the logger ...That seems to have fixed the issue for the logger but I am also still getting the same issue Dhanushanth was getting on Line #53<br /><br />"<br />Multiple markers at this line<br />Map.Entry is a raw type. References to generic type Map.Entry should be parameterized<br />Type mismatch: cannot convert from element type Object to Map.Entry<br />"<br /><br /><br />dyerucfhttps://www.blogger.com/profile/03573791813319398586noreply@blogger.comtag:blogger.com,1999:blog-5003701650524272230.post-49083487322912426902013-02-19T21:44:32.716-06:002013-02-19T21:44:32.716-06:00this code was just for a sample, I think I used sl...this code was just for a sample, I think I used slf4j wrapper that uses {} syntax. please change the code to use <br /><br /> logger.info("Writing ["+msg +"] to graphite");<br /><br />and it should work fine.Kalpesh Patelhttps://www.blogger.com/profile/05753943463214172718noreply@blogger.comtag:blogger.com,1999:blog-5003701650524272230.post-42942987006283840422013-02-19T19:22:51.196-06:002013-02-19T19:22:51.196-06:00It is a super article. and im getting some error i...It is a super article. and im getting some error in line <br />#53 for (Map.Entry entry : stats.entrySet()) with stats.entrySet() <br />#62 logger.info("Writing [{}] to graphite", msg); with logger.info <br />please give some idea to fix this :)Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5003701650524272230.post-18489603166356218152011-05-20T15:15:01.081-05:002011-05-20T15:15:01.081-05:00use the drawAsInfinite functionuse the drawAsInfinite functionKalpesh Patelhttps://www.blogger.com/profile/05753943463214172718noreply@blogger.comtag:blogger.com,1999:blog-5003701650524272230.post-55130092233841321102011-05-20T12:25:45.376-05:002011-05-20T12:25:45.376-05:00How do you create the vertical line for deploys?How do you create the vertical line for deploys?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5003701650524272230.post-82958504734403151012011-05-02T09:36:24.144-05:002011-05-02T09:36:24.144-05:00Nice article , you have indeed covered topic in de...Nice article , you have indeed covered topic in details with code examples and explanation. I have also blogged some of my experience as <a href="http://javarevisited.blogspot.com/2011/05/top-10-tips-on-logging-in-java.html" rel="nofollow">10 tips on logging in Java </a><br /><br />Thanks<br />Javin<br /> <a href="http://javarevisited.blogspot.com/2011/05/top-10-tips-on-logging-in-java.html" rel="nofollow">10 tips on logging in Java </a>javin paulhttps://www.blogger.com/profile/15028902221295732276noreply@blogger.com