avisonovate / logging Goto Github PK
View Code? Open in Web Editor NEWEasy setup of clojure.tools.logging w/ SLF4j, plus request correlation
License: Apache License 2.0
Easy setup of clojure.tools.logging w/ SLF4j, plus request correlation
License: Apache License 2.0
Hello,
I juste tried to setup aviso, in a simple file I have :
(ns myns.core
(:require [io.aviso.logging.setup]))
This leads to the following error :
Syntax error macroexpanding clojure.core/ns at (logging.clj:1:1).
() - failed: Insufficient input at: [:ns-clauses :import :classes :package-list :classes] spec: :clojure.core.specs.alpha/package-list
[java.lang.Thread$UncaughtExceptionHandler] - failed: simple-symbol? at: [:ns-clauses :import :classes :class] spec: :clojure.core.specs.alpha/import-list
: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
I found a syntax error in your setup.clj ns declaration :
(:require io.aviso.logging.correlation
[io.aviso.repl :as repl]
[io.aviso.logging :as logging])
The io.aviso.logging.correlation
require is missing the surrounding brackets.
I forked the repo and fixed it (and a bunch of other fix as well), everything seems to be working fine.
I can send you a pull requests if they are welcome.
Thanks.
Nabil
Probably a ”dumb question”
There is a 404 on the drone.io CI badge.
https://nvd.nist.gov/vuln/detail/CVE-2017-5929
Logback 1.1.8 has a security vulnerability.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.