7max / log4cl

Common Lisp logging framework, modeled after Log4J
Apache License 2.0
103 stars 32 forks source link

log4cl not detecting existing package name #24

Open orthecreedence opened 10 years ago

orthecreedence commented 10 years ago

I'm getting this when doing

(defpackage :turtl
  ...)
(in-package :turtl)
(log:config '(turtl) :debu1)

Gives me:

Logger named #1=(TURTL) not found. If you want to create it, use (LOG:CONFIG (LOG:LOGGER #1#) ...) instead

Oddly enough, if I change the load order in the .asd to make the (log:config '(turtl) :debu1) later, it works. Is this possibly some kind of race condition between the package being declared and the log:config call?

Thanks for the great library. I'm using it in all my new projects.