Please correct me with my code?

Dear All
On my Linux server, I need to separate the individual logs coming from various modules concurrently. Please find below a sample of the logs:

But when I run it, I am receiving the following error:

-bash: -f1.log : command not found
-bash: $LOGFILE : ambiguous redirect

Can you please help me to correct my code?
Thank you

>LOGFILE=`echo $LINE | cut -d' ' -f1`.log appears to be your problem. It is either quoting or escaping.
Play around with that.

Thank you very much for your reply. Sorry I didn't get the point clearly. Can you please give me more hints? How you will modify it if you write code like this?

how to create my own web sites.

Please don't inject your own questions in completely unrelated threads.