{"repo":"reportportal/logger-java-log4j","free":true,"listed":false,"github":"https://github.com/reportportal/logger-java-log4j","clone":"git clone https://github.com/reportportal/logger-java-log4j.git","description":"Log4j2 appender for Report Portal","language":"Java","stars":17,"topics":["java","logger","logging","reportportal"],"license":"Apache-2.0","category":"analytics","readme_excerpt":"Log4j2 appender for Report Portal The latest version: 5.4.0. Please use Maven Central link above to get the library. Dependencies To start using Report Portal log appending you need to include this library into your project dependencies according to your build system. Maven Add this section into section: Gradle Add this line into dependecies block: Configuration Log4j2 provides configuration options via XML or JSON files. XML Update log4j2.xml as follows JSON Update log4j2.json as follows ReportPortal's agent logs can be hided by increasing logging level for the following package: Attaching files (Screenshots, videos, archives, reports etc.) For the log4j case it is possible to send binary data in next ways. by using a specific message wrapper sending a File object as a log4j log message. In this case a log4j Report Portal appender sends a log message which will contain the sending file and the string message Binary data reported . adding to the log message additional text information which specifies the attaching file location or the base64 representation of the sending file. in this case a log message should have the next format: RP MESSAGE - message header FILE, BASE64 - attaching data representation type FILENAME, BASE 64 REPRESENTATION - path to sending file/ base64 representation of sending data MESSAGE TEST - string log message Explicit logging. You can call the ReportPortal logger explicitly. To do this consider the following example: Grayscale images There is a clien","default_branch":null,"files":null,"tree":[],"storefront":"/r/reportportal","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/reportportal/logger-java-log4j/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}