By default, routing events are not logged. As Maximus suggested, you have to add code somewhere to enable them. You just need to remove this code.
In my application, I enabled routing events here in the application's routing module:
RouterModule.forRoot([
{ path: 'welcome', component: WelcomeComponent },
{ path: '', redirectTo: 'welcome', pathMatch: 'full' },
{ path: '**', component: PageNotFoundComponent }
], { enableTracing: true })
If you have such code, delete enableTracingor set it to false.
source
share