Permalink
Browse files

Remove some left over logging

  • Loading branch information...
1 parent 1b9d778 commit 697ba5a5805f291b6e34efd1527cabc5e63b5f7c @dbrain committed Jun 5, 2012
Showing with 0 additions and 2 deletions.
  1. +0 −2 staticservermiddleware.go
@@ -5,7 +5,6 @@ import (
"path/filepath"
"strings"
"os"
- "log"
)
type StaticServerMiddleware struct {
@@ -28,7 +27,6 @@ func (staticServer *StaticServerMiddleware) Execute(ctx *Context) {
if (req.Method == GET_METHOD || req.Method == HEAD_METHOD) && staticServer.IsValidForPath(req.RelativePath) {
staticPath := ctx.Server.Config[CONFIG_STATIC_PATH].(string)
staticFile := filepath.Join(staticPath, staticServer.GetRelativeFilePath(req.RelativePath))
- log.Println("Filepath is", staticFile)
if stat, err := os.Stat(staticFile); err == nil && !stat.IsDir() {
http.ServeFile(ctx.Res, req.OriginalRequest, staticFile)
} else {

0 comments on commit 697ba5a

Please sign in to comment.