[Box Backup] Configurable syslog facility

Chris Wilson boxbackup@boxbackup.org
Tue, 24 Mar 2009 17:57:40 +0100 (CET)


Hi Kenny,

On Tue, 24 Mar 2009, Kenny Millington wrote:

> I've been using the Ubuntu package for 0.11rc2 from the Debian 
> maintainer's Ubuntu PPA and came across a snag.
>
> It seems that he's gone ahead and changed the package to log to 
> LOG_DAEMON rather than LOG_LOCAL6 to fit in with how all the other 
> daemons log by default on Debian based distributions.

I do wish maintainers would try to push stuff upstream instead of just 
distributing their code with a random local patches and then forgetting 
about them.

> Unfortunately for me as a user I'd still like it to log to local6, so my 
> only option is to recompile boxbackup thus defeating the purpose of a 
> distribution that supplies binary packages.
>
> Is there a possibility of getting the syslog facility moved to the 
> config file so that Debian/Ubuntu can default it to LOG_DAEMON but I as 
> a user can change it to LOG_LOCAL6?

It may not help you much, but I've just added this facility to trunk. In 
the Server section of your config file, specify LogFacility = LOCAL6. 
(although since it's the default in source distributions, you don't 
actually need to in this case).

Cheers, Chris.
-- 
_ ___ __     _
  / __/ / ,__(_)_  | Chris Wilson <0000 at qwirx.com> - Cambs UK |
/ (_/ ,\/ _/ /_ \ | Security/C/C++/Java/Perl/SQL/HTML Developer |
\ _/_/_/_//_/___/ | We are GNU-free your mind-and your software |