I received this question today around how to increase the Storage IO Control logging level. I knew either Frank or I wrote about this in the past but I couldn’t find it… which made sense as it was actually documented in our book. I figured I would dump the blurp in to an article so that everyone who needs it for whatever reason can use it.
Sometimes it is necessary to troubleshoot your environment and having logs to review is helpful in determining what is actually happening. By default, SIOC logging is disabled, but it should be enabled before collecting logs. To enable logging:
- Click Host Advanced Settings.
- In the Misc section, select the Misc.SIOControlLogLevel parameter. Set the value to 7 for complete logging. (Min value: 0 (no logging), Max value: 7)
- SIOC needs to be restarted to change the log level, to stop and start SIOC manually, use: /etc/init.d/storageRM {start|stop|status|restart}
- After changing the log level, you see the log level changes logged in /var/log/vmkernel
Please note that SIOC log files are saved in /var/log/vmkernel.