logging: add new log_targets_reopen() function

This function will re-open all existing log files in the application,
praticularly useful for SIGHUP handlers in case of logrotate
2 files changed