fix(websocket): errors in saving client info during ping ping
This commit is contained in:
@@ -27,9 +27,10 @@ import (
|
||||
)
|
||||
|
||||
func LogServices(broadcaster chan logging.Message) {
|
||||
fmt.Println("[LogServices] started - single channel for all logs")
|
||||
logger := logging.New()
|
||||
|
||||
logger.Info("[LogServices] started - single channel for all logs", "websocket", map[string]interface{}{})
|
||||
|
||||
dsn := fmt.Sprintf("host=%s port=%s user=%s password=%s dbname=%s sslmode=disable",
|
||||
os.Getenv("DB_HOST"),
|
||||
os.Getenv("DB_PORT"),
|
||||
|
||||
Reference in New Issue
Block a user