Results 1 to 7 of 7

Thread: issue with lack of Logging

  1. #1
    jhamill is offline Sugar Community Member
    Join Date
    Sep 2004
    Posts
    70

    Default issue with lack of Logging

    we recently updated our CE version from 6.2.1 to 6.3.1! now it seems that barely anything is being logged in the sugarcrm.log file. I've got log level on debug and the main thing that is logged is scheduler and [deprecated] SugarBean.php preprocess_fields_on_save() is deprecated

    none of the other modules are writing any debug info to the logs.

    can somebody please advise me how to re-enable the logging?

    john

  2. #2
    sts's Avatar
    sts
    sts is offline Sugar Community Member
    Join Date
    Aug 2010
    Posts
    978

    Default Re: issue with lack of Logging

    Did you get any error message during the upgrade process?
    What are your settings for logging in config.php? There should be something similar to this:
    PHP Code:
      'log_dir' => '.',
      
    'log_file' => 'sugarcrm.log',
      
    'log_memory_usage' => false,
      
    'logger' => 
      array (
        
    'level' => 'debug',
        
    'file' => 
        array (
          
    'ext' => '.log',
          
    'name' => 'sugarcrm',
          
    'dateFormat' => '%c',
          
    'maxSize' => '10MB',
          
    'maxLogs' => 10,
          
    'suffix' => '%m_%Y',
        ),
      ), 
    Stefan Ulrich Sauer
    System Analyst

    Devoteam Danet GmbH
    Gutenbergstraße 10
    D-64331 Weiterstadt
    Germany
    email: Stefan-Ulrich.Sauer@devoteam.com
    http://www.devoteam.de

  3. #3
    jhamill is offline Sugar Community Member
    Join Date
    Sep 2004
    Posts
    70

    Default Re: issue with lack of Logging

    Not exactly the same as your settings - so I will change the maxsize and see what happens.

    'log_dir' => '.',
    'log_file' => 'sugarcrm.log',
    'log_memory_usage' => false,
    'logger' =>
    array (
    'level' => 'debug',
    'file' =>
    array (
    'ext' => '.log',
    ', 'name' => 'sugarcrm',
    'dateFormat' => '%c',
    'maxSize' => '20',
    'maxLogs' => '2',
    'suffix' => '%m_%Y',
    ),
    ),


    Quote Originally Posted by sts View Post
    Did you get any error message during the upgrade process?
    What are your settings for logging in config.php? There should be something similar to this:
    PHP Code:
      'log_dir' => '.',
      
    'log_file' => 'sugarcrm.log',
      
    'log_memory_usage' => false,
      
    'logger' => 
      array (
        
    'level' => 'debug',
        
    'file' => 
        array (
          
    'ext' => '.log',
          
    'name' => 'sugarcrm',
          
    'dateFormat' => '%c',
          
    'maxSize' => '10MB',
          
    'maxLogs' => 10,
          
    'suffix' => '%m_%Y',
        ),
      ), 

  4. #4
    jhamill is offline Sugar Community Member
    Join Date
    Sep 2004
    Posts
    70

    Default Re: issue with lack of Logging

    Unfortunately it didn't make any difference, still only logging scheduler for most part. there wasn't any errors during the upgrade..

    any idea where else I can try and take a look for this issue?

  5. #5
    sts's Avatar
    sts
    sts is offline Sugar Community Member
    Join Date
    Aug 2010
    Posts
    978

    Default Re: issue with lack of Logging

    'maxSize' seems to be wrong configured. I see in your settings that you have a max size without "MB". Sugar will need it.
    Stefan Ulrich Sauer
    System Analyst

    Devoteam Danet GmbH
    Gutenbergstraße 10
    D-64331 Weiterstadt
    Germany
    email: Stefan-Ulrich.Sauer@devoteam.com
    http://www.devoteam.de

  6. #6
    jhamill is offline Sugar Community Member
    Join Date
    Sep 2004
    Posts
    70

    Default Re: issue with lack of Logging

    Quote Originally Posted by sts View Post
    'maxSize' seems to be wrong configured. I see in your settings that you have a max size without "MB". Sugar will need it.
    hi I changed it to to MB but it's still only logging scheduler. the interesting thing is that I ran TableOptimizer from Ken Brill, and that is logging stuff stuff correctly.. it's only sugar modules that are not logging. and other ideas?

  7. #7
    kbrill's Avatar
    kbrill is offline SugarCRM PS Engineer
    Join Date
    Jul 2004
    Location
    St Louis, MO
    Posts
    3,183

    Default Re: issue with lack of Logging

    Look in config_override.php and see if there are any settings there for the logger
    Kenneth Brill - Help Forum Moderator

    I do not respond to 'Private Messages'. Please email me directly instead

    When asking for help, PLEASE give us your Server Information and Version Numbers as asked for on the 'Post New Message' screen as well as any JavaScript errors shown at the bottom of the browser window.
    Help us Help You

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 3
    Last Post: 2011-02-01, 09:12 AM
  2. (lack of) email notifications
    By idccomtek in forum Help
    Replies: 4
    Last Post: 2008-07-31, 02:59 PM
  3. Contact lists or lack thereof
    By thowden in forum Help
    Replies: 1
    Last Post: 2007-07-23, 03:42 AM
  4. HTML Validation (lack thereof)
    By synchro in forum Developer Help
    Replies: 18
    Last Post: 2007-05-28, 01:50 PM
  5. Replies: 19
    Last Post: 2007-04-13, 11:09 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
  •