I have a script that includes
exec 1>> /var/log/unb/dblog.log
later logrotate renames the file to ...dblog.log.1 as expected but the script continues writing to the same file so the dblog.log.1 just gets bigger rather than starting to write to a new dblog.log as I expected. how can I get my expected behaviour
Start Free Trial