JLog Improvements
Posted: Tue Mar 25, 2008 1:50 pm
1. Introduction
With Joomla! 1.5, there is now the ability to do centralised logging that wasn't present without third party support in the earlier 1.0 series. However the 1.5 support only includes a single logging method to a text file.
2. Scope
Whilst logging to a text file is easy, it is not the most friendly format because it can be hard to parse this file within an extension (memory and time issues for large files), in some cases it is preferable to log to an external source or even to the database. The reason why one would want to log to the database is to provide the ability for easy searching within the system without having to handle large amounts of data.
3. Implementation
Include the development of a facility for JLog to natively handle more than one logging format than what is available. Ideally a database logging mechanism should be provided for easy use.
4. Impacts
This should be done in a way that is transparent to users of JLog. An additional option will appear to handle different logging engines.
With Joomla! 1.5, there is now the ability to do centralised logging that wasn't present without third party support in the earlier 1.0 series. However the 1.5 support only includes a single logging method to a text file.
2. Scope
Whilst logging to a text file is easy, it is not the most friendly format because it can be hard to parse this file within an extension (memory and time issues for large files), in some cases it is preferable to log to an external source or even to the database. The reason why one would want to log to the database is to provide the ability for easy searching within the system without having to handle large amounts of data.
3. Implementation
Include the development of a facility for JLog to natively handle more than one logging format than what is available. Ideally a database logging mechanism should be provided for easy use.
4. Impacts
This should be done in a way that is transparent to users of JLog. An additional option will appear to handle different logging engines.