1 2 3 4 5 6 | log4j { appender.stdout = "org.apache.log4j.ConsoleAppender" appender.'stdout.layout'="org.apache.log4j.PatternLayout" appender.'stdout.layout.ConversionPattern'='[%r] %c{2} %m%n' // and so on... } |
1 2 3 4 5 6 7 8 9 10 | <bean id="exporter" class="org.springframework.jmx.export.MBeanExporter"> <property name="server" ref="mbeanServer"/> <property name="beans"> <map> <entry key="log4j:hierarchy=default"> <bean class="org.apache.log4j.jmx.HierarchyDynamicMBean"/> </entry> </map> </property> </bean> |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | [11277653] metaclass.RedirectDynamicMethod Dynamic method [redirect] looking up URL mapping for controller [airportMapping] and action
params [["action":"index", "controller":"airportMapping"]] with [URL Mappings ------------ org.codehaus.groovy.grails.web.mapping.ResponseCodeUrlMapping@1bab0b /rest/airport/(*)? /(*)/(*)?/(*)? ] [11277653] metaclass.RedirectDynamicMethod Dynamic method [redirect] mapped to URL [/trip/airportMapping/list] [11277653] metaclass.RedirectDynamicMethod Dynamic method [redirect] forwarding request to [/trip/airportMapping/list] [11277653] metaclass.RedirectDynamicMethod Executing redirect with response [com.opensymphony.module.sitemesh.filter.PageResponseWrapper@19243f] |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | [DEBUG] 09:04:47 (RedirectDynamicMethod.java:invoke:127) Dynamic method [redirect] looking up URL mapping for controller [airportMapping] and action
[["action":"index", "controller":"airportMapping"]] with [URL Mappings ------------ org.codehaus.groovy.grails.web.mapping.ResponseCodeUrlMapping@e73cb7 /rest/airport/(*)? /(*)/(*)?/(*)? ] [DEBUG] 09:04:47 (RedirectDynamicMethod.java:invoke:144) Dynamic method [redirect] mapped to URL [/trip/airportMapping/list] [DEBUG] 09:04:47 (RedirectDynamicMethod.java:redirectResponse:162) Dynamic method [redirect] forwarding request to [/trip/airportMapping/list] [DEBUG] 09:04:47 (RedirectDynamicMethod.java:redirectResponse:168) Executing redirect with response [com.opensymphony.module.sitemesh.filter.PageResponseWrapper@47b2e7] |
欢迎光临 电子技术论坛_中国专业的电子工程师学习交流社区-中电网技术论坛 (http://bbs.eccn.com/) | Powered by Discuz! 7.0.0 |