Do you want to debug a file and realize it has too much of content in it.
Let's say the file name is access_log.
just say echo "">access_log.
This will replace the content with the blank file.
Now your file is ready to starting logging data from now :-).
Note: Please use this at your own discretion. This is just a workaround.
No comments:
Post a Comment
Please add value. Sharing is caring