Write the cam log individually in a file

I want to write the cam log in a new file.
log file is too big,radio is too slow to download.

The write function
DataFlash_Class::Log_Write_CameraInfo

has been found
how to modify the function into a new file

Sorry, my English is poor
I use Baidu translate