diff --git a/src/main/java/com/nis/util/ConfigServiceUtil.java b/src/main/java/com/nis/util/ConfigServiceUtil.java index bb44aca09..7ad8c9b30 100644 --- a/src/main/java/com/nis/util/ConfigServiceUtil.java +++ b/src/main/java/com/nis/util/ConfigServiceUtil.java @@ -157,6 +157,7 @@ public class ConfigServiceUtil { long end=System.currentTimeMillis(); logger.warn("get ids finish,cost:"+(end-start)); } catch (Exception e) { + logger.error("getId()",e); throw e; }finally { if (response != null) { @@ -200,6 +201,7 @@ public class ConfigServiceUtil { throw new MaatConvertException(":"+result); } } catch (Exception e) { + logger.error("postMaatCfg()",e); throw e; }finally { if (response != null) { @@ -241,6 +243,7 @@ public class ConfigServiceUtil { throw new MaatConvertException(":"+result); } } catch (Exception e) { + logger.error("postCallbackCfg()",e); throw e; }finally { if (response != null) { @@ -284,6 +287,7 @@ public class ConfigServiceUtil { throw new MaatConvertException(""+result); } } catch (Exception e) { + logger.error("postFileCfg()",e); throw e; } finally { if (response != null) { @@ -330,6 +334,7 @@ public class ConfigServiceUtil { throw new MaatConvertException(":"+result); } } catch (Exception e) { + logger.error("delete()",e); throw e; } finally { if (response != null) { @@ -378,6 +383,7 @@ public class ConfigServiceUtil { throw new MaatConvertException(":"+result); } } catch (Exception e) { + logger.error("put()",e); throw e; }finally { if (response != null) { @@ -414,6 +420,7 @@ public class ConfigServiceUtil { throw new MaatConvertException(":"+result); } } catch (Exception e) { + logger.error("patch()",e); throw e; } @@ -455,6 +462,7 @@ public class ConfigServiceUtil { throw new MaatConvertException(":"+result); } } catch (Exception e) { + logger.error("getFileDigest()",e); throw e; } finally { if (response != null) { @@ -501,6 +509,7 @@ public class ConfigServiceUtil { long end=System.currentTimeMillis(); logger.warn("postGroupReuseSources end,cost:"+(end-start)); } catch (Exception e) { + logger.error("postGroupReuseSources()",e); throw e; } finally { if (response != null) { @@ -559,6 +568,7 @@ public class ConfigServiceUtil { throw new MaatConvertException(":"+result); } } catch (Exception e) { + logger.error("getReport()",e); throw e; } finally { if (response != null) { @@ -617,6 +627,7 @@ public class ConfigServiceUtil { throw new MaatConvertException(":"+result); } } catch (Exception e) { + logger.error("getReport()",e); throw e; } finally { if (response != null) { @@ -679,6 +690,7 @@ public class ConfigServiceUtil { throw new MaatConvertException(":"+result); } } catch (Exception e) { + logger.error("getReport()",e); throw e; } finally { if (response != null) { @@ -744,6 +756,7 @@ public class ConfigServiceUtil { } } catch (Exception e) { + logger.error("getCGI()",e); throw e; } finally { if (response != null) { @@ -809,7 +822,7 @@ public class ConfigServiceUtil { throw new MaatConvertException(":"+result); } } catch (Exception e) { - e.printStackTrace(); + logger.error("configSyncCmd()",e); throw e; }finally { if (response != null) { @@ -852,7 +865,7 @@ public class ConfigServiceUtil { throw new MaatConvertException(":"+result); } } catch (Exception e) { - e.printStackTrace(); + logger.error("configSyncStatus()",e); throw e; }finally { if (response != null) { @@ -899,7 +912,7 @@ public class ConfigServiceUtil { throw new MaatConvertException(":"+result); } } catch (Exception e) { - e.printStackTrace(); + logger.error("configSync()",e); throw e; }finally { if (response != null) { @@ -940,6 +953,7 @@ public class ConfigServiceUtil { throw new MaatConvertException(":"+result); } } catch (Exception e) { + logger.error("configStatusUpdate()",e); throw e; } diff --git a/src/main/webapp/WEB-INF/views/cfg/ipaddr/ipForm.jsp b/src/main/webapp/WEB-INF/views/cfg/ipaddr/ipForm.jsp index 1ee5a1d2d..3fa087097 100644 --- a/src/main/webapp/WEB-INF/views/cfg/ipaddr/ipForm.jsp +++ b/src/main/webapp/WEB-INF/views/cfg/ipaddr/ipForm.jsp @@ -440,6 +440,8 @@ var showHideIPSECProtocol=function(obj){ + + @@ -744,9 +746,23 @@ var showHideIPSECProtocol=function(obj){
- + + + + + + + + + + + + +