mirror of
https://github.com/therootcompany/telebit.git
synced 2025-12-23 22:08:47 +00:00
- got too cute with the package names, needed to bring everything into one package, except for packer. - system is passing traffic now, ran a load test generating 1000 connections, seems ok. - removed a lot of message logging since traffic is passing.
18 lines
313 B
Go
18 lines
313 B
Go
package connectiontrack
|
|
|
|
import (
|
|
"log"
|
|
"os"
|
|
)
|
|
|
|
var (
|
|
loginfo *log.Logger
|
|
logdebug *log.Logger
|
|
logFlags = log.Ldate | log.Lmicroseconds | log.Lshortfile
|
|
)
|
|
|
|
func init() {
|
|
loginfo = log.New(os.Stdout, "INFO: connectiontrack: ", logFlags)
|
|
logdebug = log.New(os.Stdout, "DEBUG: connectiontrack:", logFlags)
|
|
}
|