Disable logging of Angular routing events

By default, the routing events are not logged. So as Maximus suggested, you must have added code somewhere to turn them on. You just need to remove that code.

In my app, I turned on routing events here, in the app routing module:

    RouterModule.forRoot([
        { path: 'welcome', component: WelcomeComponent },
        { path: '', redirectTo: 'welcome', pathMatch: 'full' },
        { path: '**', component: PageNotFoundComponent }
    ], { enableTracing: true })

If you have code like this, either remove the enableTracing or set it to false.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)