File tree Expand file tree Collapse file tree 4 files changed +12
-10
lines changed Expand file tree Collapse file tree 4 files changed +12
-10
lines changed Original file line number Diff line number Diff line change 1- const path = require ( 'path' ) ;
1+ const path = require ( 'path' ) ;
22const cflogs = require ( 'cf-logs' ) ;
33const Q = require ( 'q' ) ;
44
@@ -17,9 +17,11 @@ const Logger = require('./logger');
1717
1818const buildFinishedPromise = Q . defer ( ) ;
1919
20+ const taskLoggerConfig = JSON . parse ( process . env . TASK_LOGGER_CONFIG ) ;
21+
2022const logger = new Logger ( {
2123 loggerId : process . env . LOGGER_ID ,
22- taskLoggerConfig : JSON . parse ( process . env . TASK_LOGGER_CONFIG ) ,
24+ taskLoggerConfig,
2325 findExistingContainers : process . env . LISTEN_ON_EXISTING ,
2426 logSizeLimit : process . env . LOG_SIZE_LIMIT ? ( parseInt ( process . env . LOG_SIZE_LIMIT , 10 ) * 1000000 ) : undefined ,
2527 buildFinishedPromise : buildFinishedPromise . promise ,
Original file line number Diff line number Diff line change 66 " cf-container-logger"
77 ],
88 "dependencies" : {
9- "@codefresh-io/task-logger" : " ^1.9.18 " ,
9+ "@codefresh-io/task-logger" : " ^1.9.22 " ,
1010 "body-parser" : " ^1.19.0" ,
1111 "cf-errors" : " ^0.1.15" ,
1212 "cf-logs" : " ^1.1.0" ,
5252 "lint-fix" : " eslint '*/**/*.js' --fix" ,
5353 "test" : " node ./node_modules/mocha/bin/_mocha './{,!(node_modules)/**/}*.spec.js' --exit" ,
5454 "test:ci" : " yarn test" ,
55- "start" : " node server /index.js" ,
55+ "start" : " node lib /index.js" ,
5656 "version" : " exit 0"
5757 }
58- }
58+ }
Original file line number Diff line number Diff line change 1- version : 1.5.8
1+ version : 1.5.9
Original file line number Diff line number Diff line change 3838 dependencies :
3939 regenerator-runtime "^0.13.4"
4040
41- " @codefresh-io/task-logger@^1.9.18 " :
42- version "1.9.18 "
43- resolved "https://registry.yarnpkg.com/@codefresh-io/task-logger/-/task-logger-1.9.18 .tgz#219babad0fe29d21f53fb41af07835ed872b092e "
44- integrity sha512-p1XV3ubqvJ/5foC3Ypf/8bwbcQSxAPV1jCHuHld4O2aigu12sHHMw4yXZVp0WcR3o9qeXNiQxzFYClVYMBhj/w ==
41+ " @codefresh-io/task-logger@^1.9.22 " :
42+ version "1.9.22 "
43+ resolved "https://registry.yarnpkg.com/@codefresh-io/task-logger/-/task-logger-1.9.22 .tgz#57b374558a1f350b990bb2a8c18e88e785c9b4f8 "
44+ integrity sha512-4tSJC3GiFH1HA3kfyht7m+AbGro4dx0QrY/nmIxnt/0jD6NK9F87dwgQx9j8q+pE51Le2OKA0WWyPk/s2tywcg ==
4545 dependencies :
4646 cf-errors "^0.1.16"
4747 debug "^4.1.1"
You can’t perform that action at this time.
0 commit comments