Provided that you called your logging property "logging" and 
"nameOfYourLogger" is the name you assigned to the logger when setting 
it up in the logging property

getProperty("logging").getLoggerByName("nameOfYourLogger").getLogData()

You can have your ajax proxy call an URL (to a Mach-II event-handler so 
you can use your already built security) and have it return the data in 
a format you can use.

.Peter

P.s.  Take a peek at how we do a similar thing with the exception logger 
in the Mach-II Dashboard. We use the application scope so we can access 
the data without digging through a bunch of method calls -- but then 
again I was being lazy at the time.

Brian Pickens said the following on 4/24/2009 11:00 AM:
> Is there a way to get at a current instance of a logger using
> <cfajaxproxy> ?
> What I would like to do is to retrieve the data it saves internally
> with a bind parameter call to a getLogData() function that I created.
> Currently the logger saves log data into its variables scope whenever
> its onRequestEnd() function runs. The getLogData() function returns
> that data. Im thinking <cfgrid> could be an easy solution to
> displaying the data.
>
>
> > ------------------------------------------------------------------------
>
>
> No virus found in this incoming message.
> Checked by AVG - www.avg.com 
> Version: 8.0.238 / Virus Database: 270.12.4/2078 - Release Date: 04/24/09 
> 07:54:00
>
>   


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to Mach-II for CFML list.
To post to this group, send email to mach-ii-for-coldfusion@googlegroups.com
To unsubscribe from this group, send email to 
mach-ii-for-coldfusion-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/mach-ii-for-coldfusion?hl=en
SVN: http://greatbiztoolsllc.svn.cvsdude.com/mach-ii/
Wiki / Documentation / Tickets: 
http://greatbiztoolsllc.trac.cvsdude.com/mach-ii/
-~----------~----~----~----~------~----~------~--~---

Reply via email to