linux截取某个时间段错误日志

RHsama / 2023-05-18 / 原文

sed -n ‘/2022-10-24 22:16:21/,/2022-10-21 20:16:58/p’ logback.log | grep POST