The long answer is, you first need to understand the file formats,:
the ".log" file is basically a text file so you can't extract any trajectories from there.
The ".edr" file is a energy file so you can mostly extract energies, temperature, and pressure values.
The ".gro" file however, can either be a single structure file with GROMOCS format or a trajectory file.
So depending on your command lines, you may be able to obtain trajectories information on the ".gro" file.
However, it is rather odd that the trajectory file (xtc) did not generate after your MD completion.
I can only assume that there wasn't enough space on your drive when conducting the MD simulation hence, the missing xtc file.
Here are some of my suggestion:
check your MD simulation by using the gmx check module (it should show the completed number of steps and duration; more info here: https://manual.gromacs.org/current/onlinehelp/gmx-check.html)
before running any simulation, always check the required space for the simulation (usally mentioned within the grompp output)