mirror of
https://codeberg.org/icewind/log-normalizer.git
synced 2026-11-30 02:20:47 +01:00
This commit is contained in:
parent
8cdb5e4548
commit
8c8a1bc303
1 changed files with 6 additions and 0 deletions
|
|
@ -25,6 +25,11 @@ in {
|
|||
description = "file containg RAW_DATABASE_URL variable";
|
||||
};
|
||||
|
||||
logDirectory = mkOption {
|
||||
type = types.str;
|
||||
description = "path containing the raw logs";
|
||||
};
|
||||
|
||||
logLevel = mkOption {
|
||||
type = types.str;
|
||||
default = "info,sqlx=warn";
|
||||
|
|
@ -42,6 +47,7 @@ in {
|
|||
wantedBy = ["multi-user.target"];
|
||||
environment = {
|
||||
RUST_LOG = cfg.logLevel;
|
||||
LOG_DIRECTORY = cfg.logDirectory;
|
||||
};
|
||||
|
||||
serviceConfig = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue