Hi,

can you show us the Logging code?

Esspecially the Logger::getLogger code is of interest.

Thanks
Christian

On Fri, Jun 10, 2011 at 12:53 PM, Mohit Srivastava
<[email protected]> wrote:
> 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.
>
> --
> Mohit
>



-- 
http://www.grobmeier.de

Reply via email to