Dear Jeff,
    i have modifed the service-config.xml as below

    <logging>
        <target class="flex.messaging.log.ConsoleTarget" level="Debug">
            <properties>
                <prefix>[Flex] </prefix>
                <includeDate>false</includeDate>
                <includeTime>false</includeTime>
                <includeLevel>false</includeLevel>
                <includeCategory>true</includeCategory>
            </properties>
            <filters>
                <pattern>Endpoint.*</pattern>
                <pattern>Service.*</pattern>
                <pattern>Configuration</pattern>
                <pattern>Message.*</pattern>
            </filters>
        </target>
    </logging>

    My application will call several httpservice on the starting of
loading. However what i get in the flex.log is only

09/11 10:43:53 DEBUG configuration service started.
09/11 10:43:53 DEBUG logger services started.
09/11 10:44:00 DEBUG Loading configuration file
/usr/local/tomcat/jakarta-tomcat-5.0.28/webapps/flex/WEB-INF/flex/flex-webtier-config.xml
09/11 10:44:00 DEBUG Loading configuration file
/usr/local/tomcat/jakarta-tomcat-5.0.28/webapps/flex/WEB-INF/flex/flex-config.xml
09/11 10:44:01 DEBUG Initial setup: 350ms
09/11 10:44:01 DEBUG Loaded 10 SWCs: 740ms
09/11 10:44:10 DEBUG Files: 514 Time: 8293ms
09/11 10:44:10 DEBUG Linking... 99ms
09/11 10:44:11 DEBUG Optimizing... 767ms
09/11 10:44:11 DEBUG Total time: 10260ms
09/11 10:44:11 DEBUG SWF Encoding... 326ms

even i have reload the tomcat . >_<  Have i do something wrong ?
thx
capho


--- In [email protected], "Jeff Vroom" <[EMAIL PROTECTED]> wrote:
>
> On the client, this shows up if you just turn on the client side logging
> facility.  You can do this by adding the MXML tag:
> 
>  
> 
> <mx:TraceTarget/>
> 
>  
> 
> It then goes into the flashlog.txt which lives in %HOMEDRIVE%\%HOMEPATH%
> by default.  A couple of other notes on flashlog.txt - it only shows up
> with the debug player and its location can be overridden if you have an
> "mm.cfg" in that folder which specifies a TraceOutputFileName property. 
> 
>  
> 
> If you are talking about server side logging using the FDS server, you
> go into WEB-INF/flex/services-config.xml, find the line which says
> "level=" and change that attributes value to "Debug".  Then make sure
> you have "Message.*" enabled as one of the patterns below.  This logs a
> debug message in the app server's log file before and after each message
> processed by the server for each client.
> 
>  
> 
> Jeff
> 
>  
> 
> ________________________________
> 
> From: [email protected] [mailto:[EMAIL PROTECTED] On
> Behalf Of sinacapho
> Sent: Thursday, September 07, 2006 12:55 AM
> To: [email protected]
> Subject: [flexcoders] flex 2.0 logging
> 
>  
> 
> Dear all, 
> Can someone tell we that how i can get logging of the Httpservice
> result . I remember that i can find it in flex.log in Flex 1.5 after
> the config the xml file. But i don"t know that i can do it in Flex 2.0
> 
> thx
> capho
>







--
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/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/flexcoders/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> 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