Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
BIND
Commits
3b4405ab
Commit
3b4405ab
authored
May 20, 2005
by
Mark Andrews
Browse files
1837. [bug] Compile time option ISC_FACILITY was not effective
for 'named -u <user>'. [RT #13714]
parent
172d7481
Changes
3
Hide whitespace changes
Inline
Side-by-side
CHANGES
View file @
3b4405ab
...
...
@@ -73,7 +73,8 @@
1838. [placeholder] rt13707
1837. [placeholder] rt13714
1837. [bug] Compile time option ISC_FACILITY was not effective
for 'named -u <user>'. [RT #13714]
1836. [cleanup] Silence compiler warnings in hash_test.c.
...
...
bin/named/log.c
View file @
3b4405ab
...
...
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: log.c,v 1.4
0
2005/0
4
/2
9
0
0:22:27
marka Exp $ */
/* $Id: log.c,v 1.4
1
2005/0
5
/2
0
0
1:19:42
marka Exp $ */
/*! \file */
...
...
@@ -157,6 +157,9 @@ ns_log_setdefaultchannels(isc_logconfig_t *lcfg) {
isc_result_t
ns_log_setsafechannels
(
isc_logconfig_t
*
lcfg
)
{
isc_result_t
result
;
#if ISC_FACILITY != LOG_DAEMON
isc_logdestination_t
destination
;
#endif
if
(
!
ns_g_logstderr
)
{
result
=
isc_log_createchannel
(
lcfg
,
"default_debug"
,
...
...
@@ -175,6 +178,15 @@ ns_log_setsafechannels(isc_logconfig_t *lcfg) {
isc_log_setdebuglevel
(
ns_g_lctx
,
ns_g_debuglevel
);
}
#if ISC_FACILITY != LOG_DAEMON
destination
.
facility
=
ISC_FACILITY
;
result
=
isc_log_createchannel
(
lcfg
,
"default_syslog"
,
ISC_LOG_TOSYSLOG
,
ISC_LOG_INFO
,
&
destination
,
0
);
if
(
result
!=
ISC_R_SUCCESS
)
goto
cleanup
;
#endif
result
=
ISC_R_SUCCESS
;
cleanup:
...
...
doc/private/branches
View file @
3b4405ab
...
...
@@ -33,7 +33,7 @@ rt13606 open marka // TSIG SHA256
rt13662 new
rt13694 new
rt13707 new
rt13714
new
rt13714
13714
rt13753 new
rt13754 new
rt13771 new
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment