Hi Harshada,

the logging api works on the client only. To store the logging events
on the server, you need to create your own logging target, which sends
the items to the server.
Cheers,
Ralf.

On 7/8/06, harshada.gavankar <[EMAIL PROTECTED]> wrote:
> Hi all,
> I am trying to develop a logging feature in my existing feature. The
> requirement is that i need to log all the client side events on the
> server side. That is what ever is happening on the client , should
> get stored in a file on server which is physically on a different
> location. I tried Flex2 server side APIs . The piece of code that I
> tried is as follows:
> 1. Create a Logger class.
> 2. Create a TraceTarget class.
> 3.
> // Add the traceTarget as a log target.
>             Log.addTarget(traceTarget);
>             myLogger = Log.getLogger("MyCustomClass");
>
> and add this logging on event based. This does not seem like a
> server side logging. If i run this with Data service, (I have a
> service running), what is happening is , it is logging events on
> client side where i have configured logging in mm.cfg(in flashLog
> file).
> In short , this is not working as desired. Can anybody please let me
> know how to achieve this?
>
> Thanks in advance
>
>
>
>
>
>
>
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
> Yahoo! Groups Links
>
>
>
>
>
>
>
>


------------------------ Yahoo! Groups Sponsor --------------------~--> 
Something is new at Yahoo! Groups.  Check out the enhanced email design.
http://us.click.yahoo.com/SISQkA/gOaOAA/yQLSAA/nhFolB/TM
--------------------------------------------------------------------~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to