logging-log4php-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mohyt <srivastavamohi...@gmail.com>
Subject File Name in log
Date Fri, 10 Jun 2011 10:57:15 GMT

Hi all,

I write a wrapper over log4php api named as loggerimplementation.php

Now i faced a problem in log files. When i called a function for logging
defined in loggerimplementation.

Log file generated as:

2011-06-10 10:49:17 [INFO] Log4phpTest: Hello (at
C:\xampp\htdocs\logger\Loggerimplementation.php line 74)
2011-06-10 10:50:08 [INFO] Log4phpTest: Hello (at
C:\xampp\htdocs\logger\Loggerimplementation.php line 74)
2011-06-10 11:04:01 [INFO] Log4phpTest: Hello (at
C:\xampp\htdocs\logger\Loggerimplementation.php line 78)

Now , as you can see %F will always show wrapper file name coz it always
called from there. But I want real file name which one used this wrapper.

So please suggest me the way for this.

Or
tell me from where %F details i can get?

Waiting for reply.

-- 
View this message in context: http://old.nabble.com/File-Name-in-log-tp31816978p31816978.html
Sent from the Log4php - Dev mailing list archive at Nabble.com.


Mime
View raw message