Skip to content

Commit

Permalink
Fixed saved gclog file name
Browse files Browse the repository at this point in the history
  • Loading branch information
pes-soft committed Oct 1, 2018
1 parent 1daed2d commit 678e102
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion java-diag.sh
Original file line number Diff line number Diff line change
Expand Up @@ -514,7 +514,7 @@ for process_pid in "${process_pids[@]}"; do
log "DEBUG" "GClog path found as '$gclog'"
if [ -f "$gclog" ]; then
log "INFO" "Getting GC log for PID '$process_pid'"
cat "$gclog" > "$report_root/java_pid-${pid}_gc.log"
cat "$gclog" > "$report_root/java_pid-${process_pid}_gc.log"
fi
fi

Expand Down

0 comments on commit 678e102

Please sign in to comment.