Announcement

Collapse
No announcement yet.

Logging has stopped

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Logging has stopped

    A week ago my logging from EspoCRM stopped. The logs directory has previous logs but nothing current.

    Version 8.1.5
    Gigs of free disk
    Permissions set per documentation
    EspoCRM seems to be running fine.

    Config.php:
    'language' => 'en_US',
    'logger' => [
    'path' => 'data/logs/espo.log',
    'level' => 'WARNING',
    'rotation' => true,
    'maxFileNumber' => 7
    ],

    Config-internal.php
    'logger' => [
    'level' => 'WARNING', // DEBUG, INFO, NOTICE, WARNING, ERROR
    'maxFileNumber' => 7,
    'printTrace' => false, // to print an exception backtrace,
    'sql' => false, // log SQL queries
    'databaseHandler' => false // the log will be available in the UI
    ],

    There are several reasons I need to get this working again, not the least of which is preparing for an upgrade.

    Any ideas on how the logging "subsystem" can be debugged with logs?

  • #2
    Hi m1if,

    I recommend you remove all logging settings from the {ESPO_DIR}/data/config.php file and leave them only in the {ESPO_DIR}/data/config-internal.php file, as stated in the documentation: https://docs.espocrm.com/administration/log/#parameters.

    Comment


    • #3
      Thank you - worked a charm! - taking over on an installation that has been through many upgrades by my predecessor.

      Comment

      Working...
      X