I do not think its possible as flash movie runs in local environment.. I am
not sure.
Does any one has more information on this. I think its one of the basic need
for supporting web-based application.




On Wed, Apr 15, 2009 at 12:43 PM, Veena <veenachezhia...@gmail.com> wrote:

>
> Hi All -
>
> Is there any way where we can enable logging in Flex /Actionscript 3.
> I tried using the below
>
> public function CHRController() {
> this.initializeLoggerTarget();
> myLogger = LogUtils.getLogger(this);
> }
>
>
> private function initializeLoggerTarget():void
> {
>
>                //var traceTarget:ILoggingTarget = new ILoggi
>                var traceTarget:TraceTarget = new TraceTarget();
>                traceTarget.level = 0;
>                traceTarget.includeDate = true
>                traceTarget.includeTime = true;
>                traceTarget.includeCategory = true;
>                traceTarget.includeLevel = true;
>                traceTarget.filters =
> ["com.anfcorp.*","mx.rpc.*","mx.messaging.*"];
>                Log.addTarget(traceTarget);
> }
>
>
> This requires the Flex application to run under debug mode. I was able
> to get the above working. But I was looking for a way where I can log
> the to a file and have a daily logger enabled as in Log4j. Is this
> feasible???
>
>
> Thanks!
> Veena n
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to flex_india@googlegroups.com
To unsubscribe from this group, send email to 
flex_india+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to