This topic describes Alibaba Cloud Log4j Appenders.

Log4j is an open-source project of Apache. Log4j allows you to set the output destination and format of logs. You can also specify the severity level of each log entry to implement a fine-grained control on log generation. Log4j consists of the following three main components:
  • Loggers

    The severity levels of logs are classified into ERROR, WARN, INFO, and DEBUG in descending order.

  • Appenders

    An appender specifies that logs are sent to the Log Service console or files.

  • Layouts

    A layout specifies the output format of logs.

You can use an Alibaba Cloud Log4j Appender to send logs to Log Service. For more information about Alibaba Cloud Log4j Appenders, visit Log4j Appender.