Its called when symfony writes to a log, basically im trying to write
the user who is writing to the log since so many users are hitting the
log i wanted a way to split up the logging
Its a custom logging class



On Oct 9, 5:19 pm, "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> wrote:
> When, and in which context is this class called?
> It seems, that whenever your class is called, the "User" object is not
> created yet.
> So when do you call it in your request?
>
> Michael
>
> On 9 Okt., 20:55, jasonb <[EMAIL PROTECTED]> wrote:
>
> > this must be a difficult thing to do since I've asked on the forum and
> > the IRC channels and no one knows?
> > can someone at least direct me to where I might find my answer?
>
> > On Oct 9, 2:42 pm, jasonb <[EMAIL PROTECTED]> wrote:
>
> > > Im trying to use session variables in my /lib/mylogger.php class
>
> > > everytime i reference
> > > $username =  sfContext::getInstance()->getUser()-
>
> > > >getAttribute('Username');
>
> > > the code says
> > > Fatal error: Call to a member function getAttribute() on a non-object
>
> > > but I've been struggling and I even tried doing a
> > > print_r(sfContext::getInstance()) and i see the attribute in the page
> > > but it wont allow me to access it ?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to