Chapter 12 Load Balancing for FortiOS 5.0 : Configuring load balancing : Load balancing overview : Logging Diagnostics
  
Logging Diagnostics
The logging diagnostics provide information about two separate features:
diagnose firewall vip virtual-server log {console | filter}
Where
console {disable | enable} enables or disables displaying the event log messages generated by virtual server traffic on the console to simplify debugging.
filter sets a filter for the virtual server debug log
The filter option controls what entries the virtual server daemon will log to the console if diagnose debug application vs level is non-zero. The filtering can be done on source, destination, virtual-server name, virtual domain, and so on:
diagnose firewall vip virtual-server log filter <filter_str>
where <filter_str> can be
clear erase the current filter
dst the destination address range to filter by
dst-port the destination port range to filter by
list display the current filter
name the virtual-server name to filter by
negate negate the specified filter parameter
src the source address range to filter by
src-port the source port range to filter by
vd index of virtual domain. -1 matches all
The default filter is empty so no filtering is done.