This commit is contained in:
LiLi 2017-04-19 09:01:46 +08:00
parent 4ec8021a1f
commit b7764ad97c
3 changed files with 11 additions and 8 deletions

View File

View File

@ -1,20 +1,23 @@
### 设置###
log4j.rootLogger =INFO, stdout ,logDailyFile
### 输出信息到控制抬 ###
### \u8BBE\u7F6E###
log4j.rootLogger = debug,stdout,logDailyFile
### \u8F7ES\u4F47º\u4FE1\u5F41¯\u4F48°\u5F4E§\u4F48¶\u5F4A¬ ###
log4j.appender.stdout = org.apache.log4j.ConsoleAppender
log4j.appender.stdout.Target = System.out
log4j.appender.stdout.layout = org.apache.log4j.PatternLayout
#log4j.appender.stdout.layout.ConversionPattern = [%-5p] %d{yyyy-MM-dd HH:mm:ss,SSS} method:%l%n%m%n
log4j.appender.stdout.layout.ConversionPattern=[%-5p] %d{yyyy-MM-dd HH:mm:ss,SSS} %m%n
log4j.logger.org.springframework=INFO
log4j.appender.logDailyFile = org.apache.log4j.DailyRollingFileAppender
log4j.appender.logDailyFile.layout = org.apache.log4j.PatternLayout
log4j.appender.logDailyFile.layout.ConversionPattern = %n%-d{yyyy-MM-dd HH:mm:ss}%n[%p]-[Thread: %t]-[%C.%M()]: %m%n
log4j.appender.logDailyFile.Threshold = INFO
log4j.appender.logDailyFile.Threshold = DEBUG
log4j.appender.logDailyFile.ImmediateFlush = TRUE
log4j.appender.logDailyFile.Append = TRUE
log4j.appender.logDailyFile.File = ./logs/test.log
log4j.appender.logDailyFile.DatePattern = '.'yyyy-MM-dd
log4j.appender.logDailyFile.Encoding = UTF-8
log4j.logger.org.springframework=INFO

View File

@ -104,10 +104,10 @@ public class GameBridgeTest {
public static void main(String[] args) throws UnsupportedEncodingException {
GameBridgeTest gameBridgeTest=new GameBridgeTest();
// gameBridgeTest.generatePipelineScriptForChallenge();
gameBridgeTest.generatePipelineScriptForChallenge();
// gameBridgeTest.openGameInstance();
// gameBridgeTest.buildJobForInstance();
gameBridgeTest.testopenGameInstanceAndBuildJobForInstance();
// gameBridgeTest.testopenGameInstanceAndBuildJobForInstance();
}
/**
@ -162,7 +162,7 @@ public class GameBridgeTest {
* @throws UnsupportedEncodingException
* @see [#方法#成员]
*/
@Test
// @Test
public void openGameInstance() throws UnsupportedEncodingException {
String path = "/game/openGameInstance";
logger.info(path);