I turned on logging module, it works, but no logs in log_customer or log_visitor. Those tables are empty. What else can block logging? Magento 1.9

enter image description here


Found what was wrong. Someone from earlier extended Mage_Log_Model_Visitor and changed

protected $_skipRequestLogging = false;

to true. So it was skipping here:

public function saveByRequest($observer)
    if ($this->_skipRequestLogging || $this->isModuleIgnored($observer)) {
        return $this;

    try {
    } catch (Exception $e) {
    return $this;

That was stopping from all logging, even if in config it was on.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.