         if not @options.directory.match(/^\//)
             @options.directory = path.normalize(process.cwd() + "/" + @options.directory)
 
-        # Overwrite console if we are in quiet mode
+        # Overwrite logger if we are in quiet mode
         if @options.quiet and not @options.verbose
-            console["log"] = ->
+            logger = ->
 
         # Create the server
         @server = connect()

                try
                    res.setHeader "Content-Type", "text/plain"
                catch error
                    console.log error
                next()

        # Serve the files

path = require "path"
fs = require "fs"
http = require "http"

connect = require "connect"
colors = require "colors"

logger = ->
    for key, value of arguments
        process.stdout.write value + " "
    process.stdout.write "\n"

directoryIndex = (directory, options) ->
    return (req, res, next) ->
