본문 바로가기
java

logback 설정 정보 확인하기

by 후린트 2020. 6. 10.
반응형

http://logback.qos.ch/manual/introduction.html

 

Chapter 1: Introduction

Chapter 1: Introduction The morale effects are startling. Enthusiasm jumps when there is a running system, even a simple one. Efforts redouble when the first picture from a new graphics software system appears on the screen, even if it is only a rectangle.

logback.qos.ch

 

public class HelloWorld2 {

  public static void main(String[] args) {
    Logger logger = LoggerFactory.getLogger("chapters.introduction.HelloWorld2");
    logger.debug("Hello world.");

    // print internal state
    LoggerContext lc = (LoggerContext) LoggerFactory.getILoggerFactory();
    StatusPrinter.print(lc);
  }
}
반응형

'java' 카테고리의 다른 글

톰캣 jsp 빈줄 제거  (0) 2020.11.25
redirect http to https (response.sendRedirect)  (0) 2020.11.25
스프링부트 로그레벨 변경  (0) 2020.05.20
gradle_user_home 디렉토리 설정  (0) 2020.04.23
Springboot change timezone  (0) 2020.04.21