ログが毎回記録されるので、常に開いているuser.logファイルを分割したいと思います。私はこれを毎日のログファイル(例:userlogs_29072018)に分割したいので、デフォルトのuser.logファイルには最大1ヶ月分のデータを含める必要があります。この時間より古いログは、別々の毎日のログファイルに保存する必要があります。
サンプルログは次のとおりです。
May 11 21:23:57 iibapp1 user:info IIB[3539342]: IBM Integration Bus v9007 (PTCLBK01.RectificationClaimService) [Thread 8740] (Msg 1/1) BI
P2153I: About to 'Start' an execution group.
May 11 21:24:01 iibapp1 user:info IIB[3539342]: IBM Integration Bus v9007 (PTCLBK01.RectificationClaimService) [Thread 8740] (Msg 1/1) BI
P3132I: The HTTP Listener has started listening on port '7860' for 'http' connections.
May 11 21:24:01 iibapp1 user:info IIB[3539342]: IBM Integration Bus v9007 (PTCLBK01.RectificationClaimService) [Thread 8740] (Msg 1/1) BI
P2154I: Execution group finished with Configuration message.
May 11 21:24:44 iibapp1 user:info IIB[7209156]: IBM Integration Bus v9007 (PTCLBK01.ProvisionComptelService) [Thread 1] (Msg 1/1) BIP2208
I: Execution group (64) started: process '7209156'; thread '1'; additional information: brokerName 'PTCLBK01' (operation mode 'advanced')
; executionGroupUUID '581fc422-5301-0000-0080-8f9b8378eb10'; executionGroupLabel 'ProvisionComptelService'; queueManagerName 'PTCLQM01';
trusted 'false'; userId 'mbrkrs'; migrationNeeded 'false'; brokerUUID 'c144e7ae-d59c-11e5-af0a-0afea9560000'; filePath '/opt/IBM/mqsi/9.0
.0.7'; workPath '/MQHA/DBK01/mqsi'; ICU Converter Path ''; ordinality '59'.
May 12 00:57:36 iibapp1 user:err|error IIB[6095148]: IBM Integration Bus v9007 (PTCLBK01.ProvisionComptelService2New) [Thread 14140] (Msg
2/6) BIP2230E: Error detected whilst processing a message in node 'com.ibm.pk.ptcl.esb.ComptelProv.Comptel_IL_Request_flow.modify_Instan
tLinkWebServices.Request'.
May 12 00:57:36 iibapp1 user:err|error IIB[6095148]: IBM Integration Bus v9007 (PTCLBK01.ProvisionComptelService2New) [Thread 14140] (Msg
3/6) BIP3754E: The SOAP Request Node or SOAP Async Request Node com.ibm.pk.ptcl.esb.ComptelProv.Comptel_IL_Request_flow.modify_InstantLi
nkWebServices.Request encountered an error while processing the outbound SOAP request.
May 12 00:57:36 iibapp1 user:err|error IIB[6095148]: IBM Integration Bus v9007 (PTCLBK01.ProvisionComptelService2New) [Thread 14140] (Msg
4/6) BIP3162S: An HTTP error occurred. The HTTP Request-Line was: 'POST /ilws/InstantLinkSOA HTTP/1.1^M '.
May 12 00:57:36 iibapp1 user:err|error IIB[6095148]: IBM Integration Bus v9007 (PTCLBK01.ProvisionComptelService2New) [Thread 14140] (Msg
5/6) BIP3152S: Socket error detected whilst invoking Web service located at host 10.254.166.242, port 44006, path /ilws/InstantLinkSOA.
May 12 00:57:36 iibapp1 user:err|error IIB[6095148]: IBM Integration Bus v9007 (PTCLBK01.ProvisionComptelService2New) [Thread 14140] (Msg
6/6) BIP3150S: A socket error occurred. Operation: ::connect ::select(). Error Code: 79. Error Text: A remote host refused an attempted
connect operation..
May 12 00:57:54 iibapp1 user:err|error IIB[6095148]: IBM Integration Bus v9007 (PTCLBK01.ProvisionComptelService2New) [Thread 14140] (Msg
1/6) BIP2232E: Error detected whilst handling a previous error in node 'com.ibm.pk.ptcl.esb.ComptelProv.Comptel_IL_Request_flow.Throw3'.