Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nd 670 dns verbose logs #871

Merged
merged 14 commits into from
Jan 16, 2025
37 changes: 17 additions & 20 deletions app/lib/use_cases/generate_bind_config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -31,31 +31,28 @@ def call
};

logging {
channel query_logging {
channel stderr_channel {
stderr;
severity debug 3;
print-time yes;
print-severity yes;
print-category yes;
severity info;
};

channel query_error {
stderr;
severity debug 3;
print-time yes;
print-severity yes;
print-category yes;
};

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; };
category query-errors { query_error; };
category queries { stderr_channel; };
category resolver { stderr_channel; };
category client { stderr_channel; };
category security { stderr_channel; };

};

zone "localhost" IN {
Expand Down
37 changes: 17 additions & 20 deletions spec/use_cases/generate_bind_config_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,31 +33,28 @@
};

logging {
channel query_logging {
channel stderr_channel {
stderr;
severity debug 3;
print-time yes;
print-severity yes;
print-category yes;
severity info;
};

channel query_error {
stderr;
severity debug 3;
print-time yes;
print-severity yes;
print-category yes;
};

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; };
category query-errors { query_error; };
category queries { stderr_channel; };
category resolver { stderr_channel; };
category client { stderr_channel; };
category security { stderr_channel; };

};

zone "localhost" IN {
Expand Down
Loading