0 Replies Latest reply on Apr 22, 2008 2:19 AM by java_guitar

    Flex logging

    java_guitar
      Hello,
      I followed the instructions in Flex Builder Help for logging, but it still doesn't work. I'm a newbie with Flex and will greatly appreciate any help. These are the steps I took:
      1) Included a trace call in my code:

      <mx:Script>
      <![CDATA[
      import test.model.UserSession;

      private var session:UserSession = UserSession.getInstance();

      public function callHttpService():void {
      myHTTPService.send();
      trace("duh");
      }

      ]]>
      </mx:Script>
      ... more code ...


      2) Created the mm.cfg file under C:\Users\Miguel\ (i'm using Windows Vista) with the following contents:

      ErrorReportingEnable=1
      MaxWarnings=100
      TraceOutputFileEnable=1
      TraceOutputFileName=C:\Users\username\AppData\Roaming\Macromedia\Flash Player\Logs

      I know the file path is now hard-coded (since Flash 9 update), but I still included it so I can remember where to look. When I run my app from Flex Builder, it's deployed successfully in my local Tomcat6 (i'm using BlazeDS for data services). But no logging file is created at the expected place :(

      Miguel