Xtremax - Web Design

18 Mar, 2009

Logging in Joomla

Posted by: Mr Otter In: Joomla

Well, I never had to build such a big system in Joomla so I have never bothered about infrastructure plumbing codes like logging.

Logging is one of the most important aspects of application development.  It allows the developers to track errors that have occurred without needing to reproduce them.  Theoretically, we should be able to figure out what went wrong, simply by looking at a well logged system!

Apparently, joomla does have certain log management system at:

http://www.theartofjoomla.com/reference/12-the-joomla-framework/30-logging-to-files.html

Only problem is… it kind of lacks the control of log4j.  There are a few common problems which have not been addressed:

  • Different levels of logging to allow developers to easily turn on/off logging for performance reasons.
  • File rotation – this is very important.  have seen my catalina.out grow to over 30 GB just because it is not rotated!
Bookmark and Share

Xtremax Web Design Portfolio

    Opera Estate Primary SchoolNational Association of Travel Agents SingaporeFUMIYAMA CORPORATIONEngineering Education PortalBOON HI-TECH SUPERSTORESingapore Tourism Board

About Xtremax

This is all about a group of hard-core web developers who go about rambling about their daily efforts to make the internet world a better and more accessible place.