Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What's the use of Weblogic logs?

2025-02-26 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/02 Report--

This article mainly introduces what Weblogic log is used for. The introduction in the article is very detailed and has certain reference value. Interested friends must read it!

During startup and operation, LOGY will record various LOG information to help system administrators manage and maintain the whole application system.

1, log position

..\ user_projects\domains\your_domain\servers\AdminServer\logs

AdminServer.log

access.log

domain_name.log

2. Log file description

LOG SERVER Run Log

If an error occurs during startup or operation of LOGY SERVER, the error message is displayed on the screen and logged in a LOG file called AdminServer.log by default. This file also records other operational information such as start-up and shut-down of LOGY. You can set the path and name of the file, the level of error output, etc. in the Gernal property page.

HTTP Access Log

Log files on the server accessed by HTTP and HTTPS protocols can be recorded. The default name of the LOG file is Access.log. The contents of the LOG file are as follows. The file specifically records that the client of a certain IP address accessed the file on the server at a certain time.

127.0.0.1 - - [25/Feb/2002:11:35:58 +0800] "GET /weather HTTP/1.1" 302 0

127.0.0.1 - - [25/Feb/2002:11:35:58 +0800] "GET /weather/index.Html HTTP/1.1" 200 176

Properties of HTTP access logs can be set in the HTTP property page.

DOMAIN Run Log

Record the operation of a DOMIAN. Each LOGY SERVER in a DOMAIN can send some of their operation information (such as serious errors) to an ADMINISTRATOR SERVER of a DOMAIN. ADMINISTRATOR SERVER will send these information to the DOMAIN log. Default name: domain_name.log

3. Graphic operation

Login to weblogic

Left menu: Environment->Servers

Right menu: AdminServer(admin)->logging

Only AdminServer.log, access.log found

3. Other

Rollback settings for log files

In the Rotation property page, you can set the rollback method of these log files. When the log file reaches a certain size or after a set time, the log information is saved to a new file. Logic is available in both file size and time. As shown below, select Rotation Type as BY SIZE. That is, when the log file size reaches 500K, write a new file. If the Rotation Type is BY TIME, a new file is written every 24 hours. and numbered them.

Set Log File Name

For example: _% yy %_%MM%_%dd%_%hh%_%mm%

The above is "Weblogic log what to use" all the content of this article, thank you for reading! Hope to share the content to help everyone, more relevant knowledge, welcome to pay attention to the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report