Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Env_var_updates #1472

Merged
merged 4 commits into from
Mar 5, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 44 additions & 0 deletions docs/recipes/environment-variables-system-properties.md
Original file line number Diff line number Diff line change
Expand Up @@ -378,6 +378,50 @@ Specifies the file location of the trust store that contains trusted Certificate
**System Property:** `-Dlucee.web.charset`
Default character set for output streams, form-, URL-, and CGI scope variables, and reading/writing the header.

**Environment Variable:** `LUCEE_CONTROLLER_GC`
**System Property:** `-Dlucee.controller.gc`
Default false, previously Lucee always ran a System.GC() every 5 minutes, available since 6.2.

**Environment Variable:** `LUCEE_URL_ENCODEALLOWPLUS`
**System Property:** `-Dlucee.url.encodeAllowPlus`
Lucee before 6.2 would attempt to re-encode a url param which contained a space. If the url param was already encoded, it would trigger re-encoding the param again, breaking it. This was avoidable previously by using cfhttp encodeurl=false, set to false to enable previous behaviour.

**Environment Variable:** `LUCEE_DUMP_THREADS`
**System Property:** `-Dlucee.dump.threads`
Used for debugging, when enabled, it will dump out running threads to the console via the background controller thread.

**Environment Variable:** `LUCEE_SCOPE_LOCAL_CAPACITY`
**System Property:** `-Dlucee.scope.local.capacity`
Sets the initial capacity (size) for the local scope hashmap.

**Environment Variable:** `LUCEE_SCOPE_ARGUMENTS_CAPACITY`
**System Property:** `-Dlucee.scope.arguments.capacity`
Sets the initial capacity (size) for the arguments scope hashmap.

**Environment Variable:** `LUCEE_CACHE_VARIABLEKEYS`
**System Property:** `-Dlucee.cache.variableKeys`
Sets the max number of variable names (keys) to cache.

**Environment Variable:** `LUCEE_THREADS_MAXDEFAULT`
**System Property:** `-Dlucee.threads.maxDefault`
Sets the default max number of parallel threads, default 20.

**Environment Variable:** `LUCEE_DEBUGGING_MAXPAGEPARTS`
**System Property:** `-Dlucee.debugging.maxPageParts`
Maximum number of debugging page parts (executionLogs to output), 0 to disable max limit.

**Environment Variable:** `LUCEE_LOGGING_FORCE_APPENDER`
**System Property:** `-Dlucee.logging.force.appender`
If set, override the default log4j appender, which is usually resource (log files), use console to log all logs to console

**Environment Variable:** `LUCEE_LOGGING_FORCE_LEVEL`
**System Property:** `-Dlucee.logging.force.level`
If set, override the default log4j log level for all logs, which is usually ERROR

**Environment Variable:** `LUCEE_SESSIONCOOKIE_ROTATE_UNKNOWN`
**System Property:** `-Dlucee.sessionCookie.rotate.unknown`
Default true, when false, unknown cfml session cookies won't be automatically rotated

## Edge Case Settings

These settings are normally not needed in a regular environment.
Expand Down
2 changes: 1 addition & 1 deletion docs/recipes/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@
"file": "environment-variables-system-properties.md",
"title": "Environment Variables / System Properties for Lucee",
"path": "/docs/recipes/environment-variables-system-properties.md",
"hash": "8ba721f6825e05601dd28869c5864bb6",
"hash": "73e859d2eaefeae86f5da05c2065260c",
"keywords": [
"Environment",
"Environment Variables",
Expand Down