Permalink
Browse files

Merge branch 'dev'

  • Loading branch information...
2 parents b3b109b + 114e35d commit 0513eb80dee3917b01ec2b7ec2a7835b3f1d287e @ptaoussanis committed Feb 11, 2013
Showing with 6 additions and 4 deletions.
  1. +2 −2 README.md
  2. +1 −1 project.clj
  3. +3 −1 src/taoensso/timbre.clj
View
@@ -1,7 +1,7 @@
Current [semantic](http://semver.org/) version:
```clojure
-[com.taoensso/timbre "1.5.1"]
+[com.taoensso/timbre "1.5.2"]
```
# Timbre, a (sane) Clojure logging & profiling library
@@ -27,7 +27,7 @@ Timbre is an attempt to make **simple logging simple** and more **complex loggin
Depend on Timbre in your `project.clj`:
```clojure
-[com.taoensso/timbre "1.5.1"]
+[com.taoensso/timbre "1.5.2"]
```
and `use` the library:
View
@@ -1,4 +1,4 @@
-(defproject com.taoensso/timbre "1.5.1"
+(defproject com.taoensso/timbre "1.5.2"
:description "Clojure logging & profiling library"
:url "https://github.com/ptaoussanis/timbre"
:license {:name "Eclipse Public License"}
View
@@ -186,7 +186,9 @@
(def get-hostname
(utils/memoize-ttl
- 60000 (fn [] (.. java.net.InetAddress getLocalHost getHostName))))
+ 60000 (fn [] (try (.. java.net.InetAddress getLocalHost getHostName)
+ (catch java.net.UnknownHostException e
+ "UnknownHost")))))
(defn- wrap-appender-juxt
"Wraps compile-time appender juxt with additional runtime capabilities

0 comments on commit 0513eb8

Please sign in to comment.