-
Notifications
You must be signed in to change notification settings - Fork 43
[3pt] Logging configuration #1974
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
Comments
andreyaksenov
added a commit
that referenced
this issue
Mar 10, 2023
andreyaksenov
added a commit
that referenced
this issue
Mar 10, 2023
andreyaksenov
added a commit
that referenced
this issue
Mar 10, 2023
andreyaksenov
added a commit
that referenced
this issue
Mar 10, 2023
andreyaksenov
added a commit
that referenced
this issue
Mar 13, 2023
andreyaksenov
added a commit
that referenced
this issue
Mar 13, 2023
andreyaksenov
added a commit
that referenced
this issue
Mar 13, 2023
andreyaksenov
added a commit
that referenced
this issue
Mar 14, 2023
andreyaksenov
added a commit
that referenced
this issue
Mar 14, 2023
p7nov
pushed a commit
that referenced
this issue
Mar 24, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Related dev. issue(s): tarantool/tarantool#689
Product: Tarantool
Root document:
SME: @ gumix
Details
To configure log module eary without initializing box module at all, call the
log.cfg({})
method, where the followingarguments are acceptable:
log
to specify file, pipe or syslog (same asbox.cfg{log}
option); the default value is niland stderr is used;
level
to specify logging level; can be numbers (1-7) orstrings (fatal,syserror,error,crit,warn,info,verbose,debug);
the default value is 5 (i.e. 'info');
While for symbolic representations of levels we allow only
predefined keywords to be used, to keep backward compatibility
the numbers can be any;
format
to specify output encoding ('plain' or 'json');the default value is 'plain';
nonblock
to open logging output in nonblocking mode(
true
orfalse
); the default value isfalse
.Requested by @ cyrillos in tarantool/tarantool@a94a9b3.
The text was updated successfully, but these errors were encountered: