Logging doesn't seem to output to sugarcrm.log

We are using Sugar Community Edition version 6.2.

Only MysqlManager.php seems to print to sugarcrm.log:
$GLOBALS['log']->info('Query Execution Time:'.$this->query_time);

My own logs in logic hooks and other files, using the same above syntax, do not print anything to the logfile. No idea why.
 
Logging is turned on and set to "debug" in the admin panel, and config.php  has the right info:


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



What could be wrong?
Parents
  • Thanks for the swift response.  The current directory of the logfile is sugar's root directory, which I'm pretty sure is the default--am I safe in changing the owner of this directory...? I could just change the log location, in the config file to something new, but I'm paranoid about that as well.
Reply
  • Thanks for the swift response.  The current directory of the logfile is sugar's root directory, which I'm pretty sure is the default--am I safe in changing the owner of this directory...? I could just change the log location, in the config file to something new, but I'm paranoid about that as well.
Children
No Data