diff --git a/src/datahike/cli.clj b/src/datahike/cli.clj index 7086f1f9..0f8cad6a 100644 --- a/src/datahike/cli.clj +++ b/src/datahike/cli.clj @@ -16,6 +16,13 @@ ;; This file is following https://github.com/clojure/tools.cli +(log/merge-config! + {:appenders {:println {:doc "Always prints to *err*" + :enabled? true + :fn (fn log-to-stderr [{:keys [output_]}] + (binding [*out* *err*] + (println (force output_))))}}}) + (defn usage [options-summary] (->> [datahike-logo "This is the Datahike command line interface."