You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Resolution is applied both when pre-creating the log directory and in the pattern handed
38
+
to JUL, so the two agree. A pattern with no placeholder (e.g. an absolute literal path) is
39
+
returned unchanged.
40
+
41
+
Operators relocate the log directory by setting the environment variable:
42
+
`ARCADEDB_LOG_DIR=/var/lib/arcadedb/log` (the launch scripts forward it as
43
+
`-Darcadedb.server.logsDirectory=...`), or by setting the system property directly.
44
+
When unset, logs default to `./log`, identical to prior releases.
45
+
46
+
## Affected Files
47
+
48
+
-`engine/src/main/java/com/arcadedb/log/DefaultLogger.java` - `resolveConfigurableLogDir` helper, wired into `createLogDirectoryFromConfig()` and `installCustomFormatter()`
49
+
-`engine/src/main/java/com/arcadedb/GlobalConfiguration.java` - new `SERVER_LOGS_DIRECTORY` config entry (`arcadedb.server.logsDirectory`, default `./log`)
"Directory where the server writes log files, referenced as ${arcadedb.server.logsDirectory} in arcadedb-log.properties. Defaults to './log'; set to an absolute writable path for read-only root filesystems.",
556
+
String.class, "./log"),
557
+
553
558
SERVER_DATABASE_DIRECTORY("arcadedb.server.databaseDirectory", SCOPE.JVM, "Directory containing the database", String.class,
554
559
"${arcadedb.server.rootPath}/databases"),
555
560
@@ -655,10 +660,13 @@ Each idle thread reserves a stack (~512KB-1MB) and Thread metadata in heap, so l
Servers in the cluster as a list of <hostname/ip-address:raftPort:httpPort[:priority]> items separated by comma. \
663
+
Servers in the cluster, comma-separated. Each entry can use either the positional form \
664
+
<hostname/ip-address:raftPort:httpPort[:priority[:httpsPort]]> or the more readable object form \
665
+
<hostname/ip-address:{raft:2434,http:2480,https:2490,priority:10}> (fields unordered, all optional except raft defaults to the configured Raft port). Both forms may be mixed and prefixed with an optional 'name@'. \
659
666
The httpPort is required for replica-to-leader HTTP command forwarding. \
660
667
The optional priority (integer, default 0) sets the preferred leader: the node with the highest priority is preferred during elections. \
The optional httpsPort is used for encrypted peer-to-peer transfers (e.g. snapshot download) when 'arcadedb.ssl.enabled' is true; when omitted on a homogeneous cluster it is derived from this node's local HTTPS listening port. \
669
+
Examples: localhost:2434:2480:10:2490,192.168.0.1:2434:2480:0:2490 or localhost:{raft:2434,http:2480,https:2490,priority:10},192.168.0.1:{raft:2434,http:2480,https:2490}""",
0 commit comments