add log extension to file