Skip to content

Commit b5fab64

Browse files
committed
fix log4js pb
1 parent 64e212c commit b5fab64

File tree

4 files changed

+8
-7
lines changed

4 files changed

+8
-7
lines changed

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ WORKDIR /usr/src/app
88
ENV PATH /usr/src/app/node_modules/.bin:$PATH
99

1010
RUN mkdir logs
11+
RUN touch server.log
1112
RUN npm install
1213

1314
EXPOSE 9090

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msg-node-nodejs:
88
environment:
99
- url=localhost # url:domain of CSP where the Messaging Node would be deployed
1010
- port=9090 # port:port of Messaging Node would be deployed
11-
- domainRegistryUrl=http://localhost:4567/ # url:domain of CSP where the registry-domain would be deployed
11+
- domainRegistryUrl=http://localhost:4567/ # url:domain of CSP where the registry-domain would be deployed or domainRegistryUrl=http://172.18.0.4:4567/
1212
- globalRegistryUrl=http://130.149.22.133:5002/ # url:domain of CSP where the Global Registry would be deployed
1313
- logLevel=INFO
1414
# - logDir=/usr/src/app/logs

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
"chai": "^3.3.0",
3535
"expect.js": "^0.3.1",
3636
"gulp": "^3.9.0",
37-
"log4js": "^0.6.27",
37+
"log4js": "^1.1.0",
3838
"gulp-bump": "^1.0.0",
3939
"gulp-if": "^2.0.0",
4040
"gulp-insert": "^0.5.0",
@@ -79,6 +79,7 @@
7979
"browserify": "^11.2.0",
8080
"chai": "^3.4.1",
8181
"cookie-parser": "^1.4.0",
82+
"dev-registry-domain": "github:rethink-project/dev-registry-domain",
8283
"expect.js": "^0.3.1",
8384
"express": "^4.13.3",
8485
"express-session": "^1.12.1",
@@ -91,10 +92,11 @@
9192
"gulp-uglify": "^1.5.1",
9293
"jsdoc": "^3.4.0",
9394
"jspm": "^0.16.15",
94-
"log4js": "^0.6.27",
95+
"log4js": "^0.6.38",
9596
"passport": "^0.3.2",
9697
"passport-local": "^1.0.0",
9798
"passport.socketio": "^3.6.1",
99+
"runtime-core": "github:rethink-project/dev-runtime-core#develop",
98100
"session-file-store": "0.0.22",
99101
"socket.io": "^1.3.7",
100102
"socket.io-browserify": "^0.9.6",
@@ -103,8 +105,6 @@
103105
"uuid": "^2.0.1",
104106
"vinyl-buffer": "^1.0.0",
105107
"vinyl-source-stream": "^1.1.0",
106-
"watchify": "^3.6.1",
107-
"dev-registry-domain": "github:rethink-project/dev-registry-domain",
108-
"runtime-core": "github:rethink-project/dev-runtime-core#develop"
108+
"watchify": "^3.6.1"
109109
}
110110
}

src/main/components/Registry.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ class Registry {
5858
}
5959

6060
registerComponent(component) {
61-
this.logger.info(this.components[component.getName()]);
61+
// this.logger.info(this.components[component.getName()]);
6262
this.components[component.getName()] = component;
6363
}
6464

0 commit comments

Comments
 (0)