Change the log files location of a WebLogic Domain
2015-07-15 19:55
399 查看
Src: http://biemond.blogspot.com/2011/07/change-log-files-location-of-weblogic.html
In a default WebLogic Domain you can have various WebLogic logfiles located at different locations. For administrators it can be hard to find them all and these log files can have and grow to a large file size which can lead to a full file system. In this
blogpost we will move these log files to one location.
For example when we take a look at the logs folder of the AdminServer you will see off course the WebLogic server log called AdminServer.log , the domain log in this case base_domain.log, access.log for the HTTP request logging and the FMW log called AdminServer-diagnostic.log.
At a managed server logs folder location you can also see the server1.out and server1.out00001 log files. These files are created by the NodeManager when we start the Managed servers from the WebLogic Console.
First let's move the Domain log.
Then change the General log file for all the WebLogic Servers.
Also do this for the HTTP access.log and rename the logfile to servername_access.log else it will conflict with the other servers.
To control the NodeManager standard and error output of the Managed Servers you need set the following weblogic.Stdout weblogic.Stderr parameters. Add these parameters to the argument field of all the managed server which will be started by the NodeManager.
When you enable at least the JRF or the Enterprise Manager option on your domain you need to change the location of the FMW log files. Go the Enterprise Manager Application and select all the Managed Servers.
Click on odl-handler and press the Edit Configuration.
Change the path of the log file.
Now you have one location which contains all the log files.
Src: http://biemond.blogspot.com/2011/07/change-log-files-location-of-weblogic.html
In a default WebLogic Domain you can have various WebLogic logfiles located at different locations. For administrators it can be hard to find them all and these log files can have and grow to a large file size which can lead to a full file system. In this
blogpost we will move these log files to one location.
For example when we take a look at the logs folder of the AdminServer you will see off course the WebLogic server log called AdminServer.log , the domain log in this case base_domain.log, access.log for the HTTP request logging and the FMW log called AdminServer-diagnostic.log.
At a managed server logs folder location you can also see the server1.out and server1.out00001 log files. These files are created by the NodeManager when we start the Managed servers from the WebLogic Console.
First let's move the Domain log.
Then change the General log file for all the WebLogic Servers.
Also do this for the HTTP access.log and rename the logfile to servername_access.log else it will conflict with the other servers.
To control the NodeManager standard and error output of the Managed Servers you need set the following weblogic.Stdout weblogic.Stderr parameters. Add these parameters to the argument field of all the managed server which will be started by the NodeManager.
When you enable at least the JRF or the Enterprise Manager option on your domain you need to change the location of the FMW log files. Go the Enterprise Manager Application and select all the Managed Servers.
Click on odl-handler and press the Edit Configuration.
Change the path of the log file.
Now you have one location which contains all the log files.
相关文章推荐
- 杭电1145 so you want to be a 2n-aire?
- 内存管理: alloc, retain, release, autorelease, copy, assign
- pthread_cond_wait的理解
- 内存管理(一):栈区、堆区,成员变量和局部变量,alloc,retain,自动释放池,成员变量及属性的内存管理
- liunx GHOST clonezilla(再生龙)UltraISO刻录问题
- 解决Robotium测试中Installation error INSTALL_FAILED_VERSION_DOWNGRADE错误
- Communications Link failure
- 关于android.intent.action.MAIN与android.intent.category
- 2013 Multi-University Training Contest 4
- 通过手机页面获取当前城市
- Rails4 中 因为secret key 引起在production环境下无法运行
- toj3852. Haitang1
- push-pull和open drain
- [Win32SDK基本]ListView Controls(2)Report (details) View 详解(续)
- container_of的使用
- DDD(Domain Driver Designer) 领域驱动设计简介
- Scala之Trait的使用
- poj 1273 Drainage Ditches(最大流)
- CONTAINING_RECORD IN EFI
- RapidMiner studio之MainFrame源码分析