Skip to content

Log file path is hardcoded and relative #29

Description

@iTranscend

The log file path is hardcoded as the relative string "thala-node.log", writing to the current working directory regardless of --data-dir.

Location

src/main.rs, lines 20–27

let tracing_config = TracingConfig {
    enable_file_logging: true,
    file_path: Some("thala-node.log".to_string()),
    ...
};

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingcleanup

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions