7max/log4cl

log4cl not detecting existing package name

Opened this issue · 0 comments

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.