From 8e66f055cbea49209ef6f2a960bab31138ae99c4 Mon Sep 17 00:00:00 2001 From: Bart van Deenen Date: Tue, 21 Apr 2020 13:58:02 +0200 Subject: [PATCH 1/2] logger --- sheets/logger | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 sheets/logger diff --git a/sheets/logger b/sheets/logger new file mode 100644 index 0000000..6a1f7b9 --- /dev/null +++ b/sheets/logger @@ -0,0 +1,31 @@ +# logger +# Interact with syslog server + +# log "hi there" to syslog with priority 'notice' and facility 'user' +echo "hi there" | logger + +# Levels: emerg +# alert +# crit +# err +# warning +# notice +# info +# debug +# +# Facilities: +# auth +# authpriv for security information of a sensitive nature +# cron +# daemon +# ftp +# lpr +# mail +# news +# syslog +# user +# uucp +# local0 +# to +# local7 +log -p . -f From b1e1e438a06151a020115b3ec5b08b949afb6c58 Mon Sep 17 00:00:00 2001 From: Bart van Deenen Date: Tue, 21 Apr 2020 15:22:54 +0200 Subject: [PATCH 2/2] Update logger --- sheets/logger | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sheets/logger b/sheets/logger index 6a1f7b9..0741cc7 100644 --- a/sheets/logger +++ b/sheets/logger @@ -28,4 +28,4 @@ echo "hi there" | logger # local0 # to # local7 -log -p . -f +logger -p . -f