快上网专注成都网站设计 成都网站制作 成都网站建设
成都网站建设公司服务热线:028-86922220

网站建设知识

十年网站开发经验 + 多家企业客户 + 靠谱的建站团队

量身定制 + 运营维护+专业推广+无忧售后,网站问题一站解决

tomcat日志级别

tomcat日志级别有以下几种:

Log level Description

创新互联是一家专注于网站制作、网站建设与策划设计,德化网站建设哪家好?创新互联做网站,专注于网站建设十年,网设计领域的专业建站公司;建站业务涵盖:德化等地区。德化做网站价格咨询:18980820575

  • SEVERE(highest) Captures exception and Error
  • WARNING Warning messages
  • INFO Informational message, related to the server activity
  • CONFIG Configuration message
  • FINE Detailed activity of the server transaction (similar to debug)
  • FINER More detailed logs than FINE
  • FINEST(least) Entire flow of events (similar to trace)

比如看下如下文件配置的日志级别:

localhost.org.apache.juli.FileHandler.level = FINE
localhost.org.apache.juli.FileHandler.directory = ${catalina.base}/logs
localhost.org.apache.juli.FileHandler.prefix = localho
```st.

**日志的内容:**

############################################################
Facility specific properties.
Provides extra control for each logger.
############################################################
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].level = INFO
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].handlers = 2localhost.org.apache.juli.FileHandler
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/manager] .level = INFO
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/manager] .handlers = 3manager.org.apache.juli.FileHandler
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/host- manager].level = INFO
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/host- manager].handlers = 4host-manager.org.apache.juli.FileHandler


网站栏目:tomcat日志级别
标题URL:http://6mz.cn/article/pdjegd.html

其他资讯