문제

2013-11-22 08:58:43,724 [pool-2-thread-2] ERROR org.apache.catalina.loader.WebappClassLoader- The web application [/probe] appears to have started a thread named [scheduler_Worker-4] but has failed to stop it. This is very likely to create a memory leak.

2013-11-22 08:58:43,495 [pool-2-thread-2] ERROR org.apache.catalina.loader.WebappClassLoader- The web application [/ults] created a ThreadLocal with key of type [com.opensymphony.xwork2.inject.ContainerImpl$10] (value [com.opensymphony.xwork2.inject.ContainerImpl$10@188bf463]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@18be8037]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.

I want to extract the pattern string "[xxxxxxxxxxxxx] ERROR " , but don't know what is the rex?

도움이 되었습니까?

해결책

This is the regex you need:

\[[^\]]*] ERROR
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top