去除正常逻辑日志打印
kevin70 opened this issue · comments
2019-03-04 14:39:13,493 ERROR io.zhudy.duic.web.config.WebConfig - {}
java.lang.RuntimeException: io.zhudy.duic.BizCodeExceptionio.zhudy.duic.BizCodeException: {"code": 1000, "message": "未找到应用"}, message: 未找到应用 meme/lian_mai
at io.zhudy.duic.web.config.WebConfig$1.accept(WebConfig.kt:63)
at io.zhudy.duic.web.config.WebConfig$1.accept(WebConfig.kt:51)
at reactor.core.publisher.Operators.onErrorDropped(Operators.java:514)
at reactor.core.publisher.FluxFlatMap$FlatMapMain.innerError(FluxFlatMap.java:814)
at reactor.core.publisher.FluxFlatMap$FlatMapInner.onError(FluxFlatMap.java:950)
at reactor.core.publisher.FluxOnAssembly$OnAssemblySubscriber.onError(FluxOnAssembly.java:358)
at reactor.core.publisher.FluxPeekFuseable$PeekFuseableSubscriber.onError(FluxPeekFuseable.java:228)
at reactor.core.publisher.FluxOnAssembly$OnAssemblySubscriber.onError(FluxOnAssembly.java:358)
at reactor.core.publisher.Operators$MultiSubscriptionSubscriber.onError(Operators.java:1747)
at reactor.core.publisher.FluxOnAssembly$OnAssemblySubscriber.onError(FluxOnAssembly.java:358)
at reactor.core.publisher.Operators$MultiSubscriptionSubscriber.onError(Operators.java:1747)
at reactor.core.publisher.FluxOnAssembly$OnAssemblySubscriber.onError(FluxOnAssembly.java:358)
at reactor.core.publisher.FluxMapFuseable$MapFuseableSubscriber.onError(FluxMapFuseable.java:134)
at reactor.core.publisher.FluxOnAssembly$OnAssemblySubscriber.onError(FluxOnAssembly.java:358)
at reactor.core.publisher.Operators$MultiSubscriptionSubscriber.onError(Operators.java:1747)
at reactor.core.publisher.FluxOnAssembly$OnAssemblySubscriber.onError(FluxOnAssembly.java:358)
at reactor.core.publisher.Operators.error(Operators.java:181)
at reactor.core.publisher.MonoDefer.subscribe(MonoDefer.java:48)
at reactor.core.publisher.MonoOnAssembly.subscribe(MonoOnAssembly.java:61)
at reactor.core.publisher.Mono.subscribe(Mono.java:3694)
at reactor.core.publisher.FluxSwitchIfEmpty$SwitchIfEmptySubscriber.onComplete(FluxSwitchIfEmpty.java:75)
at reactor.core.publisher.FluxOnAssembly$OnAssemblySubscriber.onComplete(FluxOnAssembly.java:363)
at reactor.core.publisher.FluxMapFuseable$MapFuseableSubscriber.onComplete(FluxMapFuseable.java:144)
at reactor.core.publisher.FluxOnAssembly$OnAssemblySubscriber.onComplete(FluxOnAssembly.java:363)
at reactor.core.publisher.MonoNext$NextSubscriber.onComplete(MonoNext.java:96)
at com.mongodb.reactivestreams.client.internal.ObservableToPublisher$1.onComplete(ObservableToPublisher.java:78)
at com.mongodb.async.client.AbstractSubscription.onComplete(AbstractSubscription.java:145)
at com.mongodb.async.client.AbstractSubscription.processResultsQueue(AbstractSubscription.java:211)
at com.mongodb.async.client.AbstractSubscription.tryProcessResultsQueue(AbstractSubscription.java:159)
at com.mongodb.async.client.SingleResultCallbackSubscription$1.onResult(SingleResultCallbackSubscription.java:48)
at com.mongodb.async.client.FindIterableImpl$1$1.onResult(FindIterableImpl.java:212)
at com.mongodb.async.client.FindIterableImpl$1$1.onResult(FindIterableImpl.java:205)
at com.mongodb.operation.AsyncQueryBatchCursor.next(AsyncQueryBatchCursor.java:141)
at com.mongodb.operation.AsyncQueryBatchCursor.next(AsyncQueryBatchCursor.java:100)
at com.mongodb.async.client.FindIterableImpl$1.onResult(FindIterableImpl.java:205)
at com.mongodb.async.client.FindIterableImpl$1.onResult(FindIterableImpl.java:199)
at com.mongodb.internal.async.ErrorHandlingResultCallback.onResult(ErrorHandlingResultCallback.java:49)
at com.mongodb.async.client.OperationExecutorImpl$1$1.onResult(OperationExecutorImpl.java:82)
at com.mongodb.internal.async.ErrorHandlingResultCallback.onResult(ErrorHandlingResultCallback.java:49)
at com.mongodb.operation.FindOperation$3.onResult(FindOperation.java:807)
at com.mongodb.operation.OperationHelper$ReferenceCountedReleasingWrappedCallback.onResult(OperationHelper.java:364)
at com.mongodb.operation.CommandOperationHelper$2.onResult(CommandOperationHelper.java:405)
at com.mongodb.internal.async.ErrorHandlingResultCallback.onResult(ErrorHandlingResultCallback.java:49)
at com.mongodb.internal.connection.DefaultServer$DefaultServerProtocolExecutor$2.onResult(DefaultServer.java:227)
at com.mongodb.internal.async.ErrorHandlingResultCallback.onResult(ErrorHandlingResultCallback.java:49)
at com.mongodb.internal.connection.CommandProtocolImpl$1.onResult(CommandProtocolImpl.java:85)
at com.mongodb.internal.connection.DefaultConnectionPool$PooledConnection$1.onResult(DefaultConnectionPool.java:461)
at com.mongodb.internal.connection.UsageTrackingInternalConnection$2.onResult(UsageTrackingInternalConnection.java:111)
at com.mongodb.internal.async.ErrorHandlingResultCallback.onResult(ErrorHandlingResultCallback.java:49)
at com.mongodb.internal.connection.InternalStreamConnection$2$1.onResult(InternalStreamConnection.java:379)
at com.mongodb.internal.connection.InternalStreamConnection$2$1.onResult(InternalStreamConnection.java:356)
at com.mongodb.internal.connection.InternalStreamConnection$MessageHeaderCallback$MessageCallback.onResult(InternalStreamConnection.java:651)
at com.mongodb.internal.connection.InternalStreamConnection$MessageHeaderCallback$MessageCallback.onResult(InternalStreamConnection.java:618)
at com.mongodb.internal.connection.InternalStreamConnection$5.completed(InternalStreamConnection.java:494)
at com.mongodb.internal.connection.InternalStreamConnection$5.completed(InternalStreamConnection.java:491)
at com.mongodb.internal.connection.AsynchronousSocketChannelStream$BasicCompletionHandler.completed(AsynchronousSocketChannelStream.java:252)
at com.mongodb.internal.connection.AsynchronousSocketChannelStream$BasicCompletionHandler.completed(AsynchronousSocketChannelStream.java:235)
at sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:126)
at sun.nio.ch.Invoker.invokeDirect(Invoker.java:157)
at sun.nio.ch.UnixAsynchronousSocketChannelImpl.implRead(UnixAsynchronousSocketChannelImpl.java:553)
at sun.nio.ch.AsynchronousSocketChannelImpl.read(AsynchronousSocketChannelImpl.java:276)
at sun.nio.ch.AsynchronousSocketChannelImpl.read(AsynchronousSocketChannelImpl.java:297)
at com.mongodb.internal.connection.AsynchronousSocketChannelStream.readAsync(AsynchronousSocketChannelStream.java:147)
at com.mongodb.internal.connection.InternalStreamConnection.readAsync(InternalStreamConnection.java:491)
at com.mongodb.internal.connection.InternalStreamConnection.access$1000(InternalStreamConnection.java:74)
at com.mongodb.internal.connection.InternalStreamConnection$MessageHeaderCallback.onResult(InternalStreamConnection.java:608)
at com.mongodb.internal.connection.InternalStreamConnection$MessageHeaderCallback.onResult(InternalStreamConnection.java:593)
at com.mongodb.internal.connection.InternalStreamConnection$5.completed(InternalStreamConnection.java:494)
at com.mongodb.internal.connection.InternalStreamConnection$5.completed(InternalStreamConnection.java:491)
at com.mongodb.internal.connection.AsynchronousSocketChannelStream$BasicCompletionHandler.completed(AsynchronousSocketChannelStream.java:252)
at com.mongodb.internal.connection.AsynchronousSocketChannelStream$BasicCompletionHandler.completed(AsynchronousSocketChannelStream.java:235)
at sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:126)
at sun.nio.ch.Invoker.invokeDirect(Invoker.java:157)
at sun.nio.ch.UnixAsynchronousSocketChannelImpl.implRead(UnixAsynchronousSocketChannelImpl.java:553)
at sun.nio.ch.AsynchronousSocketChannelImpl.read(AsynchronousSocketChannelImpl.java:276)
at sun.nio.ch.AsynchronousSocketChannelImpl.read(AsynchronousSocketChannelImpl.java:297)
at com.mongodb.internal.connection.AsynchronousSocketChannelStream.readAsync(AsynchronousSocketChannelStream.java:147)
at com.mongodb.internal.connection.InternalStreamConnection.readAsync(InternalStreamConnection.java:491)
at com.mongodb.internal.connection.InternalStreamConnection.access$1000(InternalStreamConnection.java:74)
at com.mongodb.internal.connection.InternalStreamConnection$2.onResult(InternalStreamConnection.java:356)
at com.mongodb.internal.connection.InternalStreamConnection$2.onResult(InternalStreamConnection.java:345)
at com.mongodb.internal.async.ErrorHandlingResultCallback.onResult(ErrorHandlingResultCallback.java:49)
at com.mongodb.internal.connection.InternalStreamConnection$3.completed(InternalStreamConnection.java:448)
at com.mongodb.internal.connection.InternalStreamConnection$3.completed(InternalStreamConnection.java:445)
at com.mongodb.internal.connection.AsynchronousSocketChannelStream$1.completed(AsynchronousSocketChannelStream.java:133)
at com.mongodb.internal.connection.AsynchronousSocketChannelStream$1.completed(AsynchronousSocketChannelStream.java:127)
at com.mongodb.internal.connection.AsynchronousSocketChannelStream$2.completed(AsynchronousSocketChannelStream.java:198)
at com.mongodb.internal.connection.AsynchronousSocketChannelStream$2.completed(AsynchronousSocketChannelStream.java:192)
at com.mongodb.internal.connection.AsynchronousSocketChannelStream$AsyncWritableByteChannelAdapter$WriteCompletionHandler.completed(AsynchronousSocketChannelStream.java:224)
at com.mongodb.internal.connection.AsynchronousSocketChannelStream$AsyncWritableByteChannelAdapter$WriteCompletionHandler.completed(AsynchronousSocketChannelStream.java:215)
at sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:126)
at sun.nio.ch.Invoker$2.run(Invoker.java:218)
at sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: io.zhudy.duic.BizCodeException: {"code": 1000, "message": "未找到应用"}, message: 未找到应用 meme/lian_mai
Suppressed: reactor.core.publisher.FluxOnAssembly$OnAssemblyException:
Assembly trace from producer [reactor.core.publisher.MonoDefer] :
reactor.core.publisher.Mono.defer(Mono.java:198)
io.zhudy.duic.service.AppService.findOne(AppService.kt:417)
Error has been observed by the following operator(s):
|_ Mono.defer ⇢ io.zhudy.duic.service.AppService.findOne(AppService.kt:417)
|_ Mono.switchIfEmpty ⇢ io.zhudy.duic.service.AppService.findOne(AppService.kt:417)
|_ Mono.map ⇢ io.zhudy.duic.service.AppService.loadOne(AppService.kt:525)
|_ Mono.switchIfEmpty ⇢ io.zhudy.duic.service.AppService.loadOne(AppService.kt:529)