You can do this by changing startWeblogic.cmd or from the admin console
See both options in detail in the docs
When starting the Administration Server, include the following Java command in the weblogic.Server command:
-Dweblogic.log.RedirectStdoutToServerLogEnabled=true
Or from Admin Console
source share