func trimToSubscription()

in http/common/logging/logging.go [24:30]


func trimToSubscription(rawURL string) string {
    // Find the index of "/subscriptions"
    if idx := strings.Index(rawURL, "/subscriptions"); idx != -1 {
        return rawURL[idx:]
    }
    return rawURL
}