Output Rust backlogs

This commit is contained in:
niten 2023-07-16 16:55:37 -07:00
parent 1f4d7f8b76
commit 640c1fdaec
1 changed files with 5 additions and 1 deletions

View File

@ -313,6 +313,7 @@ in {
PICTRS__MEDIA__GIF__MAX_AREA = "65536";
PICTRS__MEDIA__GIF__MAX_FRAME_COUNT = "400";
RUST_LOG = "debug";
RUST_BACKTRACE = "full";
PICTRS__API_KEY = pictrsApiKey;
};
target-file = "/run/lemmy/pictrs.env";
@ -345,7 +346,10 @@ in {
inherit postgresPasswd pictrsApiKey;
smtpServer = cfg.smtp-server;
};
envFile = toString (makeEnvFile { RUST_LOG = "warn"; });
envFile = toString (makeEnvFile {
RUST_LOG = "warn";
RUST_BACKTRACE = "full";
});
};
lemmyUiCfg = {
image = cfg.docker-images.lemmy-ui;