Sometime we need to truncate the STDOUT Logs into parts as soon as it grows a certain limit. As STDOUT logs are controlled by JVM. But there are some tricks which we can use to achieve the same.
1. By Using Shell Script
2. By configuring one option in the Admin console of weblogic using JAVA_OPTIONS
Once we will start getting the STDOUT logs into server logs, we can easily rotate the server logs using Shell Script.