-
-
Notifications
You must be signed in to change notification settings - Fork 8
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
[FSTDEP017] [FSTDEP018]
How can I hide/solve these logs
#966
Comments
You need to check your dependencies and upgrade them accordningly. Anyway you can disable the deprecation warnings as documented: https://github.com/fastify/process-warning#suppressing-warnings Moving this to fastify/help because it is no bug or anything regarding fastify. |
@fberrez Are all of your plugins up-to-date? deprecation was fixed at least in all most popular ones already, so updating most likely will help |
Actually I don't have any plugin in my project. // fastify.js
const fastify = require('fastify')();
const router = require('./router');
fastify.register(router) // router.js
module.exports = (server, opts, next) => {
server.get('/healthcheck', async () => {
return {
model_version_status: [
{
version: '1.0.0',
state: 'AVAILABLE',
status: {
error_code: 'OK',
error_message: '',
},
},
],
};
});
next();
}; And I have the logs everytime I request Thank you for the options to disable the warnings @Uzlopak, I'm going to use this for now. |
Thanks for reporting! Can you provide steps to reproduce? We often need a reproducible example, e.g. some code that allows someone else to recreate your problem by just copying and pasting it. If it involves more than a couple of different file, create a new repository on GitHub and add a link to that. |
Prerequisites
Issue
version
fastify 4.24.3
I have this two logs that come regurlaly in my app:
I have no idea about what I can do to solve or hide these logs since I don't use
routerPath
orrouterMethod
in my code.The text was updated successfully, but these errors were encountered: