Using log output for spectrogram