public void setRequestLog(RequestLog requestLog) { //are we changing the request log impl? try { if (_requestLog != null) _requestLog.stop(); } catch (Exception e) { LOG.warn (e); } if (getServer()!=null) getServer().getContainer().update(this, _requestLog, requestLog, "logimpl",true); _requestLog = requestLog; //if we're already started, then start our request log try { if (isStarted() && (_requestLog != null)) _requestLog.start(); } catch (Exception e) { throw new RuntimeException (e); } }
public void setRequestLog(RequestLog requestLog) { //are we changing the request log impl? try { if (_requestLog != null) _requestLog.stop(); } catch (Exception e) { LOG.warn (e); } if (getServer()!=null) getServer().getContainer().update(this, _requestLog, requestLog, "logimpl",true); _requestLog = requestLog; //if we're already started, then start our request log try { if (isStarted() && (_requestLog != null)) _requestLog.start(); } catch (Exception e) { throw new RuntimeException (e); } }
public void setRequestLog(RequestLog requestLog) { //are we changing the request log impl? try { if (_requestLog != null) _requestLog.stop(); } catch (Exception e) { LOG.warn (e); } if (getServer()!=null) getServer().getContainer().update(this, _requestLog, requestLog, "logimpl",true); _requestLog = requestLog; //if we're already started, then start our request log try { if (isStarted() && (_requestLog != null)) _requestLog.start(); } catch (Exception e) { throw new RuntimeException (e); } }
public void setRequestLog(RequestLog requestLog) { //are we changing the request log impl? try { if (_requestLog != null) _requestLog.stop(); } catch (Exception e) { LOG.warn (e); } if (getServer()!=null) getServer().getContainer().update(this, _requestLog, requestLog, "logimpl",true); _requestLog = requestLog; //if we're already started, then start our request log try { if (isStarted() && (_requestLog != null)) _requestLog.start(); } catch (Exception e) { throw new RuntimeException (e); } }
public void setRequestLog(RequestLog requestLog) { //are we changing the request log impl? try { if (_requestLog != null) _requestLog.stop(); } catch (Exception e) { LOG.warn (e); } if (getServer()!=null) getServer().getContainer().update(this, _requestLog, requestLog, "logimpl",true); _requestLog = requestLog; //if we're already started, then start our request log try { if (isStarted() && (_requestLog != null)) _requestLog.start(); } catch (Exception e) { throw new RuntimeException (e); } }