Skip to content

log: take into account env vars on log.cfg call #3269

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Tracked by #3543
TarantoolBot opened this issue Dec 14, 2022 · 0 comments · Fixed by #3590
Closed
Tracked by #3543

log: take into account env vars on log.cfg call #3269

TarantoolBot opened this issue Dec 14, 2022 · 0 comments · Fixed by #3590
Assignees
Labels
2.11 2.11 release and the associated technical debt feature A new functionality logging

Comments

@TarantoolBot
Copy link
Collaborator

TarantoolBot commented Dec 14, 2022

Related dev. issue(s): tarantool/tarantool#6011, tarantool/tarantool#7461

Product: Tarantool
Since: 2.11
Root document: https://www.tarantool.io/en/doc/latest/reference/configuration/#logging, https://www.tarantool.io/en/doc/latest/reference/reference_lua/log/#log-module
SME: @ nshy

Details

If env vars like TT_LOG, TT_LOG_LEVEL etc that specify log options are set
then log.cfg() take them into account if called before box.cfg().
Requested by @ nshy in tarantool/tarantool@eb0a4c9.

@veod32 veod32 added 2.11 2.11 release and the associated technical debt feature A new functionality logging labels Mar 6, 2023
@andreyaksenov andreyaksenov self-assigned this Jul 20, 2023
@andreyaksenov andreyaksenov linked a pull request Jul 20, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2.11 2.11 release and the associated technical debt feature A new functionality logging
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants