nrf_log from debug port

Hi, I'm using nrf51dk board and nrf_log came out correctly on my RTT terminal with built in module. After that I use debug port (P20) to program to my custom module. I've vdd, gnd, swdio and swdclk connected to my custom module and everything functions properly. However, my nrf_logs are not coming out to my terminal. Does logger module uses uart lines? If so, is there a way I can get logs another way? Meaning all I want to connect to my module is using 4 lines (vdd,gnd, swdio and swdclk). Or my settings in my sdk_config is incorrect. Thanks