반응형
반응형

메이븐 플러그 오류(maven-resources-plugin 2.6) 

이클립스를 닫고 

D:\developmentOKH\apache-maven-3.5.0\repository\org\apache\maven\plugins 하위에 모든플러그 폴더를 삭제한 후
OSX = /Users/${USER}/.m2/repository/org/apache/maven/plugin   

프로젝트 우클릭 Maven->Update Project

 

반응형
반응형

log4j2.xml 에서 로그파일 저장, 년도/월별 폴더 생성 후 그 아래에 로그파일 일자시간별 생성 저장.

    <Appenders>
        <Console name="console" target="SYSTEM_OUT">
            <PatternLayout pattern="%d %5p [%c] %m%n" />
        </Console>
        <RollingFile name="file" fileName="./logs/file/all.log" 
                   filePattern="./logs/file/$${date:yyyy}/$${date:MM}/all_%d{yyyyMMddHH}.log">
                <PatternLayout pattern="%d{HH:mm:ss.SSS} [%t] %-5level %logger{36} - %msg%n"/>
                <Policies>
                        <TimeBasedTriggeringPolicy /><!-- Rotated everyday -->
                </Policies>
        </RollingFile>
    </Appenders>

 

<Loggers> 에서 <AppenderRef ref="file" > 이어야 파일로 저장. 

    <Loggers> 
       
        <Logger name="java.sql" level="off" additivity="false">
            <AppenderRef ref="console" />
        </Logger>
        <Logger name="egovframework" level="ERROR" additivity="false">
            <AppenderRef ref="console" />
            <AppenderRef ref="file"/> 
        </Logger>
        <Logger name="org.springframework" level="DEBUG" additivity="false">
            <AppenderRef ref="console" /> 
            <AppenderRef ref="file"/> 
        </Logger>


        <Logger name="jdbc.sqltiming" level="off" additivity="false">

            <AppenderRef ref="console" />
        </Logger>
        <Logger name="jdbc.resultsettable" level="off" additivity="false">
            <AppenderRef ref="console"/>
        </Logger>
        <Logger name="jdbc.sqlonly" level="info" additivity="false"> <!-- info / ERROR / DEBUG / off -->
            <AppenderRef ref="console"/>
        </Logger>

        <Root level="ERROR">
            <AppenderRef ref="console" />
        </Root>
    </Loggers>

 

반응형
반응형

iTerms2 theme 변경하기. 테마 변경하기

https://github.com/mbadolato/iTerm2-Color-Schemes  테마를 다운받는다. 

 

mbadolato/iTerm2-Color-Schemes

Over 200 terminal color schemes/themes for iTerm/iTerm2 (with ports to Terminal, Konsole, PuTTY, Xresources, XRDB, Remina, Termite, XFCE, Tilda, FreeBSD VT, Terminator, Kitty, and MobaXterm) - mbad...

github.com

 

Via iTerm preferences

  • Launch iTerm 2. Get the latest version at iterm2.com
  • Click on iTerm2 menu title
  • Select Preferences... option
  • Select Profiles
  • Navigate to Colors tab
  • Click on Color Presets
  • Click on Import
  • Select the .itermcolors file(s) of the schemes you'd like to use  *** 다운받은 폴더 중 scheme 폴더에서 테마를 선택해야 한다.  ***
  • Click on Color Presets and choose a color scheme

 

 

 

반응형
반응형
반응형
반응형
반응형
반응형

https://www.iterm2.com/

 

iTerm2 - macOS Terminal Replacement

iTerm2 by George Nachman. Website by Matthew Freeman, George Nachman, and James A. Rosen. Website updated and optimized by HexBrain

www.iterm2.com

iTerm2 is a replacement for Terminal and the successor to iTerm. It works on Macs with macOS 10.12 or newer. iTerm2 brings the terminal into the modern age with features you never knew you always wanted.
iTerm2는 터미널 및 iTerm의 후속 제품을 대체합니다. MacOS 10.12 이상에서 작동합니다. iTerm2는 당신이 항상 원했던 적이없는 기능으로 현대 시대에 터미널을 제공합니다.

Zsh 설치하기 

>brew install zsh 

oh-my-zsh 도 설치하기  https://ohmyz.sh/

>sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"

Theme는 Preference에서 설정하면 된다. 

 

반응형

+ Recent posts