1. Stefan Saasen
  2. stash-log-parser

Commits

Stefan Saasen  committed d43f97b

Set LOG_FILE as default, use the first command line argument otherwise

  • Participants
  • Parent commits ce981d9
  • Branches master

Comments (0)

Files changed (1)

File regenerate-graphs.sh

View file
 
 rm -f *.png
 
-# Ensure that 'logparser' is in the PATH (e.g. run rebuild.sh or 'cabal copy')
-
-# Stash prod
-LOG_FILE="../access-logs/aggregated-log-file"
 
-# Rakuten
-#LOG_FILE="../customer-access-logs/rakuten/aggregated-log-file"
+# Ensure that 'logparser' is in the PATH (e.g. run rebuild.sh or 'cabal copy')
 
+LOG_FILE=${1:-"../access-logs/aggregated-log-file"}
 
 time logparser plotGitOperations ${LOG_FILE} +RTS -sstderr > plot-git-ops
 gnuplot < gnuplot/generate-git-ops-plot.plot