pyxecm 1.4__py3-none-any.whl → 1.5__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of pyxecm might be problematic. Click here for more details.

pyxecm/customizer/k8s.py CHANGED
@@ -263,7 +263,7 @@ class K8s:
263
263
  if not pod:
264
264
  logger.error("Pod -> %s does not exist", pod_name)
265
265
 
266
- logger.info("Execute command -> %s in pod -> %s", command, pod_name)
266
+ logger.debug("Execute command -> %s in pod -> %s", command, pod_name)
267
267
 
268
268
  retry_counter = 1
269
269
 
@@ -292,7 +292,7 @@ class K8s:
292
292
  )
293
293
  retry_counter = retry_counter + 1
294
294
  exception = exc
295
- logger.info("Wait %s seconds before next retry...", str(time_retry))
295
+ logger.debug("Wait %s seconds before next retry...", str(time_retry))
296
296
  time.sleep(time_retry)
297
297
  continue
298
298
 
@@ -371,17 +371,17 @@ class K8s:
371
371
  got_response = False
372
372
  response.update(timeout=timeout)
373
373
  if response.peek_stdout():
374
- logger.info(response.read_stdout().replace("\n", " "))
374
+ logger.debug(response.read_stdout().replace("\n", " "))
375
375
  got_response = True
376
376
  if response.peek_stderr():
377
377
  if write_stderr_to_error_log:
378
378
  logger.error(response.read_stderr().replace("\n", " "))
379
379
  else:
380
- logger.info(response.read_stderr().replace("\n", " "))
380
+ logger.debug(response.read_stderr().replace("\n", " "))
381
381
  got_response = True
382
382
  if commands:
383
383
  command = commands.pop(0)
384
- logger.info("Execute command -> %s in pod -> %s", command, pod_name)
384
+ logger.debug("Execute command -> %s in pod -> %s", command, pod_name)
385
385
  response.write_stdin(command + "\n")
386
386
  else:
387
387
  # We continue as long as we get some response during timeout period
@@ -888,7 +888,7 @@ class K8s:
888
888
  backend = path.backend
889
889
  service = backend.service
890
890
 
891
- logger.info(
891
+ logger.debug(
892
892
  "Replace backend service -> %s (%s) with new backend service -> %s (%s)",
893
893
  service.name,
894
894
  service.port.number,