equal
deleted
inserted
replaced
54 * @return result text |
54 * @return result text |
55 * |
55 * |
56 * @throws DCmdException if recording could not be stopped |
56 * @throws DCmdException if recording could not be stopped |
57 */ |
57 */ |
58 public String execute(String name, String filename) throws DCmdException { |
58 public String execute(String name, String filename) throws DCmdException { |
59 if (LogTag.JFR_DCMD.shouldLog(LogLevel.DEBUG)) { |
59 if (Logger.shouldLog(LogTag.JFR_DCMD, LogLevel.DEBUG)) { |
60 Logger.log(LogTag.JFR_DCMD, LogLevel.DEBUG, "Executing DCmdStart: name=" + name + ", filename=" + filename); |
60 Logger.log(LogTag.JFR_DCMD, LogLevel.DEBUG, "Executing DCmdStart: name=" + name + ", filename=" + filename); |
61 } |
61 } |
62 |
62 |
63 try { |
63 try { |
64 SafePath safePath = null; |
64 SafePath safePath = null; |