Save the large log texts in the subdirectories.

It is the case that the execute_log_text_path has full of entries and it leads
ENOSPC when creating a new file. Avoid this error by digging deeper into the
subdirectories.