Yesterday I wrote a small #shell script to rename a file with its modified date with auto cleanup for files with that pattern older than 30 days and set up a #cronjob for services which dont support dynamic log locations.
This way my 260MB #nginx file will never become that big again and I can open the logfiles again.