Change proposal : Handling logging via a variale in zmbackup.conf instead of hard codded local7

12 views
Skip to first unread message

wodel....@gmail.com

unread,
Nov 20, 2018, 7:42:33 AM11/20/18
to Zmbackup
Hi,

I tested the replacement of lines like :  logger -i -p local7.info "MESAGE" with a variable pointing to a local which can be configured by the user.

define the LOCAL variable on /etc/zmbackup/zmbackup.conf

then use it as logger -i -p $LOCAL.info "MESAGE"

I am using Centos7, and local7 for example is already used, so I guess making the change will make the logging more flexible.

Thanks.

Regards.
Reply all
Reply to author
Forward
0 new messages