Skip to content

Instantly share code, notes, and snippets.

@jayunit100
Created March 29, 2013 20:06
Show Gist options
  • Save jayunit100/5273274 to your computer and use it in GitHub Desktop.
Save jayunit100/5273274 to your computer and use it in GitHub Desktop.
lein repl bug? or am i crazy.
jays-MacBook-Pro:logging jayunit100$ lein run -m logging.core
Hello, World!
log4j:WARN No appenders could be found for logger (logging.core).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
jays-MacBook-Pro:logging jayunit100$ lein repl
nREPL server started on port 60145
REPL-y 0.1.0-beta8
Clojure 1.4.0
Exit: Control+D or (exit) or (quit)
Commands: (user/help)
Docs: (doc function-name-here)
(find-doc "part-of-name-here")
Source: (source function-name-here)
(user/sourcery function-name-here)
Javadoc: (javadoc java-object-or-class-here)
Examples from clojuredocs.org: [clojuredocs or cdoc]
(user/clojuredocs name-here)
(user/clojuredocs "ns-here" "name-here")
user=> (use [clojure.tools.logging :only (info error)])
CompilerException java.lang.ClassNotFoundException: clojure.tools.logging, compiling:(NO_SOURCE_PATH:1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment