Appender is an object, it can be used to get logging messages from Logger object and publishing that logging messages to the proffered destinations. Each and Every Appender Object must have at least one Destination object in order to send logging messages. Log4j has provided the following appenders in order to publish logging messages.
If we want to manage all logging messages in a File then we have to use FileAppenders. There are 4 types of File Appenders.