'WEB-INF'에 해당되는 글 916건

[SLF4J] SLF4J

Logging/SLF4J 2016. 5. 24. 15:58
donaricano-btn

What is the slf4j


1. Define

- The Simple Logging Facade for Java (SLF4J) serves as a simple facade or abstraction for various logging framework(java.util.logging, logback, log4j..) allowing the end user to plug in the desired logging framework at deployment time



2. Install

- http://www.slf4j.org/download.html

- slf4j-api-1.7.21


3. Hello world


3_1. Warning

- The warning is printed because no slf4j binding could be found on your class path

- The warning will disappear as soon as you add a binding to your class path. Assuming you add slf4j-simple-1.7.21.jar so that your class path contains


4. Typical usage pattern


5. Binding with a logging framework at deployment time

- SLF4J supports various logging frameworks. The SLF4J distribution ships with several jar files referred to as 'SLF4J binding', with each binding corresponding to a supported framework


5_1. To switch logging frameworks

Just replace slf4j bindings on your class path.

* For example

To switch from java.util.logging to log4j, just replace slfj-jdk14-1.7.21 jar with slf-j4-log4j12-1.7.21.jar




블로그 이미지

리딩리드

,
donaricano-btn

Screen English

Hannah : The high school's just past the woods on the other side.

Stine : Wait, How do you know that?

Hannah : Uh, sometimes I get a little stir-crazy and go exploring

Stine : When?

Hannah : At night after you go to bed

Stine: You're grounded


Hannah : 고등학교는 숲을 지나 바로 건너편에 있어요

Stine : 잠깐, 근데 네가 그걸 어떻게 알아?

Hannah : 아 가끔 집에 갇혀서 머리가 미칠 지경이면 밖에 나가거든요

Stine : 언제?

Hannah : 아빠가 잠들고 난 후 밤에요

Stine: 넌 외출 금지야


넌 외출 금지야

- You can't go out

- Don't leave the house


Kiss English

Dialogue 1

A: There's a fifty-fifty chance of our winning the game

(우리가 경기에서 이길 확률은 50대50이야)

B: I wish you good luck

(행운을 빌어)


Dialogue 2

A: She has a fifty-fifty chance of being right

(그녀가 맞을 확률은 반반이야)

B: I'm betting on her

(나는 그녀 쪽에 걸겠어)


Dialogue 3

A: The baby has a fifty-fifty chance of being a boy

(그 아기가 남자일 확률은 50대 50이야)

B: There aren't many options

(선택권이 많은 것은 아니지)

'English > GMP.2016' 카테고리의 다른 글

[EnglishForDev] Logging Words  (0) 2016.05.25
[GMP] I need you to go to the police station  (0) 2016.05.25
[GMP] I have to get hold of my son  (0) 2016.05.23
[GMP] It's still very impressive  (0) 2016.05.20
[GMP] It's somewhere safe  (0) 2016.05.20
블로그 이미지

리딩리드

,

[Log4j] How to use

Logging/Log4j 2016. 5. 23. 15:34
donaricano-btn

How to use the log4j


1. properties

1_1 properties


1_2. java


2. XML



'Logging > Log4j' 카테고리의 다른 글

[Log4j] Configuration  (0) 2016.05.20
[Log4j] Install and Architecture  (0) 2016.05.20
[Log4j] Define  (0) 2016.05.20
블로그 이미지

리딩리드

,
donaricano-btn

Screen English

Coach : I didn't mean to scare you.

I mean, I did mean to scare you,

but in a playful way

So, uh, is everything okay?

Gale : I'm sorry, I have to get hold of my son

and I can't get any service


Coach : 당신을 겁주려던 건 아니었어요

겁주려던건 맞는데

장난으로 그런 거라고요

근데 괜찮아요?

Gale : 미안해요. 아들과 연락을 해야해서요

근데 신호가 잡히질 않네요


내 아들과 연락을 해야해

- I need to get in touch with my son

- I've got to speak with my son


Kiss English

Dialogue 1

A: Every mistake offers valuable advice on life

(모든 실수는 인생에 대한 귀중한 충고를 담고 있지)

B: Fool me once, shame on you

Fool me twice, shame on me

(한번속으면 네잘못, 두 번속으면 내잘못이지)


Dialogue 2

A: The Army offered education in exchange for service

(군대는 복무하는 대신에 교육을 제공하지)

B: That's a fair trade

(그건 공정 거래인데)


Dialogue 3

A: A Team from LA offered Mike a position

(LA에서 온 팀이 마이크에게 자리를 하나 제안했지)

B: That's good career move

(그거 경력상 좋은 진전인데?)

'English > GMP.2016' 카테고리의 다른 글

[GMP] I need you to go to the police station  (0) 2016.05.25
[GMP] You're grounded  (0) 2016.05.24
[GMP] It's still very impressive  (0) 2016.05.20
[GMP] It's somewhere safe  (0) 2016.05.20
[GMP] barely know him  (0) 2016.05.18
블로그 이미지

리딩리드

,