clean log

This commit is contained in:
Chris Lu
2012-08-24 01:15:27 -07:00
parent 869a6711bc
commit 09ed882e5f
7 changed files with 40 additions and 14 deletions

View File

@@ -2,7 +2,6 @@ package directory
import (
"encoding/hex"
"log"
"pkg/storage"
"strings"
"pkg/util"
@@ -20,7 +19,7 @@ func NewFileId(VolumeId storage.VolumeId, Key uint64, Hashcode uint32) *FileId {
func ParseFileId(fid string) *FileId{
a := strings.Split(fid, ",")
if len(a) != 2 {
log.Println("Invalid fid", fid, ", split length", len(a))
println("Invalid fid", fid, ", split length", len(a))
return nil
}
vid_string, key_hash_string := a[0], a[1]