Skip to content
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

No trace? #25

Closed
basickarl opened this issue Aug 23, 2017 · 3 comments
Closed

No trace? #25

basickarl opened this issue Aug 23, 2017 · 3 comments

Comments

@basickarl
Copy link

I see that there is no trace option.

Is there a particular reason behind this?

@sam-github
Copy link
Contributor

what is a trace option?

FYI, https://linux.die.net/man/3/syslog, the word "trace" does not occur.

@basickarl
Copy link
Author

@sam-github This thread has a few answers and explanations: https://stackoverflow.com/questions/2031163/when-to-use-the-different-log-levels

In short however trace is a very very fine tuned way of seeing how your code is executed. It creates a substantial amount of logs and is never recommended to be turned on in a production environment due to that.

@sam-github
Copy link
Contributor

There is no TRACE log level in OS X (https://developer.apple.com/legacy/library/documentation/Darwin/Reference/ManPages/man3/syslog.3.html#//apple_ref/doc/man/3/syslog) or linux (https://linux.die.net/man/3/syslog).

Perhaps its not clear, this module wraps the unix syscall facility. If a level is not supported by that facility, this module can't add it (the facility is not extendable).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants