After update to version "1.10.0-alpha7", I found pedestal/log is broken
pedestal version 0.5.4.
Here is details info in bellow
(ns io.pedestal.log
"Logging via slf4j. Each logging level is a macro: trace, debug,
info, warn, and error. Each namespace gets its own Logger. Arguments
are key-value pairs, which will be printed as with 'pr'. The special
key :exception should have a java.lang.Throwable as its value, and
will be passed separately to the underlying logging API.
One can override the logger via JVM or ENVAR settings."
(:require clojure.string)
(:import (org.slf4j Logger
LoggerFactory
MDC)
(org.slf4j.spi MDCAdapter)
(com.codahale.metrics MetricRegistry
Gauge Counter Histogram Meter
Slf4jReporter)
(com.codahale.metrics.jmx JmxReporter)
(io.opentracing Scope
Span
SpanContext
Tracer
Tracer$SpanBuilder)
(io.opentracing.log.Fields)
(io.opentracing.util GlobalTracer)
(java.util Map)
(java.util.concurrent TimeUnit)
(clojure.lang IFn)))
Error msg
Syntax error macroexpanding clojure.core/ns at (io/pedestal/log.clj:13:1).
Cause: Call to clojure.core/ns did not conform to spec.
() - failed: Insufficient input at: [:ns-clauses :import :classes
:package-list :classes] spec: :clojure.core.specs.alpha/package-list
(io.opentracing.log.Fields) - failed: simple-symbol? at: [:ns-clauses
:import :classes :class] spec: :clojure.core.specs.alpha/ns-import
:import - failed: #{:refer-clojure} at: [:ns-clauses :refer-clojure
:clause] spec: :clojure.core.specs.alpha/ns-refer-clojure
:import - failed: #{:require} at: [:ns-clauses :require :clause] spec:
:clojure.core.specs.alpha/ns-require
:import - failed: #{:use} at: [:ns-clauses :use :clause] spec:
:clojure.core.specs.alpha/ns-use
:import - failed: #{:refer} at: [:ns-clauses :refer :clause] spec:
:clojure.core.specs.alpha/ns-refer
:import - failed: #{:load} at: [:ns-clauses :load :clause] spec:
:clojure.core.specs.alpha/ns-load
:import - failed: #{:gen-class} at: [:ns-clauses :gen-class :clause] spec:
:clojure.core.specs.alpha/ns-gen-class
Br,
Mamun
On Wednesday, September 5, 2018 at 2:39:36 PM UTC+2, [email protected]
wrote:
>
> deps.edn dependency:
>
> org.clojure/clojure {:mvn/version "1.10.0-alpha7"}
>
> 1.10.0-alpha7 includes the following changes since 1.10.0-alpha6:
>
> - Update deps to latest spec.alpha (0.2.176) and core.specs.alpha
> (0.2.44)
> - CLJ-2373 <https://dev.clojure.org/jira/browse/CLJ-2373> - categorize
> and overhaul printing of exception messages at REPL
> - CLJ-1279 <https://dev.clojure.org/jira/browse/CLJ-1279> - report
> correct arity count for function arity errors inside macros
> - CLJ-2386 <https://dev.clojure.org/jira/browse/CLJ-2386> - omit
> ex-info construction stack frames
> - CLJ-2394 <https://dev.clojure.org/jira/browse/CLJ-2394> - warn in
> pst that stack trace for syntax error failed before execution
> - CLJ-2396 <https://dev.clojure.org/jira/browse/CLJ-2396> - omit :in
> clauses when printing spec function errors if using default explain printer
>
>
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
---
You received this message because you are subscribed to the Google Groups
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.