Comments (10)
I ended up using the following (to get two output files):
arguments:
- "-Dweblogic.Stdout=/logs/%{::domain}/weblogic/%{::appname}-s1.log"
- "-Dweblogic.Stderr=/logs/%{::domain}/weblogic/%{::appname}-s1.out"
logfilename: "/logs/%{::domain}/weblogic/%{::appname}-s1.log"
For instance, the logfilename parameter and the stdout JVM define both point to the same log file.
from biemond-orawls.
The 2 server java arguments are used by the nodemanager when it startups up the managed server, re-direct outlog and how the nodemanager starts the server.
The other are for the managed server, domain, http ,datasource log etc. with rotation and size
Don't think you used re-use the log files because of locking or performance.
from biemond-orawls.
Interesting, I know my customer has specifically requested two output log files (one for stdout and one for stderr) as described above. But, I see your point on the performance...
from biemond-orawls.
Yeah, I just tested this, and I don't see some of my applications output that is being sent to STDOUT, maybe this is due to what you were saying?
from biemond-orawls.
In the weblogic console you can try on the advanced log options of a managed server to enable redirect stdout to server log
from biemond-orawls.
My coworker says this option:
http://docs.oracle.com/cd/E17904_01/web.1111/e13739/config_logs.htm#WLLOG163
-Dweblogic.log.RedirectStdoutToServerLogEnabled=true
from biemond-orawls.
indeed that does the same.
is the application using a Logger or doing System.out
from biemond-orawls.
We just wrote a quick test app to write to stdout and stderr. He just used a System.out and System.err. Does it make a difference?
from biemond-orawls.
I think with a logger, default every under warning is ignored . So when you log a warning or an error you should see it. system out only when you set weblogic.log.RedirectStdoutToServerLogEnabled=true you can see this output in the normal log but It should be there in the nodemanager log, off course when you use the nodemanager to start the managed server.
from biemond-orawls.
So, I added the RedirectStdoutToServerLogEnabled for both my WL 10 and 12 offerings. This seems to have allowed the output to route to where it should go.
from biemond-orawls.
Related Issues (20)
- change wlst_action HOT 1
- Some "get" methods still exist after replacement by "get_attribute_value"
- Issues when trying to set nodemanager_username and _password HOT 1
- Managed server not creating using wlserver
- Datasource created in WLS 12.2.1.3 appears to not display in Monitoring tab
- Upgrade to 12.2.1.4 HOT 1
- Errors when running puppet on an AIX operating system HOT 1
- Repo description doesn't match Documentation HOT 1
- FMW install in Solaris for new version fails HOT 1
- wls_opatch and multiple orainst_dir HOT 1
- opatch not being applied when doing a puppet run
- Support for 12.2.1.4
- OHS 12.2.1.4 HOT 7
- extraproperties is not idempotent HOT 1
- Odd issue that we need assistance with
- JDBC_persistence_store - get('MigrationPolicy') & get('DistributionPolicy') causes timeout
- Support for Weblogic version 14.1.1.0
- for keystores of type pkcs12, wls_authentication_provider creation fails with "Error: No domain or domain template has been read." HOT 3
- 0400 Puppet (err): Failed to apply catalog: BUG! removeinfectedconnections should have been '0' or '1' HOT 19
- Does orawls supports puppet enterprisemodules-easy_type (v2.48.3) as hajee-easy_type (v0.15.6) is been depricated?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from biemond-orawls.