You can remove those unnecessary log files with no data using below command.
Code: Select all
find ./ -type f -size 0 -delete
Code: Select all
find ./ -type f -size -20k -delete
The -type 'f' forces the command to only act on files and skip directories.