이것은 오류 로그의 스냅 샷입니다.
06:16:29,933 ERROR EmailRMManager$:45 - Exception In get Message
com.rabbitmq.client.AlreadyClosedException: clean connection shutdown; reason: Attempt to use closed channel
at com.rabbitmq.client.impl.AMQChannel.ensureIsOpen(AMQChannel.java:195)
at com.rabbitmq.client.impl.AMQChannel.rpc(AMQChannel.java:222)
at com.rabbitmq.client.impl.AMQChannel.rpc(AMQChannel.java:208)
at com.rabbitmq.client.impl.AMQChannel.exnWrappingRpc(AMQChannel.java:139)
at com.rabbitmq.client.impl.ChannelN.basicGet(ChannelN.java:645)
다음 명령을 수행합니다.
cat foo.log | grep ERROR
다음과 같이 OP를 얻으려면 :
06:16:29,933 ERROR EmailRMManager$:45 - Exception In get Message
출력을 얻으려면 어떤 명령을 실행해야합니까?
06:16:29,933 ERROR EmailRMManager$:45 - Exception In get Message
com.rabbitmq.client.AlreadyClosedException: clean connection shutdown; reason: Attempt to use closed channel
즉, 패턴 다음에 줄을 잡는가?
com.rabbitmq.client
다음 줄에 텍스트가 begginning에서 시작하거나 그것의 앞에 약간의 공백이?