Problems hiding logs in console

I am using mongodb with java and when I open the server I get several mongo logs spammed by the console. I want to hide them because it is not very readable but I don’t know how and I have tried things but nothing. Any solution?

well, if you don’t generally care about [INFO] messages you can try

grep -v '\[INFO\]' somelogfile.log |less