feat: fix logging config on dns
This commit is contained in:
@@ -26,7 +26,8 @@ in
|
|||||||
|
|
||||||
stage.timestamp {
|
stage.timestamp {
|
||||||
source = "timestamp"
|
source = "timestamp"
|
||||||
format = "2006-01-02 15:04:05"
|
format = "2006/01/02 15:04:05.999999"
|
||||||
|
location = "${config.globals.default_tz}"
|
||||||
}
|
}
|
||||||
|
|
||||||
stage.labels {
|
stage.labels {
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ let
|
|||||||
mask_cidr = tools.mask_cidr; # build_ip_cidr 0 config.globals.cidr;
|
mask_cidr = tools.mask_cidr; # build_ip_cidr 0 config.globals.cidr;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
environment.etc."alloy/logs-adguardhome.alloy".text =
|
environment.etc."alloy/logs-unbound.alloy".text =
|
||||||
(import ./alloy/default-journal-logger.alloy.nix {
|
(import ./alloy/default-journal-logger.alloy.nix {
|
||||||
inherit tools;
|
inherit tools;
|
||||||
container = "dns";
|
container = "dns";
|
||||||
|
|||||||
Reference in New Issue
Block a user