DWR是否启用了grails登录?

| 我正在使用DWR3,但是我不知道如何使日志工作。无论我做什么,在尝试调试编组问题时似乎都看不到任何DWR3输出。如何启用日志记录? web.xml
<servlet>
    <servlet-name>dwr</servlet-name>
    <servlet-class>org.directwebremoting.spring.DwrSpringServlet</servlet-class>
    <init-param>
        <param-name>jsonpEnabled</param-name>
        <param-value>true</param-value>
    </init-param>
    <init-param>
        <param-name>debug</param-name>
        <param-value>true</param-value>
    </init-param>
    <init-param>
        <param-name>accessLogLevel</param-name>
        <param-value>CALL</param-value>
    </init-param>
</servlet>
配置槽
debug \'org.directwebremoting.log.*\'
info \'com.example.b\'
debug \'com.example.a\'

// Example of changing the log pattern for the default console
// appender:
//
appenders {
    console name: \'stdout\', layout: pattern(conversionPattern: \'%-5p: %c - %m%n\')
}
这里发生了什么?     
已邀请:
没有确切的答案,但是使用此配置,您可以在前端更好地记录信息:
<dwr:configuration>
    ...
    <dwr:convert class=\"java.lang.Exception\" type=\"exception\"/>
    <dwr:convert class=\"java.lang.StackTraceElement\" type=\"bean\"/>
</dwr:configuration>
    

要回复问题请先登录注册