test: use notice log level to make easily filter out logs from PID1
This commit is contained in:
@@ -199,7 +199,7 @@ function run_service_and_fetch_logs() {
|
||||
journalctl --sync
|
||||
END=$(date '+%Y-%m-%d %T.%6N')
|
||||
|
||||
journalctl -q -u "$UNIT" -S "$START" -U "$END" | grep -Pv "systemd\[[0-9]+\]"
|
||||
journalctl -q -u "$UNIT" -S "$START" -U "$END" -p notice
|
||||
systemctl stop "$UNIT"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user