How do I set advanced logging from the command line using nhiSetAdvLog (Legacy KB ID CNC TS23113 )
search cancel

How do I set advanced logging from the command line using nhiSetAdvLog (Legacy KB ID CNC TS23113 )

book

Article ID: 51977

calendar_today

Updated On:

Products

CA eHealth

Issue/Introduction

nhiSetAdvLog is a new command line utility introduced in eHealth 6.0 to set and clear advanced logging functions from the CLI.

$NH_HOME/bin/sys/nhiSetAdvLog -h

Usage:   nhiSetAdvLog <options>
nhiSetAdvLog allows for setting/viewing/clearing Advanced Logging Settings for various eHealth programs.


nhiSetAdvLog [ -h ] [ -rev ]  -status - -clear <debugSettings> - -set <debugSettings> - -logPath <path>


-h   (Optional) Displays this command usage.


-rev (Optional) Displays the eHealth software revision.


-status
     (Optional) Displays the current Advanced Logging Settings


-clear <analyzeDb - arController - bsc - configuration - console - convPoller - db - dbLoad - dbRollup - dbSave - dbAnalysis - discover - fastPoller - importPoller - leBaseline - leHistory - le - messaging - notifier - oceServer - regStats- remoteCommServices - replDriver - replServer - respServer - reports - snmp - statsPoller>
     (Optional)  Clears Advanced Logging setting for specified programs;  programs are specifed as a list separated by '-'; specifying "all"  will clear advanced logging for all programss.


-set <analyzeDb - arController - bsc - configuration - console - convPoller - db - dbLoad - dbRollup - dbSave - dbAnalysis - discover - fastPoller - importPoller - leBaseline - leHistory - le - messaging - notifier - oceServer - regStats -remoteCommServices - replDriver - replServer - respServer - reports - snmp - statsPoller>
     (Optional)  Sets Advanced Logging setting for specified programs;   programs are specifed as a list separated by '-'; specifying "all"   will set advanced logging for all programs.


-logPath <path>
     (Optional) Sets the file path for Advanced Logging.


The following example shows the current settings on the system:


nhiSetAdvLog -status


The following example sets debugging for all processes:


nhiSetAdvLog -set all


The following example sets debugging for specific processes:


nhiSetAdvLog -set "db-configuration"


The following example clears debugging for specific processes:


nhiSetAdvLog -clear "db-configuration"

.

Related Issues/Questions:
how do i set advanced logging from the command line?
How do I use advanced logging in eHealth 6
How do I activate advanced logging with out the GUI?
what does nhiSetAdvLog do?
How do I debug eHealth

Problem Environment:
eHealth 6.0
Microsoft Windows
Solaris


(Legacy KB ID CNC TS23113 )

Environment

Release:
Component: EHCON