Class XWikiLogOutputStream

  • All Implemented Interfaces:
    Closeable, Flushable, AutoCloseable

    public class XWikiLogOutputStream
    extends org.apache.commons.exec.LogOutputStream
    Logs the stdout and stderr streams of an external process started using Commons Exec.
    Since:
    4.3.1
    Version:
    $Id: 662c6e99162544959c458389f71d8ef18709b08b $
    • Constructor Detail

      • XWikiLogOutputStream

        public XWikiLogOutputStream()
        Always log at STDOUT level since we don't care as we'll log exactly the messages passed to us.
    • Method Detail

      • processLine

        protected void processLine​(String line,
                                   int level)
        Specified by:
        processLine in class org.apache.commons.exec.LogOutputStream