Skip to content
GitLab
Projects
Groups
Snippets
/
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
5c3e730c
Commit
5c3e730c
authored
May 24, 2000
by
Andreas Gustafsson
Browse files
include program name in log messages printed through
the logging system
parent
a89b06a4
Changes
1
Hide whitespace changes
Inline
Side-by-side
bin/dnssec/dnssec-signzone.c
View file @
5c3e730c
...
...
@@ -1298,6 +1298,8 @@ setup_logging(int level, isc_log_t **logp) {
isc_log_setcontext
(
log
);
dns_log_init
(
log
);
dns_log_setcontext
(
log
);
isc_log_settag
(
logconfig
,
PROGRAM
);
/*
* Set up a channel similar to default_stderr except:
...
...
@@ -1313,9 +1315,9 @@ setup_logging(int level, isc_log_t **logp) {
ISC_LOG_TOFILEDESC
,
level
,
&
destination
,
ISC_LOG_PRINTLEVEL
);
ISC_LOG_PRINTTAG
|
ISC_LOG_PRINTLEVEL
);
check_result
(
result
,
"isc_log_createchannel()"
);
RUNTIME_CHECK
(
isc_log_usechannel
(
logconfig
,
"stderr"
,
NULL
,
NULL
)
==
ISC_R_SUCCESS
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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