List of usage examples for org.apache.commons.exec LogOutputStream subclass-usage
From source file org.sculptor.maven.plugin.AbstractLogOutputStream.java
/** * {@link LogOutputStream} which redirects the output or error stream and * increases the correspondig counters ( <code>lineCount</code> and * <code>errorCount</code>). */ public abstract class AbstractLogOutputStream extends LogOutputStream {
From source file ch.vorburger.exec.RollingLogOutputStream.java
/** * Rolling Process Output Buffer. * * @author Michael Vorburger */ // intentionally package local for now
From source file com.intuit.cto.selfservice.service.CheckingConsoleOutputStream.java
/**
* OutputStream which watches out for the occurrence of a keyword (String).
*
* Used to watch check the console output of a daemon ManagedProcess for some "started up OK" kind of message.
*
* @author Michael Vorburger
From source file com.lenox.common.exec.RollingLogOutputStream.java
/** * Rolling Process Output Buffer. * * @author Michael Vorburger */ // intentionally package local for now
From source file com.adaptris.hpcc.ListOutputParserImpl.java
abstract class ListOutputParserImpl extends LogOutputStream { protected transient Logger log = LoggerFactory.getLogger("com.adaptris.hpcc.OutputParser"); private static final String FIRST_LINE = "List %s"; private static final String INTERNAL_LOGGING_REGEXP = "^[0-9]+ [0-9\\-]+ [0-9:]+ [0-9]+ [0-9]+ \"(.*)\""; private transient boolean hasErrors = false;
From source file com.intuit.cto.selfservice.service.SLF4jLogOutputStream.java
/**
* OutputStream which logs to SLF4j.
*
* With many thanks to http://stackoverflow.com/questions/5499042/writing-output-error-to-log-files-using-pumpstreamhandler
*
* @author Michael Vorburger
From source file com.vmware.bdd.usermgmt.job.ExecOutputLogger.java
/** * Created By xiaoliangl on 12/22/14. */ public class ExecOutputLogger extends LogOutputStream { private Logger logger;
From source file npanday.executable.execution.CapturingLogOutputStream.java
/**
* Stream that captures and logs lines to a plexus logger.
* Designed for anonymous implementation.
* <p/>
* Access the captured output through {@link #toString}.
*
From source file org.codehaus.mojo.cassandra.MavenLogOutputStream.java
/** * Converts an output stream into a {@link Log} * * @author stephenc */ class MavenLogOutputStream extends LogOutputStream {
From source file io.rhiot.utils.process.CollectingLogOutputStream.java
/** * Collect the output and error streams. */ public class CollectingLogOutputStream extends LogOutputStream { private static final Logger LOG = LoggerFactory.getLogger(CollectingLogOutputStream.class);