3 comments (3 comments)0 reactions (0 reactions)1 assignee (1 assignee)C24,849 stars (24,849 stars)5,002 forks (5,002 forks)batch import
help wantedquestion
Description
修改了taos.config 文件中关于日志的存储位置的配置,但是仍然会在旧的默认存储日志文件的位置存储日志,同时在新的目录下也存在日志。
Contributor guide
- Tech stack
- c
- Domain
- databasebackend
- Issue type
- bug
- DifficultyEstimated implementation difficulty for a new contributor, from 1 for very small changes to 5 for expert-level work.
- 3
- Estimated timeA rough time range for an experienced contributor to investigate, implement, test, and prepare a pull request.
- half day
- Activity statusHow available the issue appears right now: fresh, active, stale, blocked, or waiting on maintainer input.
- blocked
- ClarityHow clearly the issue explains the expected change, acceptance criteria, and next step.
- needs investigation
- Prerequisites
- basic knowledge of TDengine configurationfamiliarity with file system logs
- Newbie friendlinessA 1-100 score estimating how approachable this issue is for first-time contributors.
- 30
- Research direction
- The issue reports that after changing the log storage path in taos.config, logs still appear in both the old and new locations. Investigate the log configuration parsing in TDengine's source code, particularly in files related to log initialization (e.g., src/util/src/tlog.c or similar). Check if the old path is being used due to a fallback or caching mechanism. Additionally, review any environment variables or default settings that might override the config. The assignee may have further insights from the comments.