bind9/bin/tests/system/checkconf/good-printtime.conf
Alessio Podda cc167266aa Support ISO timestamps with timezone information
This commit adds support for timestamps in iso8601 format with timezone
when logging. This is exposed through the iso8601-tzinfo printtime
suboption.
It also makes the new logging format the default for -g output,
hopefully removing the need for custom timestamp parsing in scripts.
2024-10-01 15:09:43 +00:00

39 lines
805 B
Text

/*
* Copyright (C) Internet Systems Consortium, Inc. ("ISC")
*
* SPDX-License-Identifier: MPL-2.0
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, you can obtain one at https://mozilla.org/MPL/2.0/.
*
* See the COPYRIGHT file distributed with this work for additional
* information regarding copyright ownership.
*/
logging {
channel one {
file "one.out";
print-time no;
};
channel two {
file "two.out";
print-time yes;
};
channel three {
file "three.out";
print-time local;
};
channel four {
file "four.out";
print-time iso8601;
};
channel five {
file "five.out";
print-time iso8601-utc;
};
channel six {
file "six.out";
print-time iso8601-tzinfo;
};
};