Skip to content

Commit 846f0be

Browse files
committed
Correct ByServers constant in NM script and remove default for logHomeLayout
1 parent 7b68b58 commit 846f0be

File tree

4 files changed

+2
-5
lines changed

4 files changed

+2
-5
lines changed

documentation/domains/Domain.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,6 @@
378378
"minimum": 1
379379
},
380380
"logHomeLayout": {
381-
"default": "ByServers",
382381
"description": "Control how log files under `logHome` are organized when logHome is set and `logHomeEnabled` is true. `Flat` specifies that all files are kept directly in the `logHome` root directory. `ByServers` specifies that domain log files and `introspector.out` are at the `logHome` root level, all other files are organized under the respective server name logs directory `logHome/servers/\u003cserver name\u003e/logs`. Defaults to `ByServers`.",
383382
"type": "string",
384383
"enum": [

kubernetes/crd/domain-crd.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ apiVersion: apiextensions.k8s.io/v1
55
kind: CustomResourceDefinition
66
metadata:
77
annotations:
8-
weblogic.sha256: dfb1401d47ad44961c30bb2ab266cb8adcf12e8933bf510d48838ffb80766065
8+
weblogic.sha256: a75abc92b2e2f3a344dc65eaed6e1e9aa5621ba540c0956db32056592f9ffb46
99
name: domains.weblogic.oracle
1010
spec:
1111
group: weblogic.oracle
@@ -926,7 +926,6 @@ spec:
926926
minimum: 1
927927
type: integer
928928
logHomeLayout:
929-
default: ByServers
930929
description: Control how log files under `logHome` are organized when
931930
logHome is set and `logHomeEnabled` is true. `Flat` specifies that
932931
all files are kept directly in the `logHome` root directory. `ByServers`

operator/src/main/java/oracle/kubernetes/weblogic/domain/model/DomainSpec.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,6 @@ public class DomainSpec extends BaseConfiguration {
129129
+ "`ByServers` specifies that domain log files and `introspector.out` are at the `logHome` root level, "
130130
+ "all other files are organized under the respective server name logs directory "
131131
+ "`logHome/servers/<server name>/logs`. Defaults to `ByServers`.")
132-
@Default(strDefault = "ByServers")
133132
private LogHomeLayoutType logHomeLayout = LogHomeLayoutType.BY_SERVERS;
134133

135134

operator/src/main/resources/scripts/startNodeManager.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ if [ "${SERVER_NAME}" = "introspector" ]; then
133133
else
134134
# setup ".out" location for a WL server
135135
serverLogHome="${LOG_HOME:-${DOMAIN_HOME}}"
136-
if [ -z ${LOG_HOME_LAYOUT} ] || [ "BY_SERVERS" = ${LOG_HOME_LAYOUT} ] ; then
136+
if [ -z ${LOG_HOME} ] || [ "ByServers" = ${LOG_HOME_LAYOUT} ] ; then
137137
serverLogHome="${serverLogHome}/servers/${SERVER_NAME}/logs"
138138
fi
139139
export SERVER_OUT_FILE="${serverLogHome}/${SERVER_NAME}.out"

0 commit comments

Comments
 (0)