TIME_START=$(date +%s)
grml-live -F $* -a $ARCH -s $SUITE -c $CLASSES -o $OUTPUT_DIR \
-g "$grml_name" -v "$shortdate" -r grml-live-autobuild -i $ISO_NAME \
- >/var/log/grml-buildd.stdout \
- 2>/var/log/grml-buildd.stderr ; RC=$?
+ >/var/log/grml-buildd.stdout.log \
+ 2>/var/log/grml-buildd.stderr.log ; RC=$?
TIME_END=$(date +%s)
WALLTIME=$(($TIME_END-$TIME_START))
# create log archive:
create_logs() {
- ( cd / && tar zcfh $ATTACHMENT $FAI_LOGFILES /var/log/grml-buildd.stderr /var/log/grml-buildd.stdout $GRML_LOGFILE >/dev/null )
+ ( cd / && tar zcfh $ATTACHMENT $FAI_LOGFILES /var/log/grml-buildd.stderr.log /var/log/grml-buildd.stdout $GRML_LOGFILE >/dev/null )
}
# store logs on remote server:
EOF" | \
mutt -e "my_hdr From: grml-live autobuild daemon <$FROM>" -s "$SCRIPTNAME [${DATE}] - $RC_INFO" \
- -a /var/log/grml-buildd.stderr $MUTT_ATTACH -- "$RECIPIENT"
+ -a /var/log/grml-buildd.stderr.log $MUTT_ATTACH -- "$RECIPIENT"
}
# make sure we store the final iso:
default being /var/log/fai/grml/.
If you are using the grml-live buildd you will find the logs of the grml-live
-run at /var/log/grml-buildd.stdout and /var/log/grml-buildd.stderr.
+run at /var/log/grml-buildd.stdout.log and /var/log/grml-buildd.stderr.log.
If you want to store build information in a database just install the
grml-live-db Debian package. Further details available in the grml-live-db