convertlog 命令
convertlog 命令用于将日志条目中的消息标识从旧标准转换为新标准,或者从新标准转换回旧标准。
先前版本的 WebSphere® Application Server 使用了 WebSphere Application Server V9.0 中不推荐使用的消息标识。为使基于旧的消息标识的工具的迁移顺利进行,应实现 convertlog 命令以将日志文件从一个消息标识标准转换为另一个消息标识标准。
按如下所示使用
convertlog 命令:
convertlog <source file name> <destination file name> [options]
options: -newMessageFormat convert message IDs to CCCCCnnnnS format
(cannot be used with -m5)
-oldMessageFormat convert message IDs to CCCCnnnnS format
(cannot be used with -m6)