Disable/enable logging in Magento from database

magento, php

Solution

All settings appearing in System / Configuration are stored in the `core_config_data` table.

The one you're searching is `dev/log/active`.

Be careful, in this table, you can have different values for each stores

Problem

I know that to enable logging through admin you can go: System > Configuration > Advanced > Developer > Log Settings > Enable But is there any way to enable it through database? As I don't have access to admin.

Original source