francescoNemesi Report post Posted May 6, 2010 Hi, in my application I export a lot of charts and every time a chart is exported I get 2 lines in the Application Container log: 10:11:57,614 INFO: com.fusioncharts.exporter.generators.ImageGenerator getChartImage INFO: Image created successfully This creates a lot of useless noise in the log. How to turn off the logging completely? Thanks Share this post Link to post Share on other sites
srividya_sharma Report post Posted May 6, 2010 Hi Welcome to FusionCharts forum. Please suppress the FusionCharts specific logs by setting the log level as ERROR for com.fusioncharts.exporter as follows in lib/logging.properties : com.fusioncharts.exporter.level= ERROR Hope this helps. Srividya Share this post Link to post Share on other sites
francescoNemesi Report post Posted May 7, 2010 Hi there, thanks for your reply. I created a file called logging.properties in the lib directory with the content you mentioned, but I still get the messages. I also tried to put the file in the classes directory, that didn't help either. My application uses log4j and not java.util.logging. Any other ideas? Thanks, F Share this post Link to post Share on other sites
srividya_sharma Report post Posted May 9, 2010 (edited) Hi For lo4j, please create a log4j.properties file with the following lines in it: log4j.rootCategory=INFO, R log4j.logger.com.fusioncharts.exporter=ERROR ------------------------------------------------------------------------------ # # The following properties configure the console (stdout) appender. # See http://logging.apache.org/log4j/docs/api/index.html for details. # #------------------------------------------------------------------------------ log4j.appender.S = org.apache.log4j.ConsoleAppender log4j.appender.S.layout = org.apache.log4j.PatternLayout log4j.appender.S.layout.ConversionPattern = %d{yyyy-MM-dd HH:mm:ss} %c{1} [%p] %m%n #------------------------------------------------------------------------------ # # The following properties configure the Daily Rolling File appender. # See http://logging.apache.org/log4j/docs/api/index.html for details. # #------------------------------------------------------------------------------ log4j.appender.R = org.apache.log4j.DailyRollingFileAppender log4j.appender.R.File = logs/myApp.log log4j.appender.R.Append = true log4j.appender.R.DatePattern = '.'yyy-MM-dd log4j.appender.R.layout = org.apache.log4j.PatternLayout log4j.appender.R.layout.ConversionPattern = %d{yyyy-MM-dd HH:mm:ss} %c{1} [%p] %m%n Place this file in WEB-INF/classes folder. Hope this works out. Srividya Edited May 9, 2010 by Guest Share this post Link to post Share on other sites
danidin Report post Posted August 8, 2011 Hello, I'm having the same issue- I'm also using log4j, but the proposed solution does not work for me - I still see the log message in my console. Any suggestions? Thanks, Dani Share this post Link to post Share on other sites
srividya_sharma Report post Posted August 23, 2011 I can't think of any problems with this. Can you please verify that you have configured log4j correctly? Hope this helps. Srividya Sharma Share this post Link to post Share on other sites