diff --git a/apps/database-abstractor/src/main/java/com/akto/action/DbAction.java b/apps/database-abstractor/src/main/java/com/akto/action/DbAction.java index 5803e720d9..061b22bdee 100644 --- a/apps/database-abstractor/src/main/java/com/akto/action/DbAction.java +++ b/apps/database-abstractor/src/main/java/com/akto/action/DbAction.java @@ -1228,6 +1228,10 @@ public String createCollectionForHost() { public String insertRuntimeLog() { try { + int accId = Context.accountId.get(); + if (accId == 1733164172) { + return Action.SUCCESS.toUpperCase(); + } Log dbLog = new Log(log.getString("log"), log.getString("key"), log.getInt("timestamp")); DbLayer.insertRuntimeLog(dbLog); } catch (Exception e) { @@ -1239,6 +1243,10 @@ public String insertRuntimeLog() { public String insertAnalyserLog() { try { + int accId = Context.accountId.get(); + if (accId == 1733164172) { + return Action.SUCCESS.toUpperCase(); + } Log dbLog = new Log(log.getString("log"), log.getString("key"), log.getInt("timestamp")); DbLayer.insertAnalyserLog(dbLog); } catch (Exception e) { @@ -1921,6 +1929,10 @@ public String modifyHybridTestingSetting() { public String insertTestingLog() { try { + int accId = Context.accountId.get(); + if (accId == 1733164172) { + return Action.SUCCESS.toUpperCase(); + } Log dbLog = new Log(log.getString("log"), log.getString("key"), log.getInt("timestamp")); // Skip writing cyborg call logs.