0 Replies Latest reply on Feb 2, 2010 6:39 AM by ecchuckles

    how to use server side logging?

    ecchuckles Level 1

      good day,

           I'm trying to use the lcds logging within a java remote object and I can't seem to get it to print out here is what I've got so far

      in the java class:

       

      mport flex.messaging.log.*;
      import flex.messaging.util.*;

       

      <snip>

      public static final String LOG_CATEGORY = LogCategories.SERVICE_REMOTING;

       

      <snip>

       

      if (Log.isDebug()) {
                  Log.getLogger(LOG_CATEGORY).debug("UpdateXML propFIle ="+ propFile);
              }

       

      and ithe services-config.xml:

       

      <logging>
              <target class="flex.messaging.log.ConsoleTarget" level="All">
                  <properties>
                      <prefix>[LCDS] </prefix>
                      <includeDate>false</includeDate>
                      <includeTime>true</includeTime>
                      <includeLevel>false</includeLevel>
                      <includeCategory>false</includeCategory>
                  </properties>
                  <filters>
                      <pattern>Client.*</pattern>
                      <pattern>Configuration</pattern>
                      <pattern>Endpoint.*</pattern>
                      <pattern>Executor</pattern>
                      <pattern>Message.*</pattern>
                      <pattern>Model.*</pattern>
                      <pattern>Protocol.*</pattern>
                      <pattern>Resource</pattern>
                      <pattern>Service.*</pattern>
                      <pattern>Service.Remoting</pattern>
                      <pattern>SocketServer.*</pattern>
                      <pattern>Startup.*</pattern>
                      <pattern>Timeout</pattern>
                  </filters>
              </target>
          </logging>

       

      I've been following the hibernateAssembler examples that came with lcds, what do I doing wrong.