Results 1 to 3 of 3

Thread: Debugging - capture sql error

  1. #1
    mikesolomon is offline Sugar Community Member
    Join Date
    Feb 2008
    Location
    UK
    Posts
    1,467

    Default Debugging - capture sql error

    How can I capture sql errors?

    If I look in sugarcrm.log I can see when an error occurs but it does not log the actual error

    Is this held anywhere?

  2. #2
    dpatech is offline Sugar Community Member
    Join Date
    Oct 2007
    Location
    NC
    Posts
    287

    Default Re: Debugging - capture sql error

    If you change your logging level in log4php.properties to debug it will log all of the SQL as well.
    - Sugar Team
    dpa Technology LLC
    e-mail: dpaDeveloper@dpatechnology.com
    web: http://www.dpatechnology.com

  3. #3
    mikesolomon is offline Sugar Community Member
    Join Date
    Feb 2008
    Location
    UK
    Posts
    1,467

    Default Re: Debugging - capture sql error

    Quote Originally Posted by dpatech
    If you change your logging level in log4php.properties to debug it will log all of the SQL as well.
    Thanks - that did the trick

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Email IMAP SSL issue ( with error log )
    By clearlink in forum Help
    Replies: 16
    Last Post: 2009-11-16, 01:50 AM
  2. Query Failed: AND users.id = '1'::MySQL error 1064:
    By artco001 in forum Installation and Upgrade Help
    Replies: 63
    Last Post: 2009-05-07, 05:56 AM
  3. Replies: 1
    Last Post: 2008-02-22, 04:25 PM
  4. Replies: 0
    Last Post: 2007-08-08, 02:47 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •