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:

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

Comments

Dave Reid’s picture

Status: Active » Closed (duplicate)