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

Why showing this “Papertrail is a legacy winston transport. Consider upgrading” #88

Open
Hasibul-Hasan opened this issue Apr 8, 2019 · 2 comments

Comments

@Hasibul-Hasan
Copy link

I am using Winston version

"winston": "^3.2.1",
"winston-papertrail": "^1.0.5"

When I add
transports: [ new winston.transports.Papertrail({})]

I get

Papertrail is a legacy winston transport. Consider upgrading: - Upgrade docs: https://github.com/winstonjs/winston/blob/master/UPGRADE-3.0.md

why this message show and how do I stop showing this.

@james-ingold
Copy link

The master branch is a legacy transport for winston3. There is a v2 branch that is implemented in winston3 format. You can install it:
npm install https://github.com/kenperkins/winston-papertrail.git#v2 --save

@sqljim
Copy link

sqljim commented Apr 27, 2020

There are a few papertrail connection differences between the old way and the new (winston3) way. It took me a while to find the details, but the readme that you can find here shows how to set up for Winston3.

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

3 participants