<commit_before>package logsrvc

import (
        "flag"
	"fmt"
	"testing"
)

var (
        logSrv string
        logger *Logger
)

func init() {
        flAddr := flag.String("a", "127.0.0.1:5988", "address of log server")
        flag.Parse()
        logSrv = *flAddr
}

func TestConnect(t *testing.T) {
	var err error

	logger, err = Connect("test-client", logSrv)
	if err != nil {
		fmt.Printf("[!] error setting up test client: %s\n", err.Error())
		t.FailNow()
	}
}
<commit_msg>Change flag for remote server address in test file.<commit_after>package logsrvc

import (
        "flag"
	"fmt"
	"testing"
)

var (
        logSrv string
        logger *Logger
)

func init() {
        flAddr := flag.String("address", "127.0.0.1:5988", "address of log server")
        flag.Parse()
        logSrv = *flAddr
}

func TestConnect(t *testing.T) {
	var err error

	logger, err = Connect("test-client", logSrv)
	if err != nil {
		fmt.Printf("[!] error setting up test client: %s\n", err.Error())
		t.FailNow()
	}
}

{'fraction_non_alphanumeric': 0.15148514851485148, 'fraction_numerical': 0.019801980198019802, 'mean_word_length': 2.6630434782608696, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2203608', 'n_tokens_mistral': 381, 'n_tokens_neox': 370, 'n_words': 98}