日志示例如下
[INFO] [2018-03-21 09:46:58] com.caxs.mdd.base.role.web.RoleController.checkRoleResult(56) | 经销商角色查询!
org.apache.shiro.authc.AuthenticationException: 密码错误,请确认登录类别及字母大小写
at com.caxs.mdd.base.shiro.ShiroDbRealm.doGetAuthenticationInfo(ShiroDbRealm.java:160)
at org.apache.shiro.realm.AuthenticatingRealm.getAuthenticationInfo(AuthenticatingRealm.java:568)
at org.apache.shiro.authc.pam.ModularRealmAuthenticator.doSingleRealmAuthentication(ModularRealmAuthenticator.java:180)
at org.apache.shiro.authc.pam.ModularRealmAuthenticator.doAuthenticate(ModularRealmAuthenticator.java:267)
at org.apache.shiro.authc.AbstractAuthenticator.authenticate(AbstractAuthenticator.java:198)
at org.apache.shiro.mgt.AuthenticatingSecurityManager.authenticate(AuthenticatingSecurityManager.java:106)
at org.apache.shiro.mgt.DefaultSecurityManager.login(DefaultSecurityManager.java:270)
at org.apache.shiro.subject.support.DelegatingSubject.login(DelegatingSubject.java:256)
at com.caxs.mdd.base.login.web.LoginController.login(LoginController.java:108)
at sun.reflect.GeneratedMethodAccessor597.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
1 个回复
muou
赞同来自:
path =>"D:/_logs/OA/sc1/SystemOut*.log"
type => "system_out_log"
start_position=>"beginning"
codec => multiline {
pattern => "^\["
negate => true
what => "previous"
charset=>"GB2312"
}
}
用multiline