tarantool / tarantool/tarantool
log: follow TT_LOG_LEVEL before log.cfg()/box.cfg()
Open
Nobody has claimed this yet.
feature
logger
- Dominant language
- Lua
- Stars
- 3.7k
- Forks
- 419
- Avg merge
- 1d 23h
- Merged PRs (30d)
- 88
Description
It is convenient to inspect what is going on the early loading stage (before any user Lua script is run).
Now the default log level is hardcoded as INFO and there is no way to obtain debug messages that are issued at tarantool loading.
See also #6011.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Use the cited sections of src/lib/core/say.c as the entry point and read issue #6011 for context. Trace logging during startup before user Lua code and before log.cfg()/box.cfg(); done when TT_LOG_LEVEL controls that early log level and enables debug messages during loading.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c, lua
- Domain
- backend, observability
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100