Turn on component level logging in Swarm

You can turn on different levels of logging per component of Swarm.  For example, you may only want SCSP debug level logging from a particular node and not all (disk, config, memory, etc) debug level logging from that node.  This helps reduce clutter while troubleshooting a specific issue.  This command is node-specific (meaning it only affects the IP address of the node in the curl command).

curl -o /dev/null -X POST -d "${comp}=${level}" --location-trusted --anyauth -u admin:[admin password] "http://${node IP address}:90/logger_settings"

where:

comp = ADMIN BUFFERS CACHE COLLECTION CONFIG CONSOLE DBG DISK EC_ENCODE FEEDS FLOWQUEUE HEALTHREPORT HISTOGRAM HP HTTP INDEXER INTERNODE LICENSE LICENSESETTINGS MAIN MDNS MEMMGT MEMORY NODE OVERLAY PYRATEMP SCSP SECURITY SETTINGSUUID SHELL SNMP STREAM TOWNCRIER TWISTED
level = 5 10 15 20 30 40 50

Example:

#curl -o /dev/null -X POST -d "SCSP=10" --location-trusted --anyauth -u admin:caringo "http://192.168.201.84:90/logger_settings"

% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 53 0 53 0 14 14441 3814 --:--:-- --:--:-- --:--:-- 14441


There is not likely any reason to perform this function except through direct request of DataCore Support.  


These settings do not persist across a reboot

© DataCore Software Corporation. · https://www.datacore.com · All rights reserved.