       fileLogger.log text
 
   catch ex
-    Logger.rootLogger.error '!! error registering file logger: ', ex
+    rootLogger.error '!! error registering file logger: ', ex
 
 
 module.exports = Logger

Logger.getFileAppender = ->
  return fileAppender if fileAppender

  Logger.rootLogger.debug 'Registering file logger'

  try
    # Wesabe Logger registration - if not already registered.

    @_enabled = enabled


  constructor: (@name='', @_parent=rootLogger) ->
    @_enabled = null

  @__defineGetter__ 'rootLogger', ->
