The tungsten_merge_logs command is designed to aid troubleshooting by consolidating the various log files into one place ordered by time.
--C ] [
--d ] [
--X ] [
-h ] [
--L ] [
--M ] [
--q ] [
--R ] [
--O ] [
Table 9.68. tungsten_merge_logs Command-line Options
|Include the connector log files|
|Specify the file extension (default: log) Do NOT include the period|
|Show help text|
|Specify the quantity of log files to gather (default: unlimited). When the wrapper rotates log files, it appends a period and an integer to the end of the log file name, when .1 is the newest and .2 is older and .3 older than that, etc. This parameter will gather the base log file plus limit minus one rotated files.|
|Include the manager log files|
|Include the replicator log files|
|Send merged logs to STDOUT instead of a file|
|Show verbose output|
With no options specified, the tungsten_merge_logs script will gather all log files in the current directory and below.
tpm diag --allshell>
tar xvzf ungsten-diag-2021-11-15-16-37-33.tgzshell>
Would result in something like the following:
New merged log file ./merged.log created!
All logs files are gathered by default.
If you specify any of
then only the log files for the specifed components will be gathered.
Using multiple options will aggregate the logs from the specified components.
Use of the
--log-limit option works as follows:
a loglimit of 1 means gather the base file only, i.e. trepsvc.log
a loglimit of 2 means gather the base file and the first backup file, i.e. trepsvc.log and trepsvc.log.1
a loglimit of 3 means gather the base file and the first two backup files, i.e. trepsvc.log, trepsvc.log.1 and trepsvc.log.2