Update of /cvsroot/linux-atm/linux-atm/src/br2684
In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv12801
Modified Files:
Tag: V2_5_0
br2684ctl.8 br2684ctl.c
Log Message:
On 8/24/07, seventh guardian <sev...@gm...> wrote:
> Hello,
(...)
> One of the changes to the logging support was to make br2684ctl log to
> LOG_LOCAL2 instead of LOG_LOCAL0. I left the logging on LOCAL0, but I
> leave to you the decision on leaving it that way or changing it to
> LOCAL2 (I have no idea on why this was changed, and I'm still waiting
> for Marco's feedback).
I've just received feedback from Marco:
He changed the log facility to LOG_LOCAL2 because that's the same
facility as pppd. This allows them to be logged together, which seems
useful to me.
From: "Renato Caldas" <sev...@gm...>
Index: br2684ctl.8
===================================================================
RCS file: /cvsroot/linux-atm/linux-atm/src/br2684/Attic/br2684ctl.8,v
retrieving revision 1.1.2.3
retrieving revision 1.1.2.4
diff -C2 -d -r1.1.2.3 -r1.1.2.4
*** br2684ctl.8 27 Aug 2007 14:22:02 -0000 1.1.2.3
--- br2684ctl.8 27 Aug 2007 14:24:00 -0000 1.1.2.4
***************
*** 70,74 ****
% ifconfig nas0 192.168.2.1 netmask 255.255.255.0
! Messages are logged to the LOCAL0 syslog facility.
.SH FILES
/var/run/br2684ctl-<iface>.pid
--- 70,74 ----
% ifconfig nas0 192.168.2.1 netmask 255.255.255.0
! Messages are logged to the LOCAL2 syslog facility.
.SH FILES
/var/run/br2684ctl-<iface>.pid
Index: br2684ctl.c
===================================================================
RCS file: /cvsroot/linux-atm/linux-atm/src/br2684/Attic/br2684ctl.c,v
retrieving revision 1.1.2.8
retrieving revision 1.1.2.9
diff -C2 -d -r1.1.2.8 -r1.1.2.9
*** br2684ctl.c 27 Aug 2007 14:22:02 -0000 1.1.2.8
--- br2684ctl.c 27 Aug 2007 14:24:00 -0000 1.1.2.9
***************
*** 27,31 ****
#define LOG_NAME "br2684ctl"
#define LOG_OPTION LOG_PERROR|LOG_PID
! #define LOG_FACILITY LOG_LOCAL0
--- 27,31 ----
#define LOG_NAME "br2684ctl"
#define LOG_OPTION LOG_PERROR|LOG_PID
! #define LOG_FACILITY LOG_LOCAL2
|