How to see Database logs in Devel module I have installed Devel module in Drupal 7. I am able to see logs of error in each page I visit (when I am logged as admin), but, however, have not been able to see the database logs except in the Admin GUI, in the layer windows.

When I close the Admin GUI (without logging out) and visit other pages of my site, I cannot see the database logs. I installed Devel in other project long time ago, and I would dare to say that I saw these database logs in every page.

What is the recommended config: see all errors, and which template to use?
You need to give Devel permissions to the user from which, you are logged in, and want to view logs.Go to People >> Permissions and give Devel permissions to the role you want to.

However, giving Devel permissions to anonymous user is a security risk. So, avoid that.