Yes, that was implemented in https://issues.apache.org/jira/browse/LOG4J2-1274.
Please also see the description and discussion in the epic https://issues.apache.org/jira/browse/LOG4J2-1270. Sent from my iPhone > On 2016/02/23, at 23:56, Mikael Ståldal <[email protected]> wrote: > > Do we have any way to convert a StringBuilder to a byte[], without any > intermediate String? > > It seems like org.apache.logging.log4j.core.util.StringEncoder cannot do it. > > -- > > > Mikael Ståldal > Senior software developer > > Magine TV > [email protected] > Grev Turegatan 3 | 114 46 Stockholm, Sweden | www.magine.com > > Privileged and/or Confidential Information may be contained in this message. > If you are not the addressee indicated in this message > (or responsible for delivery of the message to such a person), you may not > copy or deliver this message to anyone. In such case, > you should destroy this message and kindly notify the sender by reply email. >
