{
return -1;
}
};
StreamConsumer systemOut = request.getSystemOutStreamConsumer();
if ( systemOut == null )
{
systemOut = new StreamConsumer()
{
public void consumeLine( final String line )
{
if ( verbose )
{
getLogger().info( line );
}
else
{
getLogger().debug( line );
}
}
};
}
StreamConsumer systemErr = request.getSystemErrorStreamConsumer();
if ( systemErr == null )
{
systemErr = new StreamConsumer()
{
public void consumeLine( final String line )
{
getLogger().warn( line );