Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Christian
ISPConfig 3
Commits
1d0bbb14
Commit
1d0bbb14
authored
Dec 28, 2020
by
Marius Burkard
Browse files
Merge branch 'LOGLEVEL_WARN-error' into 'develop'
fix bind plugin loglevel error See merge request
ispconfig/ispconfig3!1372
parents
810ed161
8f044028
Changes
1
Hide whitespace changes
Inline
Side-by-side
server/plugins-available/bind_plugin.inc.php
View file @
1d0bbb14
...
...
@@ -340,7 +340,7 @@ class bind_plugin {
if
(
$return_status
===
0
)
{
$app
->
log
(
"Writing BIND domain file: "
.
$filename
,
LOGLEVEL_DEBUG
);
}
else
{
$loglevel
=
@
(
$dns_config
[
'disable_bind_log'
]
===
'y'
)
?
'
LOGLEVEL_DEBUG
'
:
'
LOGLEVEL_WARN
'
;
$loglevel
=
@
(
$dns_config
[
'disable_bind_log'
]
===
'y'
)
?
LOGLEVEL_DEBUG
:
LOGLEVEL_WARN
;
$app
->
log
(
"Writing BIND domain file failed: "
.
$filename
.
" "
.
implode
(
' '
,
$out
),
$loglevel
);
if
(
is_array
(
$out
)
&&
!
empty
(
$out
)){
$app
->
log
(
'Reason for Bind restart failure: '
.
implode
(
"
\n
"
,
$out
),
$loglevel
);
...
...
Write
Preview
Supports
Markdown
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