summaryrefslogtreecommitdiff
path: root/config-top.h
diff options
context:
space:
mode:
Diffstat (limited to 'config-top.h')
-rw-r--r--config-top.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/config-top.h b/config-top.h
index 22433fb3..f0551275 100644
--- a/config-top.h
+++ b/config-top.h
@@ -98,3 +98,11 @@
name is not found. If you want to name it something other than the
default ("command_not_found_handle"), change it here. */
/* #define NOTFOUND_HOOK "command_not_found_handle" */
+
+/* Define if you want each line saved to the history list in bashhist.c:
+ bash_add_history() to be sent to syslog(). */
+#define SYSLOG_HISTORY
+#if defined (SYSLOG_HISTORY)
+# define SYSLOG_FACILITY LOG_USER
+# define SYSLOG_LEVEL LOG_INFO
+#endif