Download & Extend

Improve documentation for watchdog()

Project:Drupal core
Version:7.x-dev
Component:documentation
Category:task
Priority:normal
Assigned:Dave Reid
Status:closed (duplicate)

Issue Summary

From http://realize.be/some-simple-debugging-tips-drupal I learned that the $type parameter is limited to 16 characters in dblog_watchdog():

http://api.drupal.org/api/function/dblog_schema/7:

<?php
     
'type' => array(
       
'type' => 'varchar',
       
'length' => 16,
       
'not null' => TRUE,
       
'default' => '',
       
'description' => 'Type of log message, for example "user" or "page not found."',
      ),
?>

Comments

#1

Status:active» closed (duplicate)

Marking this as a duplicate of #223298: Change {dblog}.type VARCHAR limit from 16 to 64.