[AIX HP-UX Linux Solaris Windows]

Logging with Load Balancer

Load Balancer posts entries to a server log, a manager log, a metric monitor log (logging communications with Metric Server agents), and a log for each advisor you use.

About this task

You can set the logging level to define the expansiveness of the messages written to the log. At level 0, errors are logged and Load Balancer also logs headers and records of events that happen only once (for example, a message about an advisor starting to be written to the manager log). Level 1 includes ongoing information, and so on, with level 5 including every message produced to aid in debugging a problem if necessary. The default for the manager, advisor, server, or subagent logs is 1.

You can also set the maximum size of a log. When you set a maximum size for the log file, the file will wrap; when the file reaches the specified size, the subsequent entries are written at the top of the file, overwriting the previous log entries.
Note: You cannot set the log size to a value that is smaller than the current one. The higher you set the log level, the more carefully you should choose the log size. At level 0, it is probably safe to leave the log size to the default of 1MB; however, when logging at level 3 and above, you should limit the size without making it too small to be useful.

Log entries are time stamped so you can tell the order in which they were written.

Procedure




Subtopics
Logging server statistics with binary logging
Related tasks
Enabling advisors to manage load balancing
Related reference
dscontrol logstatus
dscontrol metric
dscontrol manager
Task topic Task topic    

Terms of Use | Feedback

Last updatedLast updated: Jun 20, 2011 4:04:37 PM EDT
File name: tprf_log.html