Sakai
  1. Sakai
  2. SAK-19870

Remove 90% of spammy warns in log file.

    Details

    • Type: Bug Bug
    • Status: Open Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 2.8.0
    • Fix Version/s: None
    • Component/s: Global
    • Labels:
      None
    • Environment:
      qa2-us.sakaiproject.org:9090 under low level stress for prolonged periods.
    • Previous Issue Keys:

      Description

      The QA server is placed under low level load via a Jmeter script.
      https://source.sakaiproject.org/contrib/amberg/stress/Adaptive/

      The users click on the first level of links to sites found

      The access log file and catalina log file are processed by simple scripts:
      https://source.sakaiproject.org/contrib/amberg/parsing/

      Logs at:
      http://qa2-us.sakaiproject.org:9090/logs/


      The warns from Catalina.out include


      com.sun.faces.renderkit.html_basic.HtmlBasicRenderer = 5419
      org.sakaiproject.citation.impl.BaseConfigurationService = 2594

      The first is caused by going to chat
      The second looking for a configuration file for citations but in all kind of locations so looks like incorrect coding and/or configuration.

      At the least adjust the log level down to Info and pklease review the code.


      Removing these Warns will reduce the warn density by around 90%. This will make catalina.out significantly more readable for System Admins. For this consider raise the level to critical.

      Obviously this is a good way to hit the grass for bugs. Further study and Jira's will ensue. Feel free to attack the problem yourself.


       Full report.

      Summary of catalina.out
      Thu Jan 20 14:36:26 2011

      Number of lines processed: 251100
      ERROR: 161
      WARN: 9147
      INFO: 139096


      Errors by Class
      org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/messageforums-tool].[Faces Servlet] = 6
      org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/messageforums-tool].[jsp] = 6
      org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/messageforums-tool].[sakai.messages] = 6
      org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/sakai-chat-tool].[Faces Servlet] = 1
      org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/sakai-chat-tool].[jsp] = 1
      org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/sakai-chat-tool].[sakai.chat] = 1
      org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/sakai-podcasts].[Faces Servlet] = 7
      org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/sakai-podcasts].[jsp] = 7
      org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/sakai-podcasts].[sakai.podcasts] = 7
      org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/sakai-roster-tool].[Faces Servlet] = 13
      org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/sakai-roster-tool].[jsp] = 13
      org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/sakai-roster-tool].[sakai.site.roster] = 13
      org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/sakai-rwiki-tool].[sakai.rwiki] = 4
      org.hibernate.event.def.AbstractFlushingEventListener = 23
      org.hibernate.util.JDBCExceptionReporter = 46
      org.sakaiproject.component.app.podcasts.PodcastServiceImpl = 7

      Warns by Class

      com.sun.faces.renderkit.html_basic.HtmlBasicRenderer = 5419
      org.apache.myfaces.application.jsp.JspViewHandlerImpl = 3
      org.apache.pluto.core.PortletContextManager = 1
      org.hibernate.util.JDBCExceptionReporter = 46
      org.sakaiproject.authz.impl.SakaiSecurity = 1
      org.sakaiproject.citation.impl.BaseConfigurationService = 2594
      org.sakaiproject.component.app.podcasts.PodcastServiceImpl = 10
      org.sakaiproject.content.impl.BaseContentService = 20
      org.sakaiproject.db.impl.BasicSqlService = 1
      org.sakaiproject.email.impl.BasicEmailService = 5
      org.sakaiproject.emailtemplateservice.service.impl.EmailTemplateServiceImpl = 4
      org.sakaiproject.portal.util.ErrorReporter = 31
      org.sakaiproject.search.optimize.shared.impl.JournalOptimizationOperation = 956
      org.sakaiproject.search.optimize.shared.impl.OptimizeSharedTransactionListenerImpl = 1
      org.sakaiproject.search.util.FileUtils = 3
      org.sakaiproject.site.tool.SiteAction = 2
      org.sakaiproject.util.FormattedText = 7
      org.sakaiproject.util.ResourceLoader = 42
      org.springframework.beans.factory.config.PropertiesFactoryBean = 1

        Issue Links

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              Unassigned
              Reporter:
              Alan Berg
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: