| Active Users: |
37 |
| Accounts: |
0 |
| Guests: |
37 |
|
|
|
|
|
|
|
Extending the Zend_Log layout
As the current Zend_Log component doesn't provide very meaningful log content per default I wanted to extend the information logged and also the logfile layout. In the article of Stefan Koopmanschap this issue is solved by using the setMessagePrefix method of the Zend_Log class, which pushs the additional log information and layout unlovely to the Bootstrap file.
Another way to improve the content and layout being logged is writing a custom Zend_Log_Adapter by extending for instance Zend_Log_Adapter_File and overwriting its _parseLogLine metod and redefining its _options array.
| Zend Framework Version: |
0.8.0
|
| Author Name: |
Raphael Stolt
|
| Source: |
<raphael.on.php/>
|
| Referred By: |
Zend Framework Tutorials
|
|
|
Rating: 10.00/10 (1 vote cast)
|
|
|
|
|
|
|
|
|