bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Make syslog history configurable


From: Siteshwar Vashisht
Subject: Re: Make syslog history configurable
Date: Wed, 25 Jan 2017 10:22:40 -0500 (EST)


----- Original Message -----
> From: "Siteshwar Vashisht" <svashisht@redhat.com>
> To: bug-bash@gnu.org
> Sent: Wednesday, January 25, 2017 1:39:12 PM
> Subject: Make syslog history configurable
> 
> Hello,
> 
> Bash history is logged to syslog if SYSLOG_HISTORY macro is defined in
> config-top.h. There is no option to enable/disable it at runtime. I am
> adding a shell option 'syshist' that can be used to configure logging bash
> history to syslog at runtime.

I modified the patch to use shopt instead of set to enable/disable syslog 
history.
> 
> 
> --
> --
> Siteshwar Vashisht
> 

-- 
--
Siteshwar Vashisht

Attachment: syslog-history-configurable-shopt.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]