1

How to run a minishift with debug logging level? I tried

minishift logs --v 8 -f

but it doesn't work. According to the https://access.redhat.com/solutions/2216951 (requires a RedHat developer account to view the full version) 8 log level should be what I need.

0 - Errors and warnings only
2 - Normal information
4 - Debugging-level information
6 - API-level debugging information (request / response)
8 - Body-level API debugging information 
  • 1
    Have you tried supplying the ``--server-loglevel`` option when running ``minishift start``? See ``minishift start --help`` for details of options. – Graham Dumpleton Aug 08 '17 at 23:53

1 Answers1

7

It should be run as

minishift start --show-libmachine-logs -v 5

where

  • --show-libmachine-logs will show libmachine logs
  • -v n - shows n level deep logs

More here https://docs.openshift.org/latest/minishift/command-ref/minishift_start.html.

Dhanu Gurung
  • 8,480
  • 10
  • 47
  • 60