-
Notifications
You must be signed in to change notification settings - Fork 97
HTTP Server logs to System/out #218
Comments
Hi!
I don't immediately have an answer to those questions, maybe you're looking
for the mailing list?
…On Aug 18, 2017 14:08, "Abhinav Sharma" ***@***.***> wrote:
Hi @plexus <https://github.com/plexus>
This template is an absolute life saver 👍
Could you please tell me how to disable logging?
For my use-case it's more of a distraction. Also, is there a way to switch
to a nashorn/ rhino repl instead of the browser repl as far as
clojurescript is concerned?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#218>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAB91MPpRt8WiUILCTR2eBIGtfRzyN3Yks5sZX68gaJpZM4O7eCr>
.
|
There was a recent change here with removing onelog, which in the past, set up all http logging to fall under You'll now need to explicitly include onelog to get back logging config. Include this in your project dependencies: See relevant commit here: @plexus I know we're trying to remove a conflict with different log versions, but should we have a log4j/onelog implementation included by default? |
No idea... I'd have to dig into this. Happy to take your advice on this. |
I'd recommend adding the onelog dependency by default, and if a user is doing a fancier logging setup, they'll have full control over changing it, since the referenced commit. |
Sounds good! Sorry I'm a bit swamped with other stuff at the moment... anyone wants to cook up a PR? |
No worries, I'll create one later today
…On Aug 18, 2017 7:11 AM, "Arne Brasseur" ***@***.***> wrote:
Sounds good! Sorry I'm a bit swamped with other stuff at the moment...
anyone wants to cook up a PR?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#218 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABQuJo4MO_v4mb9vTIcVPD4ZgG0c2ohNks5sZZujgaJpZM4O7eCr>
.
|
Sweet!
…On 18 August 2017 at 16:56, Jeff Wong ***@***.***> wrote:
No worries, I'll create one later today
On Aug 18, 2017 7:11 AM, "Arne Brasseur" ***@***.***> wrote:
> Sounds good! Sorry I'm a bit swamped with other stuff at the moment...
> anyone wants to cook up a PR?
>
> —
> You are receiving this because you commented.
> Reply to this email directly, view it on GitHub
> <#218 (comment)>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/ABQuJo4MO_
v4mb9vTIcVPD4ZgG0c2ohNks5sZZujgaJpZM4O7eCr>
> .
>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#218 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAB91CeT_JbSH_XwUCQRTLeK6asblyIRks5sZaYdgaJpZM4O7eCr>
.
--
I create beautiful Clojure and ClojureScript screencasts @
https://lambdaisland.com
|
Hey, @plexus and @featheredtoast thanks for being so responsive on this :) However, adding SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/Users/eklavya/.m2/repository/org/slf4j/slf4j-nop/1.6.2/slf4j-nop-1.6.2.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/Users/eklavya/.m2/repository/org/slf4j/slf4j-log4j12/1.7.7/slf4j-log4j12-1.7.7.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
|
The following exclusion resolves this
I'll be closing this now as my original issue is perfectly solved. However, could you please tell me how could I hook into the nashorn/ rhino repl using the template instead of the browser? |
I honestly don't know enough about running cljs over nashorn/node to speak to that, sorry. This template makes some firm assumptions using clj for server-side, and cljs for client-side. If you're interested in cljs server-side, this would best be asked in #clojurescript on the clojurians slack. |
Adds a default log setup through onelogger. this dependency no longer is shipped with the newer version of ring.middleware.logger, so we need to explicitly include it. closes plexus#218
Adds a default log setup through clj-logging-config. a log4j dependency is no longer is shipped with the newer version of ring.middleware.logger, so we need to explicitly include it. closes plexus#218
Hi @plexus
This template is an absolute life saver 👍
Could you please tell me how to disable logging?
For my use-case it's more of a distraction. Also, is there a way to switch to a nashorn/ rhino repl instead of the browser repl as far as clojurescript is concerned?
The text was updated successfully, but these errors were encountered: