I'm facing a problem in using php utility (log4php) for logging. Actually I have downloaded it and have executed test_body.php under tests directory, but I don't know if any log file has generated and if yes where ?? The above page executes with no problem, but there is no output on the screen so it's really confusing to know if there is any problem or not.
The main thing I want to know is where all those logger messages (in test_body.php) being logged ?? How to configure the folder to be used for generating log files ?
In test_body.php, my include paths are like these:
Code: Select all
$_SERVER["DOCUMENT_ROOT"] = $_SERVER["DOCUMENT_ROOT"] . "/dev/travelsearch_dev";
define('LOG4PHP_DIR', $_SERVER['DOCUMENT_ROOT'] . "/logging/src/log4php");
require_once (LOG4PHP_DIR. "/LoggerManager.php");