Skip to content

Commit

Permalink
Merge branch 'troyk-add-env-to-listening-on-notice'
Browse files Browse the repository at this point in the history
  • Loading branch information
codegangsta committed May 10, 2014
2 parents a99b738 + e040ac8 commit 234dc6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion martini.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ func (m *Martini) Run() {

logger := m.Injector.Get(reflect.TypeOf(m.logger)).Interface().(*log.Logger)

logger.Println("listening on " + host + ":" + port)
logger.Printf("listening on %s:%s (%s)\n", host, port, Env)
logger.Fatalln(http.ListenAndServe(host+":"+port, m))
}

Expand Down

0 comments on commit 234dc6b

Please sign in to comment.