mirror of
https://github.com/mempool/mempool.git
synced 2025-01-18 05:12:35 +01:00
Update mempool-logger and syslog.conf to separate info and notice msgs
This commit is contained in:
parent
056fe5712d
commit
3fd5277912
@ -2,6 +2,6 @@
|
||||
trap "" PIPE
|
||||
while read input;do
|
||||
if [ ! -z "${input}" ];then
|
||||
echo "\`\`\`${input}\`\`\`" | /usr/local/bin/keybase chat send --nonblock mempool.syslog
|
||||
echo "\`\`\`${input}\`\`\` $*" | /usr/local/bin/keybase chat send --nonblock mempool.syslog
|
||||
fi
|
||||
done
|
||||
|
@ -1,3 +1,4 @@
|
||||
local7.debug /var/log/mempool.debug
|
||||
local7.>=notice |/usr/local/bin/sudo -u mempool /usr/local/bin/mempool-logger @channel
|
||||
local7.=info |/usr/local/bin/sudo -u mempool /usr/local/bin/mempool-logger
|
||||
local7.info /var/log/mempool
|
||||
local7.notice |/usr/local/bin/sudo -u mempool /usr/local/bin/mempool-logger
|
||||
local7.* /var/log/mempool.debug
|
||||
|
Loading…
Reference in New Issue
Block a user