Hello,
I would like to change log directory/file from /var/log/messages to different.
There are some bptm logs like these below, which I need to write somewehre else, not in to /var/log/messages:
Sep 20 03:49:53 MEDIASERVER bptm[36686]: TapeAlert Code: 0x0f, Type: Warning, Flag: MIC FAILURE, from drive IBMEQ2_F1_R02 (index 3), Media Id X00676
Sep 20 03:49:53 MEDIASERVER bptm[36686]: TapeAlert Code: 0x12, Type: Warning, Flag: DIRECTORY CORRUPTED ON LOAD, from drive IBMEQ2_F1_R02 (index 3), Media Id X00676
Sep 20 03:50:14 MEDIASERVER bptm[36686]: TapeAlert Code: 0x33, Type: Warning, Flag: DIRECTORY INVALID ON UNLOAD, from drive IBMEQ2_F1_R02 (index 3), Media Id X00676
Is it possible to change such logs in to different file, for example /var/log/netbackupmessages ?
How to change it?
Media server is running on Linux.
Thanks in advance.