Cisco Headend System Release 2.5

Página de 66
 
4001159 Rev B 
Why Choose System Release 3.5? 
1-13 
Logging: New Logging Utility Makes Troubleshooting Even Easier,
 
Continued 
Where Do Log Files Reside? 
After you configure your logging levels, make sure you know how to access the 
DNCS log file and log files for individual processes. You can open the DNCS log in 
/var/log/dncsLog and view the data that the DNCS has recorded. 
You can find the most recent log files for an individual process in 
/dvs/dncs/tmp/[name of process.*]. The asterisk (*) represents a numeric value, as 
you can have a number of different log files for each process. 
Notes:   
• 
All processing logging levels can be viewed in /dvs/dncs/tmp. 
• 
Only the Emergency, Alert, Critical, and Error logging levels can be viewed in 
/var/log/dncsLog. 
For more information on how to use log files to maintain a healthy system, see the 
Maintenance Recommendations for the DBDS System Guide
Am I Required to Stop and Restart Processes When Enabling or Disabling Logging from the 
Logging WUI? 
No. You can enable and disable logging for a process on the fly without having to 
stop and restart the process. However, when setting the EMCDEBUG flags, the 
corresponding process will have to be stopped and restarted (bounced). 
Does the Logging Utility Eliminate the Need for EMCDEBUG Flags? 
Not yet. While one long-term goal of the Logging utility is to obsolete the need for 
Enhanced Machine Control Debug (EMCDEBUG) flags, most of the processes still 
require setting of the EMCDEBUG flags in the .profile file. 
At the present time, the eventManager and logManager processes do not require the 
EMCDEBUG flags to be set. You must continue to maintain your current 
EMCDEBUG flags in the .profile file on the DNCS to control the output of various 
processes that still use the old logging scheme. 
Note:  As a general rule, the only processes that should always be set to debug are 
bossServer, camPsm, dsm, qamManager, and siManager. Cisco Services may instruct 
you to temporarily set additional processes to debug for troubleshooting purposes. 
In these cases, Cisco Services will tell you whether to use the Logging utility or 
EMCDEBUG flags.