Converted log4php.xml to PHP format so that cwd can be determined programmatically.