• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to redirect out file to log file in weblogic 10.3

 
Ramakanta Sahoo
Ranch Hand
Posts: 255
Fedora Firefox Browser Netbeans IDE
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Debasis Dana
Greenhorn
Posts: 5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
this should work..
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic