Skip to content

Commit d40e9c2

Browse files
doxiaorussgold
authored andcommitted
Set logHome default to /shared/logs/domainUID
Signed-off-by: doxiao <[email protected]>
1 parent ef6add8 commit d40e9c2

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

kubernetes/samples/scripts/create-weblogic-domain/domain-home-on-pv/create-domain-inputs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ includeServerOutInPodLog: true
6666
# files in.
6767
# If not specified or empty, domain log file, server logs, server out, and node manager log files
6868
# will be stored in the default logHome location of /shared/logs/<domainUID>/.
69-
logHome:
69+
logHome:
7070

7171
# Port for the T3Channel of the NetworkAccessPoint
7272
t3ChannelPort: 30012

kubernetes/samples/scripts/create-weblogic-domain/domain-home-on-pv/create-domain.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -295,6 +295,10 @@ function createYamlFiles {
295295
domainPVMountPath="/shared"
296296
fi
297297

298+
if [ -z "${logHome}" ]; then
299+
logHome="/shared/logs/${domainUID}"
300+
fi
301+
298302
# Use the default value if not defined.
299303
if [ -z "${createDomainScriptsMountPath}" ]; then
300304
createDomainScriptsMountPath="/u01/weblogic"

0 commit comments

Comments
 (0)