From bd48938b3dc1634c64c6d099ccf5d193d94c4019 Mon Sep 17 00:00:00 2001 From: slioch Date: Mon, 9 Mar 2009 17:45:28 -0700 Subject: added action and location of error to syslog on commit. error message string will need to be added later after some reworking of the old node execution code. --- src/commit2.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/commit2.c b/src/commit2.c index 269b06f..e6b63fa 100644 --- a/src/commit2.c +++ b/src/commit2.c @@ -1,6 +1,7 @@ #include #include #include +#include #include #include #include "common/common.h" @@ -366,6 +367,7 @@ process_func(GNode *node, gpointer data) } if (!status) { //EXECUTE_LIST RETURNS FALSE ON FAILURE.... + syslog(LOG_ERR,"commit error for %s:[%s]\n",ActionNames[result->_action],d->_path); if (g_display_error_node) { fprintf(out_stream,"%s:[%s]\n",ActionNames[result->_action],d->_path); } -- cgit v1.2.3