mirror of
https://github.com/mempool/mempool.git
synced 2024-11-20 02:11:49 +01:00
Update production syslog scripts
This commit is contained in:
parent
c94f004425
commit
ad52e7fe7e
@ -2,6 +2,6 @@
|
|||||||
trap "" PIPE
|
trap "" PIPE
|
||||||
while read input;do
|
while read input;do
|
||||||
if [ ! -z "${input}" ];then
|
if [ ! -z "${input}" ];then
|
||||||
echo "\`\`\`${input}\`\`\` $*" | /usr/local/bin/keybase chat send --nonblock mempool.syslog
|
echo "\`\`\`${input}\`\`\`" | /usr/local/bin/keybase chat send --nonblock --channel $1 mempool.space
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
local7.>=notice |/usr/local/bin/sudo -u mempool /usr/local/bin/mempool-logger @channel
|
local7.>=notice |/usr/local/bin/sudo -u mempool /usr/local/bin/mempool-logger alerts
|
||||||
local7.=info |/usr/local/bin/sudo -u mempool /usr/local/bin/mempool-logger
|
local7.info |/usr/local/bin/sudo -u mempool /usr/local/bin/mempool-logger node100
|
||||||
local7.info /var/log/mempool
|
local7.info /var/log/mempool
|
||||||
local7.* /var/log/mempool.debug
|
local7.* /var/log/mempool.debug
|
||||||
|
Loading…
Reference in New Issue
Block a user