Hi All ,
Due to space issues, I am trying to write a small script to perform housekeeping of old files in which I am deleting trace files and logs older than a specifed date. However there are some files that have logs appended to them rather than new log created everytime.
$HOME/businessobjects/Data_Quality_Mgmt_for_SAP_Solutions/logs/flrfcsrv_batch_log.txt
$HOME/businessobjects/Data_Quality_Mgmt_for_SAP_Solutions/logs/flrfcsrv_log.txt
$HOME/businessobjects/bobje/logging/tomcatshutdown.log
$HOME/businessobjects/bobje/logging/tomcatstartup.log
$HOME/businessobjects/dataservices/adapters/log/JMS_Adapter_error.txt
$HOME/businessobjects/dataservices/adapters/log/JMS_Adapter_trace.txt
I was wondering if i can safely delete this files and expect new ones to be created again or should i leave them AS IS.
Update - Just deleted flrfcsrv_batch_log.txt and flrfcsrv_log.txt and new ones didn't get created after I ran some jobs 😔 Maybe they might get created if something fails.
Guys - Please advise!