Move nats-server to gnatsd on logging

This commit is contained in:
Derek Collison
2013-10-18 13:03:11 -07:00
parent 6d0f200aca
commit ee4568883e
2 changed files with 3 additions and 3 deletions

View File

@@ -118,7 +118,7 @@ func New(opts *Options) *Server {
s.handleSignals()
Logf("Starting nats-server version %s", VERSION)
Logf("Starting gnatsd version %s", VERSION)
s.running = true
@@ -267,7 +267,7 @@ func (s *Server) AcceptLoop() {
return
}
Logf("nats-server is ready")
Logf("gnatsd is ready")
// Setup state that can enable shutdown
s.mu.Lock()

View File

@@ -9,7 +9,7 @@ import (
"testing"
)
var startRe = regexp.MustCompile(`\["Starting nats-server version\s+([^\s]+)"\]\n`)
var startRe = regexp.MustCompile(`\["Starting gnatsd version\s+([^\s]+)"\]\n`)
func TestLogFile(t *testing.T) {
opts := DefaultTestOptions