tomcat 로그 단계

1697 단어 tomcatloggingTomcat
tomcat 로그 단 계 는 다음 과 같은 몇 가지 가 있 습 니 다.
Log level Description
  • 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 = INFOorg.apache.catalina.core.ContainerBase.[Catalina].[localhost].handlers = 2localhost.org.apache.juli.FileHandlerorg.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/manager] .level = INFOorg.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/manager] .handlers = 3manager.org.apache.juli.FileHandlerorg.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/host- manager].level = INFOorg.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/host- manager].handlers = 4host-manager.org.apache.juli.FileHandler

    좋은 웹페이지 즐겨찾기