Commit 72026bd6e9a5517eb59c063de4602df7d76835fb
1 parent
35c42ff7
修改
Showing
2 changed files
with
2 additions
and
2 deletions
src/main/java/com/cnlive/shenhe/logging/LoggingWSServer.java
| ... | ... | @@ -57,7 +57,7 @@ public class LoggingWSServer { |
| 57 | 57 | try { |
| 58 | 58 | //日志文件路径,获取最新的 |
| 59 | 59 | // String filePath = System.getProperty("user.home") + "/log/" + new SimpleDateFormat("yyyyMMdd").format(new Date()) + "/"+applicationName+".log"; |
| 60 | - String filePath = applicationHome + new SimpleDateFormat("yyyyMMdd").format(new Date()) + "/"+applicationName+".log"; | |
| 60 | + String filePath = applicationHome+ "/" + new SimpleDateFormat("yyyyMMdd").format(new Date()) + "/"+applicationName+".log"; | |
| 61 | 61 | |
| 62 | 62 | //字符流 |
| 63 | 63 | reader = new BufferedReader(new FileReader(filePath)); | ... | ... |
src/main/resources/templates/logging/logging.html