Skip to content

Commit

Permalink
Revert "Nd 670 dns verbose logs (#871)" (#874)
Browse files Browse the repository at this point in the history
This reverts commit 8f9b478.
  • Loading branch information
laurentb4 authored Jan 21, 2025
1 parent 6dee93a commit 4c30958
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 34 deletions.
37 changes: 20 additions & 17 deletions app/lib/use_cases/generate_bind_config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -31,28 +31,31 @@ def call
};
logging {
channel stderr_channel {
channel query_logging {
stderr;
severity debug 3;
print-time yes;
print-severity yes;
print-category yes;
};
channel query_error {
stderr;
severity debug 3;
severity info;
print-time yes;
print-severity yes;
print-category yes;
};
category query-errors { query_error; };
category queries { stderr_channel; };
category resolver { stderr_channel; };
category client { stderr_channel; };
category security { stderr_channel; };
channel query_errors_log {
stderr;
print-time yes;
print-category yes;
print-severity yes;
severity info;
};
channel resolver {
stderr;
print-time yes;
print-category yes;
print-severity yes;
severity info;
};
category queries { query_logging; };
category query-errors {query_errors_log; };
category resolver { resolver; };
};
zone "localhost" IN {
Expand Down
37 changes: 20 additions & 17 deletions spec/use_cases/generate_bind_config_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,28 +33,31 @@
};
logging {
channel stderr_channel {
channel query_logging {
stderr;
severity debug 3;
print-time yes;
print-severity yes;
print-category yes;
};
channel query_error {
stderr;
severity debug 3;
severity info;
print-time yes;
print-severity yes;
print-category yes;
};
category query-errors { query_error; };
category queries { stderr_channel; };
category resolver { stderr_channel; };
category client { stderr_channel; };
category security { stderr_channel; };
channel query_errors_log {
stderr;
print-time yes;
print-category yes;
print-severity yes;
severity info;
};
channel resolver {
stderr;
print-time yes;
print-category yes;
print-severity yes;
severity info;
};
category queries { query_logging; };
category query-errors {query_errors_log; };
category resolver { resolver; };
};
zone "localhost" IN {
Expand Down

0 comments on commit 4c30958

Please sign in to comment.