   "Handle an http error during retrieval of URL with STATUS code."
   (cl-incf (elfeed-meta (elfeed-db-get-feed url) :failures 0))
   (run-hook-with-args 'elfeed-http-error-hooks url status)
-  (message "Elfeed fetch failed for %s: %S" url status))
+  (elfeed-log 'error "Elfeed fetch failed for %s: %S" url status))
 
 (defun elfeed-handle-parse-error (url error)
   "Handle parse error during parsing of URL with ERROR message."
   (cl-incf (elfeed-meta (elfeed-db-get-feed url) :failures 0))
   (run-hook-with-args 'elfeed-parse-error-hooks url error)
-  (message "Elfeed parse failed for %s: %s" url error))
+  (elfeed-log 'error "Elfeed parse failed for %s: %s" url error))
 
 (defun elfeed-update-feed (url)
   "Update a specific feed."

  (elfeed-update-feed url)
  (elfeed-search-update :force))

;;;###autoload
(defun elfeed-update ()
  "Update all the feeds in `elfeed-feeds'."
  (interactive)
  (message "Elfeed update: %s" (format-time-string "%B %e %Y %H:%M:%S %Z"))
  (mapc #'elfeed-update-feed (elfeed--shuffle (elfeed-feed-list)))
  (elfeed-search-update :force)
  (elfeed-db-save))

    (prog1 (setf elfeed-feeds (cl-delete-duplicates full :test #'string=))
      (when (called-interactively-p 'any)
        (customize-save-variable 'elfeed-feeds elfeed-feeds)
        (elfeed-log 'notice "%d feeds loaded from %s" (length feeds) file)))))

;;;###autoload
(defun elfeed-export-opml (file)
