file build log
このコマンドは、サービスまたは機能 および期間ごとにログ情報を収集します。
file build log コンポーネントサービス/機能の期間
構文の説明
パラメータ | 説明 |
---|---|
service/feature |
ログ情報を取得するコンポーネントまたは機能エリアを指定します。 |
duration |
ログ情報を取得する期間を日単位で指定します。 |
コマンド モード
管理者(admin:)
使用上のガイドライン
要件
コマンド特権レベル:
アップグレード時の使用:
例
このコマンドは、Client Profile Agent のログを収集します。
admin: file build log cpa 10
Collecting logs
Collecting: logname1.txt
Collecting: logname2.txt
To retrieve run the following command:
file get epas/trace/acdc_2012-06-28-111258.tar.gz
このコマンドは、xml 構成で定義されているすべてのログを収集します。
admin:file build log all
Collecting logs
Collecting: logname1.txt
Collecting: logname2.txt
To retrieve run the following command:
file get epas/trace/acdc_2012-06-28-111258.tar.gz
このコマンドは、複数のサービスのログを収集します。
admin:file build log dbmon cpa
Collecting logs
Collecting: logname1.txt
Collecting: logname2.txt
To retrieve run the following command:
file get epas/trace/acdc_2012-06-28-111258.tar.gz
このコマンドは、ヘルプを表示します。
admin:file build log ?
Syntax:
file build log [serviceName [serviceName] ..]
Service Names:
FullName ShortName
cisco_client_profile_agent cpa
cisco_database_layer_monitor dbmon
cisco_audit_logs audit
cisco_ris_dat_collector risdc
このコマンドは、展開に関する情報を表示します。
admin: file build log deployment info 0
DB Queriesmay take up to 5 minutes to complete. Please be patient...
About to start queries for deployment data... please wait...
---------------------------------------------------
Gathering CUCM Version...
ccmversion
11.0.1.100000(9)
---------------------------------------------------
Gathering CUCM Publisher Node
ccmpublisherhostname
gwydlg050498vm1
---------------------------------------------------
Gathering Rosters table...
rosters
3032681
---------------------------------------------------
Gathering Groups table...
groups
1518966
---------------------------------------------------
Gathering Non-Presence contacts...
nonpresencecontacts
502573
---------------------------------------------------
Gathering Number of inter-cluster users...
enduser
0
---------------------------------------------------
Gathering CUCM Nodes in cluster...
processnode
2
---------------------------------------------------
Gathering CUCM Node names in cluster...
name
EnterpriseWideData
processnode
gwydlg050408vm1
---------------------------------------------------
Gathering IM&P nodes in cluster...
processnode
2
---------------------------------------------------
Gathering XCP Routing Node...
paramvalue
t
---------------------------------------------------
Gathering Exchange Calendaring...
pebackendgateway
---------------------------------------------------
Gathering SIP Inter-domain Federation...
domainname
paramvaluegwydlg050408vm2-public.cisco.com
---------------------------------------------------
Gathering XMPP Inter-domain Federation...
xmpps2ssnodes
0
---------------------------------------------------
Gathering Intra-domain Partitioned Federation...
enablepartitionedfedwithacs
f
---------------------------------------------------
Gathering Inter-cluster Peering...
cupsinterclusterpeers
---------------------------------------------------
Gathering Message Archiver...
pkid
8fede7a9-b6a6-4ad4-8da6-b8ea4c8d5411
databasetype
Postgres
databasename
tcmadb
name
gwydlg050408vm2
tknodeusage
0
tkprocessnoderole
2
nodeid
3
---------------------------------------------------
Gathering Third-party compliance...
ftextdbprocessnodemap
0
---------------------------------------------------
Gathering Persistent Chat...
enablepersistentgear
t
databasetype
Postgres
datanasename
tcmadb
name
gwydlg050408vm2
tknodeusage
0
tkprocessnoderole
2
nodeid
2
---------------------------------------------------
Gathering Advanced File Transfer...
tkfiletransfer
2
databasetype
Postgres
datbasename
tcmadb
name
gwydlg050408vm2
tknodeusage
0
tkprocessnoderole
2
nodeid
3
---------------------------------------------------
Gathering AD Groups...
paramvalue
t
---------------------------------------------------
Gathering XEP-198...
paramvalue
t
---------------------------------------------------
Gathering DB Replication Status...
replicationdynamic
2
Services on this node that currently have debug logging enabled are:
Cisco Presence Engine
Cisco DRF Local
Cisco XCP File Transfer Manager
Collecting Logs for deployment_info
Collected: platformConfig.xml
Collected: deployment_info.xml
Collected: system_info.txt
To retrieve the logs, run the following CLI Command:
file get activelog epas/trace/log_2015-08-17-154010.tar.gz
To maintain a stable system it is recommended that you remove the file after retrieval.
To do this run the CLI Command:
file delete activelog epas/trace/log_2015-08-17-154010.tar.gz
Please Note: Debug logging is not enabled for any of the files you have retrieved