How To Enable mpathadm Debug Logs - syslog to user.debug (Doc ID 1478345.1)

Last updated on SEPTEMBER 08, 2016

Applies to:

Solaris Operating System - Version 10 11/06 U3 and later
Information in this document applies to any platform.

Symptoms

Each time the mpathadm command is executed, potentially hundreds or thousands of messages from mpathadm are logged to syslog:

Feb 4 00:03:21 server1 mpathadm[15107]: [ID 268507 user.debug] MP-API (SUN) Plugin: Initialize(): - enter
Feb 4 00:03:21 server1 mpathadm[15107]: [ID 224042 user.debug] MP-API (SUN) Plugin: init_sysevents(): - enter
Feb 4 00:03:21 server1 mpathadm[15107]: [ID 956030 user.debug] MP-API (SUN) Plugin: init_sysevents(): - exit
Feb 4 00:03:21 server1 mpathadm[15107]: [ID 738677 user.debug] MP-API (SUN) Plugin: Initialize(): - init_sysevents() returned 0
Feb 4 00:03:21 server1 mpathadm[15107]: [ID 441298 user.debug] MP-API (SUN) Plugin: Initialize(): - exit
Feb 4 00:03:21 server1 mpathadm[15107]: [ID 491854 user.debug] MP-API (SUN) Plugin: MP_GetPluginPropertiesPlugin(): - enter
Feb 4 00:03:21 server1 mpathadm[15107]: [ID 253631 user.debug] MP-API (SUN) Plugin: MP_GetPluginPropertiesPlugin(): IOCTL call returned: 0
Feb 4 00:03:21 server1 mpathadm[15107]: [ID 789946 user.debug] MP-API (SUN) Plugin: MP_GetPluginPropertiesPlugin(): - exit
Feb 4 00:03:21 server1 mpathadm[15107]: [ID 730576 user.debug] MP-API (SUN) Plugin: MP_GetMultipathLusPlugin(): - enter
Feb 4 00:03:21 server1 mpathadm[15107]: [ID 275158 user.debug] MP-API (SUN) Plugin: getOidList(): - enter
Feb 4 00:03:21 server1 mpathadm[15107]: [ID 821928 user.debug] MP-API (SUN) Plugin: getOidList(): - numNodes: 373
Feb 4 00:03:21 server1 mpathadm[15107]: [ID 912093 user.debug] MP-API (SUN) Plugin: getOidList(): - exit
Feb 4 00:03:21 server1 mpathadm[15107]: [ID 814327 user.debug] MP-API (SUN) Plugin: createOidList(): - enter
Feb 4 00:03:21 server1 mpathadm[15107]: [ID 123078 user.debug] MP-API (SUN) Plugin: createOidList(): - exit(373)
Feb 4 00:03:21 server1 mpathadm[15107]: [ID 275158 user.debug] MP-API (SUN) Plugin: getOidList(): - enter
Feb 4 00:03:21 server1 mpathadm[15107]: [ID 169879 user.debug] MP-API (SUN) Plugin: getOidList(): - instance number is: 1b
Feb 4 00:03:21 server1 mpathadm[15107]: [ID 169880 user.debug] MP-API (SUN) Plugin: getOidList(): - instance number is: 1c
Feb 4 00:03:21 server1 mpathadm[15107]: [ID 673194 user.debug] MP-API (SUN) Plugin: getOidList(): - instance number is: 16e
Feb 4 00:03:21 server1 mpathadm[15107]: [ID 914259 user.debug] MP-API (SUN) Plugin: getOidList(): - instance number is: 180
Feb 4 00:03:21 server1 mpathadm[15107]: [ID 914260 user.debug] MP-API (SUN) Plugin: getOidList(): - instance number is: 181
Feb 4 00:03:21 server1 mpathadm[15107]: [ID 914263 user.debug] MP-API (SUN) Plugin: getOidList(): - instance number is: 184
Feb 4 00:03:21 server1 mpathadm[15107]: [ID 914262 user.debug] MP-API (SUN) Plugin: getOidList(): - instance number is: 183
Feb 4 00:03:21 server1 mpathadm[15107]: [ID 914261 user.debug] MP-API (SUN) Plugin: getOidList(): - instance number is: 182
...
Feb 4 00:03:21 server1 mpathadm[15107]: [ID 561006 user.debug] MP-API (SUN) Plugin: getOidList(): - instance number is: 1d0
Feb 4 00:03:21 server1 mpathadm[15107]: [ID 561007 user.debug] MP-API (SUN) Plugin: getOidList(): - instance number is: 1d1

We want to get rid of them, do not want these messages to be seen on the messages files.

Changes

This also results in hundreds or thousands of messages logged to /var/adm/messages each time the mpathadm command is executed if syslog.conf has been configured such that user.debug is logged to /var/adm/messages.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms