Re: changes in logging in 1.8?

2016-03-15 Thread Nicola Mometto
Unlikely, as the default behaviour hasn't changed.

Nicola

> On 15 Mar 2016, at 12:27, Stuart Sierra  wrote:
> 
> Not sure, but possible related to http://dev.clojure.org/jira/browse/CLJ-1208 
> "Namespace is not loaded on defrecord class init"
> –S
> 
> On Friday, March 11, 2016 at 12:20:44 AM UTC-5, Andy L wrote:
> Hi,
> 
> I noticed that after upgrade to Clojure  1.8.0 (from 1.7.0) a weird 
> occurrence of logging, even during uberjar generation which looks like this, 
> using lein 2.5.3:
> 
> $ lein uberjar
> Compiling core
> 2016-03-10 22:11:23.030:INFO::main: Logging initialized @964ms
> 
> I believe that actual log is pegged from here 
> https://github.com/eclipse/jetty.project/blob/master/jetty-util/src/main/java/org/eclipse/jetty/util/log/Log.java#L186
>  , which gniazdo depend on.
> 
> I spend some time trying to better understand the underlying cause but failed 
> to do so. My questions are:
>  1) why client code would be executed during uberjar generation (provided my 
> assumption is valid)?
>  2) what changed in 1.8 to cause that?
> 
> Thanks in advance,
> Andy
> 
> 
> = sources 
> $ cat project.clj src/core.clj
> (defproject tmp "0.1.0-SNAPSHOT"
>   :dependencies [[org.clojure/clojure "1.8.0"] [stylefruits/gniazdo "0.4.1"]]
>   :profiles {:uberjar {:aot :all}})
> (ns core
>   (:require [gniazdo.core :as ws]))
> 
> --
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to clojure@googlegroups.com
> Note that posts from new members are moderated - please be patient with your 
> first post.
> To unsubscribe from this group, send email to
> clojure+unsubscr...@googlegroups.com
> 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 clojure+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
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 clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


signature.asc
Description: Message signed with OpenPGP using GPGMail


Re: changes in logging in 1.8?

2016-03-15 Thread Stuart Sierra
Not sure, but possible related to 
http://dev.clojure.org/jira/browse/CLJ-1208 "Namespace is not loaded on 
defrecord class init"
–S

On Friday, March 11, 2016 at 12:20:44 AM UTC-5, Andy L wrote:
>
> Hi,
>
> I noticed that after upgrade to Clojure  1.8.0 (from 1.7.0) a weird 
> occurrence of logging, even during uberjar generation which looks like 
> this, using lein 2.5.3:
>
> $ lein uberjar 
> Compiling core
> 2016-03-10 22:11:23.030:INFO::main: Logging initialized @964ms
>
> I believe that actual log is pegged from here 
> https://github.com/eclipse/jetty.project/blob/master/jetty-util/src/main/java/org/eclipse/jetty/util/log/Log.java#L186
>  
> , which gniazdo depend on. 
>
> I spend some time trying to better understand the underlying cause but 
> failed to do so. My questions are:
>  1) why client code would be executed during uberjar generation (provided 
> my assumption is valid)?
>  2) what changed in 1.8 to cause that?
>
> Thanks in advance,
> Andy
>
>
> = sources 
> $ cat project.clj src/core.clj 
> (defproject tmp "0.1.0-SNAPSHOT"
>   :dependencies [[org.clojure/clojure "1.8.0"] [stylefruits/gniazdo 
> "0.4.1"]]
>   :profiles {:uberjar {:aot :all}})
> (ns core
>   (:require [gniazdo.core :as ws]))
>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
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 clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


changes in logging in 1.8?

2016-03-12 Thread Daniel
Something in profiles.clj causing the application to be evaluated?

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
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 clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


changes in logging in 1.8?

2016-03-10 Thread Andy L
Hi,

I noticed that after upgrade to Clojure  1.8.0 (from 1.7.0) a weird
occurrence of logging, even during uberjar generation which looks like
this, using lein 2.5.3:

$ lein uberjar
Compiling core
2016-03-10 22:11:23.030:INFO::main: Logging initialized @964ms

I believe that actual log is pegged from here
https://github.com/eclipse/jetty.project/blob/master/jetty-util/src/main/java/org/eclipse/jetty/util/log/Log.java#L186
, which gniazdo depend on.

I spend some time trying to better understand the underlying cause but
failed to do so. My questions are:
 1) why client code would be executed during uberjar generation (provided
my assumption is valid)?
 2) what changed in 1.8 to cause that?

Thanks in advance,
Andy


= sources 
$ cat project.clj src/core.clj
(defproject tmp "0.1.0-SNAPSHOT"
  :dependencies [[org.clojure/clojure "1.8.0"] [stylefruits/gniazdo
"0.4.1"]]
  :profiles {:uberjar {:aot :all}})
(ns core
  (:require [gniazdo.core :as ws]))

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
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 clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.