I have configured archieve logging. But the logs are not moved to my arhieve log location automatically.
The command i used to enable archive logging.
db2 update db cfg for reporter using logarchmeth1 disk:/OBJ_DATA/OMNITDW/Archive_Log_reporter
update db cfg for reporter using LOGRETAIN YES
update db cfg for reporter using USEREXIT ON
update db cfg for reporter using LOGBUFSZ 4096
update db cfg for reporter using LOGprimary 100
update db cfg for reporter using LOGsecond 50
Help me as what would be the issue why logs are not moved to the path.
What setting do you have for logarchmeth1? If you issued the commands in the given order logarchmeth1 is USEREXIT. Do you have a userexit program?
I'ld recommend to just update logarchmeth1 and don't update LOGRETAIN and USEREXIT. If you set logarchmeth1, then LOGRETAIN will be set automatically.
Also if you set logarchmeth1 for the first time the databases needs to be deactivated and you have to take an offline backup of the database.