The calculated distance (air line) between Šmarje pri Jelšah and Logatec is approximately 66 miles respectively 106 kilometers.
By car or train, the actual journey to Logatec is certainly longer, as only the direct route (as the crow flies) between Šmarje pri Jelšah and Logatec has been calculated here.
Air line (approximately)
106 kilometers
57 nautical miles