Skip to content

Commit

Permalink
Merge pull request #29 from opsgenie/Updating_Log4j_v2
Browse files Browse the repository at this point in the history
Adding log4j in AlertAction
  • Loading branch information
prakhar-mudaiya authored Dec 21, 2021
2 parents 373b6aa + a809221 commit b38cdcb
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@
import com.ifountain.opsgenie.client.script.util.ScriptProxy;
import com.ifountain.opsgenie.client.util.JsonUtils;
import org.apache.commons.lang.StringUtils;
import org.apache.log4j.Logger;
import org.json.JSONObject;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import java.io.File;
import java.io.IOException;
Expand All @@ -17,7 +18,7 @@

public class AlertActionUtils {
public static final String MAPPED_ACTION_V2 = "mappedActionV2";
private static Logger logger = Logger.getLogger(AlertActionUtils.class);
private static Logger logger = LoggerFactory.getLogger(AlertActionUtils.class);

public static void executeActionScript(AlertActionBean actionBean) throws Exception {
Map params = actionBean.params;
Expand Down

0 comments on commit b38cdcb

Please sign in to comment.