/** * Called periodically by the log writer's thread * Do not log here, deadlock of LogWriter */ void rereadConfig() { // perhaps check modification time //if (_log.shouldLog(Log.DEBUG)) // _log.debug("Rereading configuration file"); loadConfig(); }
public void setConfig(String filename) { _locationFile = new File(filename); if (!_locationFile.isAbsolute()) _locationFile = new File(_context.getConfigDir(), filename); loadConfig(); }