This is the job of a log collector, not a log producer/library. The logging library itself should have no mechanism for shipping files anywhere except a file / stdout / stderr.
Most of us have log4j in our system because it's used by some various dependency of one type or another, and up until now it has generally just worked.