Interpreting Profiler data

As a newbie to Unity development, looking for an expert opinion here on what I see in the app profiler:

Is the problem is too much logging in the code that eats up milliseconds? Or too many objects get allocated (GC.Alloc)? Or both?

Thanks,

Both. But logging harder.