On Mon, May 10, 2010 at 04:42:37PM -0400, Steve wrote:
> Where $newsub is an object, the following fails to work as I expected it to:
> 
> $logger->info("Created sub->", $newsub->ptn);
>
> Since my log is a text file, this yields the following line in the file:
> 2010/05/10 16:38:59 INFO> cmsIMsubs-S.pl:176 main::getSubs - Created
> sub->CMS::Schema::Result::Subscription=HASH(0x96b9164)->ptn

Where does that "->ptn" in the message text come from?

If that is the actual line of code that's being executed then it seems
that the ptn() method is returning that string with the "->ptn" text.

Tim.

------------------------------------------------------------------------------

_______________________________________________
log4perl-devel mailing list
log4perl-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/log4perl-devel

Reply via email to