hi!

I have a question regarding the LoggerLayoutPattern..

In my xml file i have the:

layout
  class - LoggerLayoutPattern
  param
     name - conversionPattern
     value - %d{Y-m-d H:m:s.u}|%p|%m| FILE: %F LINE: %L%n
  

however i think the Hour part of the timestamp is not consistent..
this is the ouput in the logfile:

2011-01-06 13:48:46.104 |DEBUG|Hello!|FILE:/var/www/html/log/logtry.php
LINE: 11
2011-01-06 13:48:52.325 |DEBUG|Hello!|FILE:/var/www/html/log/logtry.php
LINE: 11
2011-01-06 13:48:57.963 |DEBUG|Hello!|FILE:/var/www/html/log/logtry.php
LINE: 11
2011-01-06 13:48:58.031 |DEBUG|Hello!|FILE:/var/www/html/log/logtry.php
LINE: 11
*2011-01-06 05:49:03.970 |DEBUG|Hello!|FILE:/var/www/html/log/logtry.php
LINE: 11
2011-01-06 13:51:46.948 |DEBUG|Hello!|FILE:/var/www/html/log/logtry.php
LINE: 11
2011-01-06 13:51:52.560 |DEBUG|Hello!|FILE:/var/www/html/log/logtry.php
LINE: 11
*2011-01-06 05:51:57.506 |DEBUG|Hello!|FILE:/var/www/html/log/logtry.php
LINE: 11
2011-01-06 13:51:57.645 |DEBUG|Hello!|FILE:/var/www/html/log/logtry.php
LINE: 11

please see the one with asterisk, it gives out a different timestamp.. 

did i miss out on something?

thanks a lot..

-- 
View this message in context: 
http://old.nabble.com/conversion-pattern-problem-tp30602890p30602890.html
Sent from the Log4php - Users mailing list archive at Nabble.com.

Reply via email to