added service code

alpha v1.0.74
alex 2023-03-04 08:42:39 +01:00
parent eb92bde02e
commit 6bedd358d9
1 changed files with 3 additions and 3 deletions

View File

@ -56,13 +56,13 @@ func InitLogger(debug bool, colorizedOutput bool, rabbitMqLogging bool, rabbitMq
}
if rabbitMqLogging {
randSource := rand.NewSource(time.Now().UnixNano())
randGenerator = rand.New(randSource)
gServiceCode = randomServiceCode()
gServiceName = serviceName
gServiceType = serviceType
randSource := rand.NewSource(time.Now().UnixNano())
randGenerator = rand.New(randSource)
logsClient = NewClient(
ExchangeSettings{},
QueueSettings{