usage:
debug get|this|<level> [node-queue] [--filter <unitlist>]
'[eos] debug ...' allows to get or set the verbosity of the EOS log files in MGM and FST services.
Options:
debug get : retrieve the current log level for the mgm and fsts node-queue
debug this : toggle EOS shell debug mode
debug <level> [--filter <unitlist>] : set the MGM where the console is connected to into debug level <level>
debug <level> <node-queue> [--filter <unitlist>] : set the <node-queue> into debug level <level>.
- <node-queue> are internal EOS names e.g. '/eos/<hostname>:<port>/fst'
- <unitlist> is a comma separated list of strings of software units which should be filtered out in the message log!
The default filter list is:
'Process,AddQuota,Update,UpdateHint,UpdateQuotaStatus,SetConfigValue,Deletion,GetQuota,PrintOut,RegisterNode,SharedHash,listenFsChange,placeNewReplicas,placeNewReplicasOneGroup,accessReplicas,accessReplicasOneGroup,accessHeadReplicaMultipleGroup,updateTreeInfo,updateAtomicPenalties,updateFastStructures,work'.
The allowed debug levels are:
debug,info,warning,notice,err,crit,alert,emerg
Examples:
debug info * set MGM & all FSTs into debug mode 'info'
debug err /eos/*/fst set all FSTs into debug mode 'info'
debug crit /eos/*/mgm set MGM into debug mode 'crit'
debug debug --filter MgmOfsMessage set MGM into debug mode 'debug' and filter only messages coming from unit 'MgmOfsMessage'.