Add router log location to logs.jsp
This commit is contained in:
@ -202,6 +202,10 @@ public class LogManager {
|
||||
loadConfig();
|
||||
}
|
||||
|
||||
public String currentFile() {
|
||||
return _writer.currentFile();
|
||||
}
|
||||
|
||||
/**
|
||||
* Used by Log to add records to the queue
|
||||
*
|
||||
|
@ -93,7 +93,10 @@ class LogWriter implements Runnable {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public String currentFile() {
|
||||
return _currentFile != null ? _currentFile.getAbsolutePath() : "uninitialized";
|
||||
}
|
||||
|
||||
private void rereadConfig() {
|
||||
long now = Clock.getInstance().now();
|
||||
if (now - _lastReadConfig > CONFIG_READ_ITERVAL) {
|
||||
|
Reference in New Issue
Block a user