MyNixOS website logo
option

services.tremor-rs.loggerSettings

Tremor logger configuration.

Declarations
Type
YAML value
Default
{
  refresh_rate = "30 seconds";
  appenders.stdout.kind = "console";
  root = {
    level = "warn";
    appenders = [ "stdout" ];
  };
  loggers = {
    tremor_runtime = {
      level = "debug";
      appenders = [ "stdout" ];
      additive = false;
    };
    tremor = {
      level = "debug";
      appenders = [ "stdout" ];
      additive = false;
    };
  };
}
Example
{
  appenders = {
    stdout = {
      kind = "console";
    };
  };
  loggers = {
    tremor = {
      additive = false;
      appenders = [
        "stdout"
      ];
      level = "debug";
    };
    tremor_runtime = {
      additive = false;
      appenders = [
        "stdout"
      ];
      level = "debug";
    };
  };
  refresh_rate = "30 seconds";
  root = {
    appenders = [
      "stdout"
    ];
    level = "warn";
  };
}