How can i use grep to search a specific pattern?

Hi All,

My file contain the below data :

w_SA_infa1.log:INFO : LM_36620 : () Command task instance [Cmd_FILE_CHECK]: running command [Command1], with command value [sh -c "sh /data/.... "].
Binary file w_SA_infa1.log.bin matches
w_SA_infa2.log:INFO : LM_36620 : (30377|1427806528) Command task instance [Cmd_FILE_CHECK]: running command [Command1], with command value [sh -c "sh /data/...."].
Binary file w_SA_infa2.log.bin matches

I need from the file only the .log string .ie: w_SA_infa1.log and w_SA_infa2.log
I can have more values also.
Need the string with pattern .log from the file

Which do you need and what have you tried so far?

w_SA_infa1.log:INFO : LM_36620 : () Command task instance [Cmd_FILE_CHECK]: running command [Command1], with command value [sh -c "sh /data/.... "].
Binary file w_SA_infa1.log.bin matches