Skip to content

Commit

Permalink
upgrade log level
Browse files Browse the repository at this point in the history
  • Loading branch information
violine1101 committed Apr 19, 2024
1 parent aef4bcc commit 0066ab3
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,10 @@ class ReopenAwaitingModule(
private val log: Logger = LoggerFactory.getLogger("ReopenAwaitingModule")

private fun isKeepARMessage(comment: Comment, project: Project): Boolean {
log.info("isKeepAR message: ${comment.body}")
log.warn("isKeepAR message: ${comment.body}")

if (comment.author.name != "arisabot") {
log.info("author: ${comment.author.name}; contains message: false")
log.warn("author: ${comment.author.name}; contains message: false")
return false
}

Expand All @@ -98,10 +98,10 @@ class ReopenAwaitingModule(
null,
"en"
)
log.info("keep AR message: $keepARMessage")
log.warn("keep AR message: $keepARMessage")

val result = comment.body?.contains(keepARMessage) ?: false
log.info("contains message: $result")
log.warn("contains message: $result")
return result
}

Expand Down

0 comments on commit 0066ab3

Please sign in to comment.