question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Disable default saga error logging by config

See original GitHub issue

When saga errors get handled by the using code, e.g. such as described in #343, it would be great to disable default logger.

Side note: Is the logger active in production environment? I took a sneak peak into the code https://github.com/yelouafi/redux-saga/blob/ae39cf06dee57ddd3db935a0023db5f584eb1748/src/internal/utils.js#L104 and there is no isDev check like in other places of the code.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
thebartekbanachcommented, May 11, 2020

Any update at this issue?

It would be great to be able to turn off redux-saga console logging.

Use case that could be implemented by redux-saga-test-plan: https://github.com/jfairbank/redux-saga-test-plan/issues/147#issuecomment-519114278

1reaction
hoschicommented, Jun 1, 2016

This would help 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Log4Net/C# - Disable default logging - Stack Overflow
I have successfully configured this, and it is working fine. It logs the messages in to a file when some fatal error occures....
Read more >
Log - Apache Camel
Camel uses SLF4J which allows you to configure logging via, among others: ... The default value is INFO. Enum values: TRACE. DEBUG. INFO....
Read more >
Root Saga
A root Saga aggregates multiple Sagas to a single entry point for the sagaMiddleware to run.
Read more >
Configuration - MassTransit
To configure a bus using RabbitMQ and register the consumers, sagas, and activities to be used by the bus, call the AddMassTransit extension...
Read more >
Logging • NServiceBus • Particular Docs
Moving to custom logging means the default logging approaches are replaced. When to configure logging. It is important to configure logging ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found