Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Copy and paste the code above to a file named "prunelog9.sh"
  • Make the file executable: "chmod +x prunelog9.sh"
  • Download or copy the logfile you want to analyze, e.g. "catalina.out"
  • Usage examples:

author:~> ./prunelog.sh -g catalina.out
     41 nl.gx.webmanager.cms.core.implementation.PresentableImpl render
SEVERE: presentation is null for baseobject with id xxxxxx
     37 nl.gx.siteworks.core.SiteWorksSession getObject
WARNING: Unable to find node with id xxxxxx
...

author:~> ./prunelog.sh catalina.out
     14 nl.gx.webmanager.cms.core.implementation.PresentableImpl render
SEVERE: presentation is null for baseobject with id 475486
     10 nl.gx.webmanager.services.sessionmanager.impl.WebManagerAPI getWrapper
SEVERE: Unable to create wrapper for id '32314' of class 'interface nl.gx.webmanager.cms.mediarepository.MediaItemVersion'.
...