mirror of https://github.com/apache/activemq.git
apply patch for: https://issues.apache.org/jira/browse/AMQ-4379
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1457073 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
a42420d444
commit
39c27f9ebb
|
@ -58,7 +58,8 @@ public class ActiveMQAdmin implements Admin {
|
|||
|
||||
static public void enableJMSFrameTracing() throws FileNotFoundException {
|
||||
final SimpleFormatter formatter = new SimpleFormatter();
|
||||
final PrintStream out = new PrintStream(new FileOutputStream(new File("/tmp/amqp-trace.txt")));
|
||||
String outputStreamName = System.getProperty("java.io.tmpdir") + "/amqp-trace.txt";
|
||||
final PrintStream out = new PrintStream(new FileOutputStream(new File(outputStreamName)));
|
||||
Handler handler = new Handler() {
|
||||
@Override
|
||||
public void publish(LogRecord r) {
|
||||
|
|
Loading…
Reference in New Issue