Alan Baugher

CA Directory Logging - Closing Log Files

Discussion created by Alan Baugher Employee on Sep 5, 2017
Latest reply on Jan 25, 2018 by Richard Faust

Team,

 

You may wish to limit the CA Directory logging for additional performance gain or limit disk impact for ongoing use.

 

An example to focus DSA logging to the primary value logs:  trace, alarm, warn; but close the other logs that are enabled by default.

 

 

$DXHOME/config/logging/default.dxc

 

# DSA trace log - Used for debugging

set trace-log = "logs/$s_trace.log";

set trace = error;

set rollover-trace-log = true;

# DSA alarm log

set rollover-alarm-log = true;

set alarm-log = "logs/$s_alarm.log";

# DSA Query Log - Disabled

set query-log-advanced = none;

# DSA Update Log - Disabled

set update-log-show-values = false;

# DSA Time Log - Disabled

set time-log-search-threshold = none;

set time-log-update-threshold = none;

# DSA Alert Log

set alert-log = "logs/$s_alert.log";

 

# Daily warning, statistics, diagnostic & summary logs

set warn-log = "logs/$s_warn.log";

#set stats-log = "logs/$s_stats.log";

#set diag-log = "logs/$s_diag.log";

#set summary-log = "logs/$s_summary.log";

 

# Disable logs via close command, re-enable when debugging performance of CA Directory

close summary-log;

close diag-log;

close stats-log;

 

 

 

 

 

### Reference data ###

 

Other examples of additional switches for CA Directory logging:

Steps to Turn on Directory time and query logging 

https://docops.ca.com/ca-directory/14/en/reference/dsa-commands-dxserver-commands/commands-categorized-by-function/comma… 

 

 

Close log command:

close log Command -- Stop Output Being Sent to a Log File - CA Directory - 12.0.14 - CA Technologies Documentation 

https://docops.ca.com/ca-directory/14/en/reference/commands-reference/close-log-command-stop-output-being-sent-to-a-log-… 

 

 

Size limits for logs

CA Directory 12.0.18 Latest Cumulative Release Download - CA Technologies 

 

 

 

Cheers,

 

-A

Outcomes