import org.junit.Test;
public class NamedLogTest
{
private PrintStream orig;
private ByteArrayOutputStream logstream;
<BUG>private PrintStream perr;
@Before</BUG>
public void setUp()
<BUG>{
orig = System.err;</BUG>
logstream = new ByteArrayOutputStream();

import org.junit.Test;
public class NamedLogTest
{
private PrintStream orig;
private ByteArrayOutputStream logstream;
private PrintStream perr;
private Logger origLogger;
@Before
public void setUp()
{
origLogger = Log.getRootLogger();
orig = System.err;
logstream = new ByteArrayOutputStream();
