Skip to content

Commit

Permalink
removed log file prefix. added more meaning prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
paulosuzart committed Jul 23, 2011
1 parent b50602a commit 3c4b0a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gb.go
Expand Up @@ -24,12 +24,12 @@ var (
)

func init() {
log.SetFlags(log.Lshortfile)
flag.Parse()
log.Printf("Starting in %s mode - %s", *mode, *hostAddr)
}

func main() {
log.SetPrefix("[" + *mode + "@" + *hostAddr +"]")

ctrlChan := make(chan bool)
switch *mode {
Expand Down

0 comments on commit 3c4b0a6

Please sign in to comment.