<commit_before>package main

import (
	"crypto/tls"
	"encoding/json"
	"errors"
	"io"
	"io/ioutil"
	"log"
	"log/syslog"
	"net/http"
	"os"
	"os/signal"
	"syscall"
	"time"
)

var logger *log.Logger

func init() {
	logwriter, err := syslog.New(syslog.LOG_NOTICE, "go-cddns")
	if err != nil {
		panic("Unable to log to syslog")
	}
	logger = log.New(io.MultiWriter(logwriter, os.Stdout), "go-cddns:", log.Lshortfile)
}

func main() {

	// Parse command line flags
	opts := parseCommandLineFlags()

	//	Read config file
	file, err := ioutil.ReadFile(opts.Filename)<commit_msg>No longer logs to syslog, only stdout from here on out.<commit_after>package main

import (
	"crypto/tls"
	"encoding/json"
	"errors"
	"io"
	"io/ioutil"
	"log"
	"net/http"
	"os"
	"os/signal"
	"syscall"
	"time"
)

var logger *log.Logger

func init() {
	logger = log.New(io.Writer(os.Stdout), "go-cddns:", log.Lshortfile)
}

func main() {

	// Parse command line flags
	opts := parseCommandLineFlags()

	//	Read config file
	file, err := ioutil.ReadFile(opts.Filename)
{'fraction_non_alphanumeric': 0.16150870406189555, 'fraction_numerical': 0.0, 'mean_word_length': 3.9285714285714284, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, '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': '2569273', 'n_tokens_mistral': 433, 'n_tokens_neox': 422, 'n_words': 97}