Currently in of my application I am trying to write ByteArrayOutputStream to a log file and this log file will be consumed by other service. Since I don\'t have
ByteArrayOutputStream