bug-bash
[Top][All Lists]
Advanced

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

Re: About bash_syslog_histrory Function!


From: Chet Ramey
Subject: Re: About bash_syslog_histrory Function!
Date: Tue, 17 Jul 2018 11:02:42 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0) Gecko/20100101 Thunderbird/52.9.1

On 7/17/18 4:03 AM, sunhuilin@unionpay.com wrote:
> Hi:
>        I found the orginal bash_syslog_history has three flaws:
>      1、 Ingore the texts that length exceed SYSLOG_MAXLEN,however in our 
> environment ,we have a lot of db2 command line which exceed SYSLOG_MAXLEN;
>      2、only get PID and UID, lack some import information such as tty,orginal 
> host ,user info ...
>      3、only by compile with SYSLOG_HISTORY=1 ,which is not default. Is there 
> any possible that by active it by default or where env parameter 
> BASH_SYSLOG_HISTORY is set to on ?
> 
>      would you please consider improve about it ? 

I will look at your line continuation code, but I am not interested in
making something I consider an invasion of privacy enabled by default.

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    chet@case.edu    http://tiswww.cwru.edu/~chet/



reply via email to

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