diff --git a/internal/logger/target/http/http.go b/internal/logger/target/http/http.go index 19ff306ee..24e16449a 100644 --- a/internal/logger/target/http/http.go +++ b/internal/logger/target/http/http.go @@ -379,10 +379,6 @@ func (h *Target) SendFromStore(key store.Key) (err error) { // Messages are queued in the disk if the store is enabled // If Cancel has been called the message is ignored. func (h *Target) Send(ctx context.Context, entry interface{}) error { - if atomic.LoadInt32(&h.status) == statusOffline { - h.config.LogOnce(ctx, fmt.Errorf("target %s is offline", h.Endpoint()), h.Endpoint()) - return nil - } if atomic.LoadInt32(&h.status) == statusClosed { return nil }