Skip to content
This repository has been archived by the owner on Dec 19, 2024. It is now read-only.

Only store last 1000 lines in local logs #10

Merged
merged 1 commit into from
Nov 29, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions scripts/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ fi
--compactFile ${DETECTOR_PATH}/${DETECTOR_CONFIG}.xml \
--outputFile ${FULL_TEMP}/${TASKNAME}.edm4hep.root
ls -al ${FULL_TEMP}/${TASKNAME}.edm4hep.root
} 2>&1 | grep -v SECRET_KEY | tee ${LOG_TEMP}/${TASKNAME}.npsim.log
} 2>&1 | grep -v SECRET_KEY | tee ${LOG_TEMP}/${TASKNAME}.npsim.log | tail -n1000

# Data egress to directory
if [ "${COPYFULL:-false}" == "true" ] ; then
Expand All @@ -180,7 +180,7 @@ fi
"${FULL_TEMP}/${TASKNAME}.edm4hep.root"
if [ -f jana.dot ] ; then mv jana.dot ${LOG_TEMP}/${TASKNAME}.eicrecon.dot ; fi
ls -al ${RECO_TEMP}/${TASKNAME}*.eicrecon.tree.edm4eic.root
} 2>&1 | grep -v SECRET_KEY | tee ${LOG_TEMP}/${TASKNAME}.eicrecon.log
} 2>&1 | grep -v SECRET_KEY | tee ${LOG_TEMP}/${TASKNAME}.eicrecon.log | tail -n1000

# List log files
ls -al ${LOG_TEMP}/${TASKNAME}.*
Expand Down