Commit f1e813c1 authored by fwinkler's avatar fwinkler

Changed global log path used by logrotate.

parent a0dc3d42
......@@ -4,7 +4,7 @@ source /sw/taurus/tools/pika/pika.conf
HOSTNAME=`echo $(hostname) | cut -d "." -f 1`
ERROR_FILE=${PIKA_LOGPATH}/$HOSTNAME
ERROR_COLLECTION_PATH=/sw/taurus/tools/pika/logs/$(date +"%d-%m-%Y")
ERROR_COLLECTION_PATH=${PIKA_GLOBAL_LOG_PATH}/$(date +"%d-%m-%Y")
touch $ERROR_FILE
......
......@@ -5,7 +5,7 @@ source /sw/taurus/tools/pika/pika-current.conf
# get utility functions
source ${PIKA_ROOT}/pika_utils.sh
ERROR_COLLECTION_PATH=/sw/taurus/tools/pika/logs/$(date +"%d-%m-%Y")
ERROR_COLLECTION_PATH=${PIKA_GLOBAL_LOG_PATH}/$(date +"%d-%m-%Y")
SUBJECT="[PIKA] found errors"
MESSAGE=/tmp/pika_email_message
......
......@@ -8,6 +8,8 @@
export PIKA_DEBUG=1
export LOCAL_STORE=/dev/shm
export PIKA_LOGPATH=/tmp
export PIKA_GLOBAL_LOG_PATH=/scratch/ws/1/fwinkler-PIKA/logs
# install path of PIKA package (on compute node), root required
export PIKA_INSTALL_PATH=/opt/pika/${PIKA_VERSION}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment