setting `RotateLogOnStartup: true` attribute doesnot have any effect
See original GitHub issueWhen configuring OSB domain, I would like to customise Log:
attribute with extended params.
One of those params doesnot have any effect, aka it doesnot set the server’s logging config.
See
Log:
FileCount: 20
LogFileRotationDir: /u06/{{ oracle_user }}/logs/rotatedLogs
RotateLogOnStartup: true
RotationType: bySize
NumberOfFilesLimited: true
RedirectStderrToServerLogEnabled: true
RedirectStdoutToServerLogEnabled: true
FileMinSize: 5000
DomainLogBroadcasterBufferSize: 1
FileName: {{ domain_logs_dir }}.log
When check AdminServer console, I see that all attributes are actively set, except RotateLogOnStartup: true
which does no effect on the server’s Log configuration, aka Rotate log file on startup
is still inactive.
- WDT version:
20210402 built from master branch
- OSB version:
12.2.1.4
Can you please advise/help?
Issue Analytics
- State:
- Created 2 years ago
- Comments:12 (5 by maintainers)
Top Results From Across the Web
create domain issue with RotateLogOnStartup #304 - GitHub
It appears that WLST offline has a default of true for RotateLogOnStartup, and omits this attribute in the config.xml for that case. In...
Read more >Unable to RotateLogOnStartup to True from WLST
When creating domain with RotateLogOnStartup true via WLST offline mode, RotateLogOnStartup always set as false. This does not provide any ...
Read more >What's New in Oracle WebLogic Server 12.2.1.3.0 - Microsoft
Concurrent deployment occurs automatically; there are no attributes to configure. 2.2.3 JNDI Support for Multitenancy. To support multitenancy, ...
Read more >Manage WebLogic domains :: WebLogic Kubernetes Operator
This occurs if the Domain logHomeEnabled field is explicitly set to true , or if logHomeEnabled isn't set and domainHomeSourceType is set to...
Read more >Converting a Weblogic Server domain from Production Mode ...
There are several ways to configure the mode of the domain. ... The following non-dynamic attribute(s) have been changed on MBeans
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@zeusbaba This is a WLST offline bug in WebLogic. The bug that I filed on your behalf is fixed in the next production release of WebLogic Server. To get this fix for the release of WLS that you are using, you will need to file a support case with Oracle technical support and ask that the fix be ported to your specific release. Be sure to mention, in your support case, all one-off patches and PSUs that you are using. The bug number of the original fix is 29547985.
@ddsharpe thanks for your efforts.
I’ve just tried to verify the fix you mentioned by using
My validation didn’t yield successful results, see details below.
I noticed in #938 you’ve tested by setting attribute for
However, the issue I created is about the
RotateLogOnStartup
for the domain andAdminServer
andManagedServers
let me re-iterate the issue for further debugging.see this WDT template snippet (removed unrelated lines) which is for a basic WLS server setup:
all attributes are correctly set, except
RotateLogOnStartup
is still false,see screenshot from AdminServer console.
Could you please advise? can we please re-open this issue?