Log.LogFull(senderName,LM.CategorySYSTEM,LM.LevelERROR,LM.SeverityCritical,LM.ImpactUnknown,LM.MessageNameCONFIGURATION,`Was not able to read the OceanUtilizeCPUs configuration.`,`Use the default value instead.`)
}else{
utilizeCPUs=value
}
runtime.GOMAXPROCS(utilizeCPUs)
Log.LogShort(senderName,LM.CategorySYSTEM,LM.LevelINFO,LM.MessageNameCONFIGURATION,`Configuration OceanUtilizeCPUs is set.`,fmt.Sprintf(`value=%d`,utilizeCPUs))
Log.LogFull(senderName,LM.CategorySYSTEM,LM.LevelERROR,LM.SeverityCritical,LM.ImpactUnknown,LM.MessageNameCONFIGURATION,`Was not able to read the LogBufferSize configuration.`,`Use the default value instead.`)
}else{
logBufferSize=value
}
Log.SetBufferSize(logBufferSize)
Log.LogShort(senderName,LM.CategorySYSTEM,LM.LevelINFO,LM.MessageNameCONFIGURATION,`Configuration LogBufferSize is set.`,fmt.Sprintf(`value=%d`,logBufferSize))
// Set the logging device delay (number of events):
Log.LogFull(senderName,LM.CategorySYSTEM,LM.LevelERROR,LM.SeverityCritical,LM.ImpactUnknown,LM.MessageNameCONFIGURATION,`Was not able to read the LogDeviceDelayNumberEvents configuration.`,`Use the default value instead.`)
Log.LogShort(senderName,LM.CategorySYSTEM,LM.LevelINFO,LM.MessageNameCONFIGURATION,`Configuration LogDeviceDelayNumberEvents is set.`,fmt.Sprintf(`value=%d`,logDeviceDelayNumberEvents))
// Set the logging device delay time to flush (seconds):
Log.LogFull(senderName,LM.CategorySYSTEM,LM.LevelERROR,LM.SeverityCritical,LM.ImpactUnknown,LM.MessageNameCONFIGURATION,`Was not able to read the LogDeviceDelayTime2FlushSeconds configuration.`,`Use the default value instead.`)
Log.LogShort(senderName,LM.CategorySYSTEM,LM.LevelINFO,LM.MessageNameCONFIGURATION,`Configuration LogDeviceDelayTime2FlushSeconds is set.`,fmt.Sprintf(`value=%d`,logDeviceDelayTime2FlushSeconds))
Log.LogFull(senderName,LM.CategorySYSTEM,LM.LevelERROR,LM.SeverityCritical,LM.ImpactUnknown,LM.MessageNameCONFIGURATION,`Was not able to read the LogTimeoutSeconds configuration.`,`Use the default value instead.`)
}else{
logTimeoutSeconds=value
}
Log.SetTimeoutSeconds(logTimeoutSeconds)
Log.LogShort(senderName,LM.CategorySYSTEM,LM.LevelINFO,LM.MessageNameCONFIGURATION,`Configuration LogTimeoutSeconds is set.`,fmt.Sprintf(`value=%d`,logTimeoutSeconds))