diff --git a/.github/workflows/bad-cfconfig.yml b/.github/workflows/bad-cfconfig.yml index 893157e..306b1db 100644 --- a/.github/workflows/bad-cfconfig.yml +++ b/.github/workflows/bad-cfconfig.yml @@ -49,8 +49,6 @@ jobs: luceeVersionQuery: ${{ matrix.luceeVersion }} env: LUCEE_BASE_CONFIG: ${{ github.workspace }}/custom/bad-cfconfig/.CFConfig-good.json5 - SENTRY_DSN: http://localhost - SENTRY_ENV: testlab - name: Copy .CFConfig-good.json5 into context if: always() @@ -65,9 +63,6 @@ jobs: execute: /debug.cfm luceeVersionQuery: ${{ matrix.luceeVersion }} preCleanup: false - env: - SENTRY_DSN: http://localhost - SENTRY_ENV: testlab - name: Check bad .CFConfig with unknown extension version LUCEE_BASE_CONFIG uses: lucee/script-runner@main diff --git a/custom/bad-cfconfig/.CFConfig-bad-comment.json5 b/custom/bad-cfconfig/.CFConfig-bad-comment.json5 index 6444190..d10dccf 100644 --- a/custom/bad-cfconfig/.CFConfig-bad-comment.json5 +++ b/custom/bad-cfconfig/.CFConfig-bad-comment.json5 @@ -122,7 +122,7 @@ "deploy": { "appender": "resource", "appenderArguments": "path:{lucee-config}/logs/deploy.log", - "level": "info", + "level": "trace", "layout": "classic" }, "thread": { @@ -131,32 +131,17 @@ "level": "error", "layout": "classic" }, - "update-provider": { - "appenderArguments": "environment:%7Benv%2ESENTRY%5FENV%7D;dist:;extras:;dsn:%7Benv%2ESENTRY%5FDSN%7D;debug:true;tags", - "level": "error", - "appenderClass": "org.lucee.extension.sentry.log.log4j.SentryAppenderLog4j2", - "appenderBundleName": "sentry.extension", - "appenderBundleVersion": "5.5.2.15", - "layoutClass": "lucee.commons.io.log.log4j2.layout.ClassicLayout", - "layoutArguments": "" - }, "exception": { - "appenderArguments": "environment:%7Benv%2ESENTRY%5FENV%7D;dist:;extras:;dsn:%7Benv%2ESENTRY%5FDSN%7D;debug:true;tags", + "appender": "resource", + "appenderArguments": "path:{lucee-config}/logs/exception.log", "level": "error", - "appenderClass": "org.lucee.extension.sentry.log.log4j.SentryAppenderLog4j2", - "appenderBundleName": "sentry.extension", - "appenderBundleVersion": "5.5.2.15", - "layoutClass": "lucee.commons.io.log.log4j2.layout.ClassicLayout", - "layoutArguments": "" + "layout": "classic" }, "application": { - "appenderArguments": "environment:%7Benv%2ESENTRY%5FENV%7D;dist:;extras:;dsn:%7Benv%2ESENTRY%5FDSN%7D;debug:true;tags", + "appender": "resource", + "appenderArguments": "path:{lucee-config}/logs/application.log", "level": "info", - "appenderClass": "org.lucee.extension.sentry.log.log4j.SentryAppenderLog4j2", - "appenderBundleName": "sentry.extension", - "appenderBundleVersion": "5.5.2.15", - "layoutClass": "lucee.commons.io.log.log4j2.layout.ClassicLayout", - "layoutArguments": "" + "layout": "classic" }, "scope": { "appender": "resource", @@ -201,13 +186,10 @@ "layout": "classic" }, "rest": { - "appenderArguments": "environment:%7Benv%2ESENTRY%5FENV%7D;dist:;extras:;dsn:%7Benv%2ESENTRY%5FDSN%7D;debug:true;tags", + "appender": "resource", + "appenderArguments": "path:{lucee-config}/logs/rest.log", "level": "error", - "appenderClass": "org.lucee.extension.sentry.log.log4j.SentryAppenderLog4j2", - "appenderBundleName": "sentry.extension", - "appenderBundleVersion": "5.5.2.15", - "layoutClass": "lucee.commons.io.log.log4j2.layout.ClassicLayout", - "layoutArguments": "" + "layout": "classic" }, "mapping": { "appender": "resource", diff --git a/custom/bad-cfconfig/.CFConfig-bad-extension.json5 b/custom/bad-cfconfig/.CFConfig-bad-extension.json5 index 6437eb6..0697024 100644 --- a/custom/bad-cfconfig/.CFConfig-bad-extension.json5 +++ b/custom/bad-cfconfig/.CFConfig-bad-extension.json5 @@ -122,7 +122,7 @@ "deploy": { "appender": "resource", "appenderArguments": "path:{lucee-config}/logs/deploy.log", - "level": "info", + "level": "trace", "layout": "classic" }, "thread": { @@ -131,32 +131,17 @@ "level": "error", "layout": "classic" }, - "update-provider": { - "appenderArguments": "environment:%7Benv%2ESENTRY%5FENV%7D;dist:;extras:;dsn:%7Benv%2ESENTRY%5FDSN%7D;debug:true;tags", - "level": "error", - "appenderClass": "org.lucee.extension.sentry.log.log4j.SentryAppenderLog4j2", - "appenderBundleName": "sentry.extension", - "appenderBundleVersion": "5.5.2.15", - "layoutClass": "lucee.commons.io.log.log4j2.layout.ClassicLayout", - "layoutArguments": "" - }, "exception": { - "appenderArguments": "environment:%7Benv%2ESENTRY%5FENV%7D;dist:;extras:;dsn:%7Benv%2ESENTRY%5FDSN%7D;debug:true;tags", + "appender": "resource", + "appenderArguments": "path:{lucee-config}/logs/exception.log", "level": "error", - "appenderClass": "org.lucee.extension.sentry.log.log4j.SentryAppenderLog4j2", - "appenderBundleName": "sentry.extension", - "appenderBundleVersion": "5.5.2.15", - "layoutClass": "lucee.commons.io.log.log4j2.layout.ClassicLayout", - "layoutArguments": "" + "layout": "classic" }, "application": { - "appenderArguments": "environment:%7Benv%2ESENTRY%5FENV%7D;dist:;extras:;dsn:%7Benv%2ESENTRY%5FDSN%7D;debug:true;tags", + "appender": "resource", + "appenderArguments": "path:{lucee-config}/logs/application.log", "level": "info", - "appenderClass": "org.lucee.extension.sentry.log.log4j.SentryAppenderLog4j2", - "appenderBundleName": "sentry.extension", - "appenderBundleVersion": "5.5.2.15", - "layoutClass": "lucee.commons.io.log.log4j2.layout.ClassicLayout", - "layoutArguments": "" + "layout": "classic" }, "scope": { "appender": "resource", @@ -201,13 +186,10 @@ "layout": "classic" }, "rest": { - "appenderArguments": "environment:%7Benv%2ESENTRY%5FENV%7D;dist:;extras:;dsn:%7Benv%2ESENTRY%5FDSN%7D;debug:true;tags", + "appender": "resource", + "appenderArguments": "path:{lucee-config}/logs/rest.log", "level": "error", - "appenderClass": "org.lucee.extension.sentry.log.log4j.SentryAppenderLog4j2", - "appenderBundleName": "sentry.extension", - "appenderBundleVersion": "5.5.2.15", - "layoutClass": "lucee.commons.io.log.log4j2.layout.ClassicLayout", - "layoutArguments": "" + "layout": "classic" }, "mapping": { "appender": "resource", diff --git a/custom/bad-cfconfig/.CFConfig-good.json5 b/custom/bad-cfconfig/.CFConfig-good.json5 index 2559588..ef0d5d2 100644 --- a/custom/bad-cfconfig/.CFConfig-good.json5 +++ b/custom/bad-cfconfig/.CFConfig-good.json5 @@ -122,7 +122,7 @@ "deploy": { "appender": "resource", "appenderArguments": "path:{lucee-config}/logs/deploy.log", - "level": "info", + "level": "trace", "layout": "classic" }, "thread": { @@ -131,32 +131,17 @@ "level": "error", "layout": "classic" }, - "update-provider": { - "appenderArguments": "environment:%7Benv%2ESENTRY%5FENV%7D;dist:;extras:;dsn:%7Benv%2ESENTRY%5FDSN%7D;debug:true;tags", - "level": "error", - "appenderClass": "org.lucee.extension.sentry.log.log4j.SentryAppenderLog4j2", - "appenderBundleName": "sentry.extension", - "appenderBundleVersion": "5.5.2.15", - "layoutClass": "lucee.commons.io.log.log4j2.layout.ClassicLayout", - "layoutArguments": "" - }, "exception": { - "appenderArguments": "environment:%7Benv%2ESENTRY%5FENV%7D;dist:;extras:;dsn:%7Benv%2ESENTRY%5FDSN%7D;debug:true;tags", + "appender": "resource", + "appenderArguments": "path:{lucee-config}/logs/exception.log", "level": "error", - "appenderClass": "org.lucee.extension.sentry.log.log4j.SentryAppenderLog4j2", - "appenderBundleName": "sentry.extension", - "appenderBundleVersion": "5.5.2.15", - "layoutClass": "lucee.commons.io.log.log4j2.layout.ClassicLayout", - "layoutArguments": "" + "layout": "classic" }, "application": { - "appenderArguments": "environment:%7Benv%2ESENTRY%5FENV%7D;dist:;extras:;dsn:%7Benv%2ESENTRY%5FDSN%7D;debug:true;tags", + "appender": "resource", + "appenderArguments": "path:{lucee-config}/logs/application.log", "level": "info", - "appenderClass": "org.lucee.extension.sentry.log.log4j.SentryAppenderLog4j2", - "appenderBundleName": "sentry.extension", - "appenderBundleVersion": "5.5.2.15", - "layoutClass": "lucee.commons.io.log.log4j2.layout.ClassicLayout", - "layoutArguments": "" + "layout": "classic" }, "scope": { "appender": "resource", @@ -201,13 +186,10 @@ "layout": "classic" }, "rest": { - "appenderArguments": "environment:%7Benv%2ESENTRY%5FENV%7D;dist:;extras:;dsn:%7Benv%2ESENTRY%5FDSN%7D;debug:true;tags", + "appender": "resource", + "appenderArguments": "path:{lucee-config}/logs/rest.log", "level": "error", - "appenderClass": "org.lucee.extension.sentry.log.log4j.SentryAppenderLog4j2", - "appenderBundleName": "sentry.extension", - "appenderBundleVersion": "5.5.2.15", - "layoutClass": "lucee.commons.io.log.log4j2.layout.ClassicLayout", - "layoutArguments": "" + "layout": "classic" }, "mapping": { "appender": "resource",