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

Support ability to add multiple transports of same type #316

Closed
tfulton opened this issue Oct 16, 2013 · 3 comments
Closed

Support ability to add multiple transports of same type #316

tfulton opened this issue Oct 16, 2013 · 3 comments

Comments

@tfulton
Copy link

tfulton commented Oct 16, 2013

Right now, it does not seem possible to add multiple transports of the same type. For instance, I would like to add multiple "winston.transports.File" transports, each with a different level -- in order to create separate files for each level logged.

If this is not supported, is this something that has been considered?

@barisusakli
Copy link

👍 Not sure if this is possible with the current system.

@arthurblake
Copy link

I am surprised that it doesn't work this way already. Seems like a very basic logging need -- that a transport is decoupled from the logger (just like an event listener) where you can add as many as you like.

@indexzero
Copy link
Member

Duplicate of #101.

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

No branches or pull requests

4 participants