Error: issue #139; added log_error() method