From 848f597a950efeec45f305a50b10abd2ffc49c98 Mon Sep 17 00:00:00 2001 From: tpgus2603 <kakaneymar2424@gmail.com> Date: Sun, 8 Dec 2024 23:36:13 +0900 Subject: [PATCH] =?UTF-8?q?delete:=20log=EC=82=AD=EC=A0=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- output.log | 92 ------------------------------------------------------ start.sh | 34 -------------------- weblog.log | 6 ---- 3 files changed, 132 deletions(-) delete mode 100644 output.log delete mode 100755 start.sh delete mode 100644 weblog.log diff --git a/output.log b/output.log deleted file mode 100644 index f50856d..0000000 --- a/output.log +++ /dev/null @@ -1,92 +0,0 @@ -MongoDB URI: mongodb+srv://admin:lim1234!!@goodmeeting.vkniz.mongodb.net/ -(node:237546) [MONGODB DRIVER] Warning: useNewUrlParser is a deprecated option: useNewUrlParser has no effect since Node.js Driver version 4.0.0 and will be removed in the next major version -(Use `node --trace-warnings ...` to show where the warning was created) -(node:237546) [MONGODB DRIVER] Warning: useUnifiedTopology is a deprecated option: useUnifiedTopology has no effect since Node.js Driver version 4.0.0 and will be removed in the next major version -�� MongoDB �곌껐 �깃났 -Rdb�곗씠�곕쿋�댁뒪 �곌껐 �깃났. -紐⑤뱺 紐⑤뜽�� �깃났�곸쑝濡� �숆린�붾릺�덉뒿�덈떎. -Server is running on 8080 -[0mGET /api/session/info [33m401[0m 9.962 ms - 76[0m -[0mGET /api/chat/unread-messages/%EC%9E%84%EC%84%B8%ED%98%84 [32m200[0m 18.575 ms - 2[0m -[0mGET /api/chat/rooms [36m304[0m 71.212 ms - -[0m -[0mGET /api/session/info [33m401[0m 1.954 ms - 76[0m -[0mGET /api/auth/login [36m302[0m 3.293 ms - 0[0m -[0mGET /api/auth/google/callback?code=4%2F0AeanS0bo56K9bp52E_K4k1_MsLy3ISx6PmunHrrE1MlEYKczIMg2thRYYgY7Fk-YzLgDLA&scope=email+profile+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.email+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.profile+openid&authuser=1&hd=ajou.ac.kr&prompt=none [36m302[0m 453.008 ms - 48[0m -[0mGET /api/session/info [32m200[0m 6.112 ms - 51[0m -[0mGET /api/session/info [32m200[0m 16.234 ms - 51[0m -[0mGET /api/chat/unread-messages/%EC%9E%84%EC%84%B8%ED%98%84 [36m304[0m 22.679 ms - -[0m -[0mGET /api/chat/rooms [36m304[0m 23.630 ms - -[0m -[0mGET /api/session/info [32m200[0m 6.990 ms - 51[0m -[0mGET /api/session/info [32m200[0m 7.645 ms - 51[0m -[0mGET /api/chat/rooms [36m304[0m 16.225 ms - -[0m -[0mGET /api/chat/unread-messages/%EC%9E%84%EC%84%B8%ED%98%84 [36m304[0m 11.814 ms - -[0m -[0mGET /api/schedule/all [36m304[0m 9.932 ms - -[0m -Performance Measurement - getAllSchedules: 5.537642002105713ms -[0mGET /api/session/info [32m200[0m 7.587 ms - 51[0m -[0mGET /api/chat/rooms [36m304[0m 16.365 ms - -[0m -[0mGET /api/chat/unread-messages/%EC%9E%84%EC%84%B8%ED%98%84 [36m304[0m 11.954 ms - -[0m -[0mGET /api/schedule/all [36m304[0m 19.858 ms - -[0m -Performance Measurement - getAllSchedules: 4.0661240220069885ms -[0mPOST /api/schedule [32m201[0m 57.019 ms - 254[0m -Performance Measurement - createSchedule: 32.22604298591614ms -[0mPOST /api/schedule [32m201[0m 18.985 ms - 209[0m -Performance Measurement - createSchedule: 14.478051960468292ms -[0mGET /api/session/info [33m401[0m 1.989 ms - 76[0m -[0mGET /api/session/info [32m200[0m 18.484 ms - 51[0m -[0mGET /api/meeting/my?page=0&size=20 [32m200[0m 27.169 ms - 73[0m -[0mGET /api/friend/all?page=0&size=10 [32m200[0m 12.508 ms - 73[0m -Performance Measurement - getFriendList: 8.078101992607117ms -[0mGET /api/friend/requests/received [32m200[0m 21.379 ms - 26[0m -Performance Measurement - getReceivedRequests: 12.82328200340271ms -[0mGET /api/session/info [32m200[0m 5.489 ms - 51[0m -[0mGET /api/session/info [32m200[0m 8.371 ms - 51[0m -[0mGET /api/meeting/my?page=0&size=20 [36m304[0m 16.133 ms - -[0m -[0mGET /api/friend/all?page=0&size=10 [36m304[0m 29.121 ms - -[0m -Performance Measurement - getFriendList: 6.826422989368439ms -[0mGET /api/friend/requests/received [36m304[0m 32.139 ms - -[0m -Performance Measurement - getReceivedRequests: 5.952132999897003ms -[0mGET /api/session/info [32m200[0m 22.840 ms - 51[0m -[0mGET /api/session/info [32m200[0m 9.178 ms - 51[0m -[0mGET /api/meeting/my?page=0&size=20 [36m304[0m 14.669 ms - -[0m -[0mOPTIONS /api/schedule/all [32m204[0m 0.464 ms - 0[0m -[0mOPTIONS /api/schedule/all [32m204[0m 0.141 ms - 0[0m -[0mOPTIONS /api/schedule/all [32m204[0m 0.210 ms - 0[0m -[0mOPTIONS /api/schedule/all [32m204[0m 0.142 ms - 0[0m -[0mGET /api/session/info [33m401[0m 0.925 ms - 76[0m -[0mGET /api/session/info [33m401[0m 1.223 ms - 76[0m -[0mGET /api/chat/rooms [36m304[0m 8.083 ms - -[0m -[0mGET /api/chat/unread-messages/%EC%8B%AC%EC%9E%AC%EC%97%BD [36m304[0m 4.635 ms - -[0m -[0mGET /api/session/info [33m401[0m 0.874 ms - 76[0m -[0mGET /api/auth/login? [36m302[0m 0.917 ms - 0[0m -[0mGET /api/auth/google/callback?code=4%2F0AeanS0bOw-YtdxF3OtlXlNJwNPikLk99RTj2hA5DEUqDh90OVHztLhrKtkMXUSWpI-uqyQ&scope=email+profile+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.email+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.profile+openid&authuser=0&hd=ajou.ac.kr&prompt=none [36m302[0m 474.318 ms - 48[0m -[0mGET /api/session/info [32m200[0m 3.726 ms - 51[0m -[0mGET /api/session/info [32m200[0m 14.662 ms - 51[0m -[0mGET /api/chat/rooms [36m304[0m 21.626 ms - -[0m -[0mGET /api/chat/unread-messages/%EC%8B%AC%EC%9E%AC%EC%97%BD [36m304[0m 22.687 ms - -[0m -[0mGET /api/session/info [32m200[0m 6.551 ms - 51[0m -[0mGET /api/meeting/my?page=0&size=20 [36m304[0m 8.614 ms - -[0m -[0mGET /api/session/info [32m200[0m 5.132 ms - 51[0m -[0mGET /api/chat/rooms [36m304[0m 13.220 ms - -[0m -[0mGET /api/chat/unread-messages/%EC%8B%AC%EC%9E%AC%EC%97%BD [36m304[0m 8.728 ms - -[0m -[0mOPTIONS /api/schedule/all [32m204[0m 0.184 ms - 0[0m -[0mOPTIONS /api/schedule/all [32m204[0m 0.134 ms - 0[0m -[0mOPTIONS /api/schedule/all [32m204[0m 0.192 ms - 0[0m -[0mOPTIONS /api/schedule/all [32m204[0m 0.235 ms - 0[0m -[0mGET /api/friend/requests/received [36m304[0m 52.485 ms - -[0m -Performance Measurement - getReceivedRequests: 6.246300995349884ms -[0mGET /api/friend/all?page=0&size=10 [36m304[0m 49.049 ms - -[0m -Performance Measurement - getFriendList: 4.844668984413147ms -[0mGET /api/session/info [32m200[0m 3.957 ms - 51[0m -[0mGET /api/session/info [32m200[0m 5.007 ms - 51[0m -[0mGET /api/meeting/my?page=0&size=20 [36m304[0m 7.817 ms - -[0m -[0mOPTIONS /api/schedule/all [32m204[0m 0.228 ms - 0[0m -[0mOPTIONS /api/schedule/all [32m204[0m 0.145 ms - 0[0m -[0mOPTIONS /api/schedule/all [32m204[0m 0.194 ms - 0[0m -[0mOPTIONS /api/schedule/all [32m204[0m 0.158 ms - 0[0m -[0mOPTIONS /api/schedule/all [32m204[0m 0.198 ms - 0[0m -[0mOPTIONS /api/schedule/all [32m204[0m 0.135 ms - 0[0m -[0mGET /api/session/info [33m401[0m 0.856 ms - 76[0m -[0mGET /api/session/info [33m401[0m 0.662 ms - 76[0m -[0mOPTIONS /api/schedule/all [32m204[0m 0.377 ms - 0[0m -[0mOPTIONS /api/schedule/all [32m204[0m 0.478 ms - 0[0m -[0mOPTIONS /api/schedule/all [32m204[0m 0.194 ms - 0[0m diff --git a/start.sh b/start.sh deleted file mode 100755 index 00e9bb6..0000000 --- a/start.sh +++ /dev/null @@ -1,34 +0,0 @@ -#!/bin/bash - -# Define application file names -APP_JS="app.js" -WS_SERVER_JS="wsServer.js" - -# Find and kill processes for app.js -APP_PID=$(pgrep -f "node .*${APP_JS}") -if [ -n "$APP_PID" ]; then - echo "Stopping ${APP_JS} with PID: $APP_PID" - kill -9 "$APP_PID" -else - echo "No running process found for ${APP_JS}" -fi - -# Find and kill processes for wsServer.js -WS_SERVER_PID=$(pgrep -f "node .*${WS_SERVER_JS}") -if [ -n "$WS_SERVER_PID" ]; then - echo "Stopping ${WS_SERVER_JS} with PID: $WS_SERVER_PID" - kill -9 "$WS_SERVER_PID" -else - echo "No running process found for ${WS_SERVER_JS}" -fi - -# Start app.js with nohup -echo "Starting ${APP_JS}..." -nohup node "${APP_JS}" > output.log 2>&1 & -echo "${APP_JS} started with PID: $!" - -# Start wsServer.js with nohup -echo "Starting ${WS_SERVER_JS}..." -nohup node "${WS_SERVER_JS}" > weblog.log 2>&1 & -echo "${WS_SERVER_JS} started with PID: $!" - diff --git a/weblog.log b/weblog.log deleted file mode 100644 index dbd9d95..0000000 --- a/weblog.log +++ /dev/null @@ -1,6 +0,0 @@ -(node:237547) [MONGODB DRIVER] Warning: useNewUrlParser is a deprecated option: useNewUrlParser has no effect since Node.js Driver version 4.0.0 and will be removed in the next major version -(Use `node --trace-warnings ...` to show where the warning was created) -(node:237547) [MONGODB DRIVER] Warning: useUnifiedTopology is a deprecated option: useUnifiedTopology has no effect since Node.js Driver version 4.0.0 and will be removed in the next major version -MongoDB�� �깃났�곸쑝濡� �곌껐�섏뿀�듬땲��. -WebSocket 梨꾪똿 �쒕쾭媛� 8081 �ы듃�먯꽌 �ㅽ뻾 以묒엯�덈떎. -RabbitMQ connection established -- GitLab