<BEA-000449> <Closing the socket, as no data read from it on during the configured idle timeout of 5 seconds.>

weblogic启动之后经常报这个警告,导致日志文件增加非常大。
 E-WL: WebLogic Logs Warning Message: " " [ID 1423761.1]
Solution
亲测 解决访问:新增加个log的filter,即可解决.搜了一下metalink,有现成的说明:

E-WL: WebLogic Logs Warning Message: " " [ID 1423761.1]
Solution
The message is a warning and typically has no user impact, thus no action needs to be taken.

Note that there is an option to filter out the 'Closing socket' messages, as described below. But we advise against doing this since there is a small chance that the messages could be indicative of some sort of issue in your environment, therefore it is good to be aware of whether these messages are logged and the frequency at which they are logged. However, if still choose to filter out the messages, you can do so as follows:
  1. Log into WebLogic Admin console
  2. Click the 'Lock & Edit' button on left menu
  3. First, add the log filter:
      a. Click on your PeopleSoft Domain Name (on left menu in the 'Domain Structure' section)
      b. Go to 'Configuration' tab and 'Log Filters' subtab
      c. Click 'New' button to create a new filter
      d. Give any name to your new log file (eg "LogFilter-ClosingSocket'
      e. Click 'OK'
      f. Now click on the hyperlink for the newly created filter and in the 'Current Log Filter Expressions', click edit button to add the following:
           NOT(MESSAGE LIKE 'Closing socket as no data read from it%')
      g. Save the change
      h. Click 'Activate Changes' button on left menu
  4. Now assign the filter to the server
      a. On left menu, choose Environment->Servers
      b. On right menu, click the hyperlink for server you wish to update (eg 'PIA')
      c. Choose 'Logging' tab and 'General' subtab
      d. Go to bottom of page and click 'Advanced' hyperlink
      e. Click 'Lock & Edit button
      f. In the 'Logging' section, add the new filter that you created (in step 3 above)
      g. Also add the filter to the 'Standard out' section (so that message is not logged to PIA_weblogic.log nor the stdout/ntservice log)
      h. Save the change
      i. Click 'Activate Changes' button on left menu

具体如下:

 

 

 MESSAGE  LIKE  Closing socket as no data read from it%

 

 

 高级:

 

 

posted @   beawh  阅读(2532)  评论(0编辑  收藏  举报
编辑推荐:
· AI与.NET技术实操系列:基于图像分类模型对图像进行分类
· go语言实现终端里的倒计时
· 如何编写易于单元测试的代码
· 10年+ .NET Coder 心语,封装的思维:从隐藏、稳定开始理解其本质意义
· .NET Core 中如何实现缓存的预热?
阅读排行:
· 25岁的心里话
· 闲置电脑爆改个人服务器(超详细) #公网映射 #Vmware虚拟网络编辑器
· 零经验选手,Compose 一天开发一款小游戏!
· 因为Apifox不支持离线,我果断选择了Apipost!
· 通过 API 将Deepseek响应流式内容输出到前端
历史上的今天:
2019-08-30 mysql5.7 mgr组复制
2019-08-30 Linux7 启动网卡报错
点击右上角即可分享
微信分享提示