https://github.com/vijaycs85/log4php
Mirror of log4php Drupal extension
https://github.com/vijaycs85/log4php
Last synced: about 2 months ago
JSON representation
Mirror of log4php Drupal extension
- Host: GitHub
- URL: https://github.com/vijaycs85/log4php
- Owner: vijaycs85
- Created: 2016-09-21T19:34:12.000Z (over 8 years ago)
- Default Branch: 7.x-1.x
- Last Pushed: 2016-09-25T19:15:28.000Z (over 8 years ago)
- Last Synced: 2025-01-18T02:43:59.351Z (3 months ago)
- Homepage: https://www.drupal.org/project/log4php
- Size: 14.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.txt
Awesome Lists containing this project
README
Apache log4php Integration
==========================Maintainers
-----------Erik Webb (http://drupal.org/user/273404)
Features
--------This module provides simple integration with the Apache log4php library.
WARNING
-------If you plan to view your log messages in a browser interface please use the
LoggerRendererDrupalStandardObject renderer. Messages logged by other renderers are not passed through Drupal's
check_plain() function and thus represent a security vector when viewed in a browser.Requirements
------------This module requires the log4php library. This can be installed in one of two ways -
The preferred installation method is via PEAR -
pear channel-discover pear.apache.org/log4php
pear install log4php/Apache_log4phpTo install the library using Drush Make, use the following snippet -
libraries[log4php][download][type] = "get"
libraries[log4php][download][url] = "http://www.gtlib.gatech.edu/pub/apache/logging/log4php/2.2.1/apache-log4php-2.2.1-src.tar.gz"
libraries[log4php][download][md5] = "79343108ab898821bcb8fd2fca711992"
libraries[log4php][download][subtree] = "src/main/php"
libraries[log4php][directory_name] = "log4php"Alternatively the main code files can be installed via the Libraries module. Move the src/main/php directory to sites/all/libraries/log4php.
Installation
------------After creating an XML configuration file, include it in your settings.php file -
The default log4php.xml file is a basic configuration to test functionality. This configuration only writes log entries to a file located in the temp directory (will only work on Linux/Unix/Mac for now).
Recommended modules
-------------------Libraries (1.x only, for now)