| Author |
How to redirect out file to log file in weblogic 10.3
|
Ramakanta Sahoo
Ranch Hand
Joined: Aug 23, 2008
Posts: 235
|
|
Hi All,
Right now we are redirecting stdout file to .out log and rotating each .out file using logrotate in linux. but the issue is when we use log rotate to rotate the out file it creates a very big binary line in the out file after it gets rotated which makes the .out file unreadable by monitoring tools but if we delete the first binary line then we are able to read the log by monitoring tools.
Now the question: Is there anyway to redirect the .out file output to the server .log file so that weblogic will be able to manage the log rotation and we can configure it to rotate using weblogic admin console.
is this going to work ./StartManagedWeblogic.sh >> server.log 2>&1
|
Regards, Ricky
Oracle Weblogic 10g Certified Expert
TechBlog
|
 |
Debasis Dana
Greenhorn
Joined: Jul 21, 2011
Posts: 5
|
|
|
this should work..
|
 |
 |
|
|
subject: How to redirect out file to log file in weblogic 10.3
|
|
|