I want to log only CRON TYPE and SEVERITY NOTICE message in db log , want to exclude all other types like notice, alert, critical, info, debug etc., Is there any way to prevent this, or should i write any custom coding for this? if custom coding for where i can prevent logging other types in DBLOG.
This PHP setting can be set in many places: the system php.ini, a php.ini/.user.ini instance in webroot, .htaccess in Apache. The Drupal centric way to do this, is to use
ini_set() function in settings.php:
See PHPs error constant page for other values to set