Skip to content

Commit

Permalink
[BE] FEAT: profile prod added
Browse files Browse the repository at this point in the history
  • Loading branch information
Ssuamje committed Sep 15, 2023
1 parent 5da6063 commit 0d23600
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
import org.ftclub.cabinet.auth.domain.CookieManager;
import org.ftclub.cabinet.auth.domain.TokenValidator;
import org.ftclub.cabinet.config.JwtProperties;
import org.springframework.context.annotation.Profile;
import org.springframework.core.DefaultParameterNameDiscoverer;
import org.springframework.core.ParameterNameDiscoverer;
import org.springframework.stereotype.Component;
Expand All @@ -29,6 +30,7 @@
@Slf4j
@Aspect
@Component
@Profile("prod")
@RequiredArgsConstructor
public class AdminApiLogAspect {

Expand Down Expand Up @@ -100,7 +102,7 @@ private void sendLogMessage(JoinPoint joinPoint, String responseString)
}
// 결과
String message = sb.append(responseString).toString();

logParser.parseToDiscordAlarmMessage(message);
log.info(message);
}
Expand Down

0 comments on commit 0d23600

Please sign in to comment.