Skip to content

Commit

Permalink
everything is pain
Browse files Browse the repository at this point in the history
  • Loading branch information
sschr15 committed Dec 18, 2023
1 parent 0e56670 commit 0691cba
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/main/resources/logback.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import ch.qos.logback.core.ConsoleAppender
import ch.qos.logback.core.joran.spi.ConsoleTarget
import org.quiltmc.community.DiscordLogAppender
import java.util.ArrayList

def environment = System.getenv().getOrDefault("ENVIRONMENT", "prod")
def logUrl = System.getenv().getOrDefault("DISCORD_LOGGER_URL", null)
Expand Down
2 changes: 2 additions & 0 deletions src/main/resources/logbackCompiler.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -456,6 +456,8 @@ importsAcceptList = [
'java.lang.System.getProperty',
'java.lang.System.getenv',
'java.util.Map.getOrDefault',
'java.util.ArrayList',
'java.util.ArrayList.add',
'com.kotlindiscord.kord.extensions.utils._EnvironmentKt.envOrNull',
'org.quiltmc.community._ConstantsKt.getLOGGING_ENV',
'org.quiltmc.community._ConstantsKt.getLOGGING_URL'
Expand Down

0 comments on commit 0691cba

Please sign in to comment.