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

syntax errors (or log messages) in a logging providers cause freedom infinite looping #213

Open
iislucas opened this issue Jan 23, 2015 · 0 comments
Labels

Comments

@iislucas
Copy link
Contributor

Freedom will head into an infinite loop of trying to log things if an attempt to log something happens while a logging provider is being loaded form the top-level freedom logging specification. e.g. consider:

freedom('freedom-module.json', {
    'logger': 'lib/loggingprovider/loggingprovider.json'
  }).then(

When there is a syntax error in the logging provider, this will cause freedom to try and log something. The result is a very large/fast CPU and memory consumption.

@iislucas iislucas added the bug label Jan 23, 2015
@iislucas iislucas changed the title syntax errors in a logging providers cause freedom infinite looping syntax errors (or log messages) in a logging providers cause freedom infinite looping Jan 23, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant