managed to create properly working log window for server