info日志记录为错误

sauutmhj  于 2021-08-25  发布在  Java
关注(0)|答案(0)|浏览(364)

我对amazon elasticached库有问题。这个 run() 方法有以下两行: getLogger().info("Starting configuration poller."); 下面是一点: getLogger().info("Endpoint to use for configuration access in this poll " + endpointToGetConfig.toString()); 每分钟记录一次。涉及scheduledthreadpoolexecutor,因此 run() 方法每分钟调用一次。
但是,日志不是作为信息,而是作为错误输入的:

14:36:59,297 ERROR [stderr] (pool-10-thread-1) 2021-07-05 14:36:59.297 INFO net.spy.memcached.ConfigurationPoller:  Starting configuration poller.
14:36:59,297 ERROR [stderr] (pool-10-thread-1) 2021-07-05 14:36:59.297 INFO net.spy.memcached.ConfigurationPoller:  Endpoint to use for configuration access in this poll NodeEndPoint - HostName:*hostname* IpAddress:*ip address* Port:*port*

有什么建议我可以把这些记录为信息吗?提前谢谢。

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题