Update production syslog scripts

This commit is contained in:
wiz 2021-01-30 20:09:47 +09:00
parent c94f004425
commit ad52e7fe7e
No known key found for this signature in database
GPG Key ID: A394E332255A6173
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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