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

tracer logging settings ignored #17

Open
ibtaylor opened this issue May 15, 2018 · 1 comment
Open

tracer logging settings ignored #17

ibtaylor opened this issue May 15, 2018 · 1 comment

Comments

@ibtaylor
Copy link

does not seem to respect filename set in config global.logging.tracer.filename

maybe because configure_logging does not call init_tracer

init_logger(mstderr)

and so it uses the default settings in LOGGING_CONFIG when the tracer is created at the bottom of
tracer = init_tracer()

@ibtaylor
Copy link
Author

adding

__setup_trace_handler(tracer)

before

init_logger(mstderr)

seems to do what i want aside from two initial logs in /tmp/rmtoo.log

2018-05-15 14:02:58,411;rmtoo-trace;DEBUG;__init__;init_tracer;121;rmtoo tracer system enabled.
2018-05-15 14:02:58,411;rmtoo-trace;DEBUG;__init__;__init_logger_object;95;rmtoo init logger.

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

1 participant