# Logs
```bash
./src/pages/manage/buildings/detailBuilding/visitor/general/display/modal/useModal.js
Line 33:5: Expected a default case default-case
./src/pages/deskreservation/toLog/modal/useModal.js
Line 36:5: Expected a default case default-case
Line 148:6: React Hook useEffect has missing dependencies: 'deskGroupGetDeskList' and 'handleModalProps'. Either include them or remove the dependency array react-hooks/exhaustive-deps
./src/pages/manage/buildings/detailBuilding/space/device/useDevice.js
Line 37:11: The href attribute is required for an anchor to be keyboard accessible. Provide a valid, navigable address as the href value. If you cannot provide an href, but still need the element to resemble a link, use a button and change it with appropriate styles. Learn more: https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid
Line 182:6: React Hook useEffect has a missing dependency: 'intl'. Either include it or remove the dependency array react-hooks/exhaustive-deps
Line 193:6: React Hook useEffect has a missing dependency: 'devicesReq'. Either include it or remove the dependency array react-hooks/exhaustive-deps
./src/pages/manage/buildings/detailBuilding/visitor/delivery/modal/useModal.js
Line 3:10: 'toastError' is defined but never used no-unused-vars
Line 20:5: Expected a default case default-case
./src/pages/auth/login/login.js
Line 3:26: 'toast' is defined but never used no-unused-vars
./src/components/timezoneList.js
Line 3:8: 'spacetime' is defined but never used no-unused-vars
./src/pages/manage/buildings/detailBuilding/visitor/useVisitor.js
Line 48:17: Unexpected mix of '||' and '&&' no-mixed-operators
Line 48:27: Unexpected mix of '||' and '&&' no-mixed-operators
./src/pages/manage/buildings/detailBuilding/space/room/modal/useModal.js
Line 48:7: Expected a default case default-case
Line 266:30: Expected to return a value in arrow function array-callback-return
Line 303:28: Unexpected string concatenation of literals no-useless-concat
Line 313:6: React Hook useEffect has a missing dependency: 'handleModalProps'. Either include it or remove the dependency array react-hooks/exhaustive-deps
./src/pages/manage/buildings/detailBuilding/space/desk/modal/useModal.js
Line 49:7: Expected a default case default-case
Line 309:30: Expected to return a value in arrow function array-callback-return
Line 346:28: Unexpected string concatenation of literals no-useless-concat
Line 356:6: React Hook useEffect has a missing dependency: 'handleModalProps'. Either include it or remove the dependency array react-hooks/exhaustive-deps
./src/actions/organizationActions.js
Line 4:3: 'FETCH_ORG_CONFIG' is defined but never used no-unused-vars
Line 5:3: 'FETCH_DESK_CONFIG' is defined but never used no-unused-vars
Line 7:3: 'FETCH_DESK_CONFIG_LOADING' is defined but never used no-unused-vars
Line 12:7: 'handleError' is assigned a value but never used no-unused-vars
./src/pages/manage/buildings/detailBuilding/desk/useDeskManagement.js
Line 52:6: React Hook useEffect has missing dependencies: 'building', 'buildingsGetDetail', and 'match'. Either include them or remove the dependency array react-hooks/exhaustive-deps
./src/pages/manage/buildings/detailBuilding/visitor/fastpass/invite/useFastpassInvite.js
Line 54:5: Expected a default case default-case
./src/pages/manage/buildings/detailBuilding/room/useRoomSettings.js
Line 57:5: Expected a default case default-case
./src/pages/manage/buildings/detailBuilding/space/floor/useFloor.js
Line 60:5: Expected a default case default-case
Line 129:6: React Hook useEffect has missing dependencies: 'floorAllReq', 'loading', and 'spaceMngFloorGetAll'. Either include them or remove the dependency array react-hooks/exhaustive-deps
./src/pages/manage/buildings/detailBuilding/visitor/general/display/useDisplay.js
Line 60:5: Expected a default case default-case
./src/pages/manage/users/modal/useModal.js
Line 62:5: Expected a default case default-case
Line 171:33: Expected to return a value in arrow function array-callback-return
./src/pages/manage/buildings/detailBuilding/useDetailBuilding.js
Line 66:6: React Hook useEffect has missing dependencies: 'building', 'buildingList', 'buildingsGetDetail', 'buildingsGetListManage', 'match', 'me.role', and 'me.sitesAcl'. Either include them or remove the dependency array react-hooks/exhaustive-deps
./src/pages/manage/buildings/detailBuilding/desk/setting/useDeskSettings.js
Line 67:5: Expected a default case default-case
./src/pages/analytics/index.js
Line 6:8: 'AnalyticsRestricted' is defined but never used no-unused-vars
./src/pages/deskreservation/toReserve/useToReserve.js
Line 70:5: Expected a default case default-case
Line 506:6: React Hook useEffect has missing dependencies: 'building', 'buildings', 'buildingsGetList', 'desksReq', and 'desksSetup'. Either include them or remove the dependency array react-hooks/exhaustive-deps
Line 514:6: React Hook useEffect has a missing dependency: 'buildingsOpts.length'. Either include it or remove the dependency array react-hooks/exhaustive-deps
Line 573:6: React Hook useEffect has missing dependencies: 'afterInitial', 'filter', and 'handleDisableTime'. Either include them or remove the dependency array. You can also do a functional update 'setFilter(f => ...)' if you only need 'filter' in the 'setFilter' call react-hooks/exhaustive-deps
Line 586:6: React Hook useEffect has missing dependencies: 'desksList' and 'selectedData'. Either include them or remove the dependency array. You can also do a functional update 'setSelectedData(s => ...)' if you only need 'selectedData' in the 'setSelectedData' call react-hooks/exhaustive-deps
./src/pages/deskreservation/toLog/useToLog.js
Line 74:5: Expected a default case default-case
Line 128:5: Expected a default case default-case
Line 308:6: React Hook useEffect has missing dependencies: 'buildings', 'buildingsGetList', 'deskGroupsReq', and 'filter'. Either include them or remove the dependency array. You can also do a functional update 'setFilter(f => ...)' if you only need 'filter' in the 'setFilter' call react-hooks/exhaustive-deps
Line 316:6: React Hook useEffect has a missing dependency: 'buildingsOpts.length'. Either include it or remove the dependency array react-hooks/exhaustive-deps
./src/pages/manage/buildings/detailBuilding/space/desk/useDesk.js
Line 75:5: Expected a default case default-case
Line 117:5: Expected a default case default-case
Line 243:6: React Hook useEffect has missing dependencies: 'deskAllReq', 'loading', 'spaceMngDeskGetAll', and 'spaceMngDeskGetStats'. Either include them or remove the dependency array react-hooks/exhaustive-deps
Line 263:6: React Hook useEffect has a missing dependency: 'intl'. Either include it or remove the dependency array react-hooks/exhaustive-deps
Line 277:6: React Hook useEffect has missing dependencies: 'buildingId' and 'deskAllReq'. Either include them or remove the dependency array react-hooks/exhaustive-deps
Line 293:6: React Hook useEffect has missing dependencies: 'buildingId', 'deskAllReq', 'filterFloor', 'handleLoadDesk', 'modal.mode', 'search', and 'spaceMngDeskGetStats'. Either include them or remove the dependency array react-hooks/exhaustive-deps
./src/pages/manage/buildings/campus/useCampus.js
Line 80:31: Expected to return a value in arrow function array-callback-return
./src/pages/auth/newPassword/newPassword.js
Line 81:6: React Hook React.useEffect has missing dependencies: 'history' and 'values.token'. Either include them or remove the dependency array react-hooks/exhaustive-deps
./src/pages/manage/buildings/detailBuilding/room/component/checkInTime.js
Line 85:13: No duplicate props allowed react/jsx-no-duplicate-props
./src/layouts/useLayout.js
Line 90:6: React Hook useEffect has missing dependencies: 'contactGetList', 'fetchAllSpaces', 'fetchOrganization', 'fetchSubscription', 'fetchUsers', and 'getIntegrationStatus'. Either include them or remove the dependency array react-hooks/exhaustive-deps
Line 99:6: React Hook useEffect has a missing dependency: 'me'. Either include it or remove the dependency array react-hooks/exhaustive-deps
Line 110:6: React Hook useEffect has a missing dependency: 'history'. Either include it or remove the dependency array react-hooks/exhaustive-deps
./src/pages/manage/users/invited/useInvited.js
Line 92:5: Expected a default case default-case
Line 178:6: React Hook useEffect has missing dependencies: 'handleLoadUsers', 'invitedGetAll', 'invitedReq', and 'loading'. Either include them or remove the dependency array react-hooks/exhaustive-deps
./src/components/modalListUser.js
Line 92:6: React Hook useEffect has a missing dependency: 'intl'. Either include it or remove the dependency array react-hooks/exhaustive-deps
./src/pages/manage/index.js
Line 92:7: Expected a default case default-case
Line 115:11: Expected a default case default-case
Line 129:13: Expected a default case default-case
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! prospace_conference_system@1.0.0 build-js-dev: `INLINE_RUNTIME_CHUNK=false GENERATE_SOURCEMAP=false env-cmd -f .env.development react-scripts build && npm run build-sw `
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the prospace_conference_system@1.0.0 build-js-dev script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2021-06-11T03_28_32_222Z-debug.log
ERROR: "build-js-dev" exited with 1.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! prospace_conference_system@1.0.0 build-dev: `run-s -n build-css build-js-dev`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the prospace_conference_system@1.0.0 build-dev script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2021-06-11T03_28_32_238Z-debug.log
```
```
Fluent Bit v1.3.5
Copyright (C) Treasure Data
[2021/05/11 03:07:24] [ info] Configuration
[2021/05/11 03:07:24] [ info] flush time : -2085486912 seconds
[2021/05/11 03:07:24] [ info] input plugins :
[2021/05/11 03:07:24] [ info] mqtt
[2021/05/11 03:07:24] [ info] proc
[2021/05/11 03:07:24] [ info] cpu
[2021/05/11 03:07:24] [ info] mem
[2021/05/11 03:07:24] [ info] collectors :
[2021/05/11 03:07:24] [ info] switching to background mode (PID=8)
2021/05/11 03:07:24 server:Setup: Error loading .env file proceed to use environment: open .env: no such file or directory
{"level":"info","ts":1620702444.4503102,"caller":"datadog/datadog.go:54","msg":"Constructed Production Logger","ddtags":"env:prospace-analytics-backend-staging"}
{"level":"info","ts":1620702444.450558,"caller":"app/main.go:54","msg":"environment setup","ddtags":"env:prospace-analytics-backend-staging","prospace_analytics_backend":{"environment":"Production"}}
{"level":"info","ts":1620702444.484704,"caller":"database/db.go:35","msg":"Successfully connect to db.","ddtags":"env:prospace-analytics-backend-staging"}
{"level":"info","ts":1620702450.541545,"caller":"database/cassandraDb.go:54","msg":"Successfully connect to cassandra cluster.","ddtags":"env:prospace-analytics-backend-staging"}
[GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production.
- using env: export GIN_MODE=release
- using code: gin.SetMode(gin.ReleaseMode)
[GIN-debug] GET /health_check --> prospace_analytics_backend/handlers.HealthCheck (4 handlers)
[GIN-debug] POST /api/v1/request_reset_password --> prospace_analytics_backend/handlers.CreateResetPasswordRequest (4 handlers)
[GIN-debug] POST /api/v1/reset_password --> prospace_analytics_backend/handlers.ResetPassword (4 handlers)
[GIN-debug] POST /api/v1/login --> prospace_analytics_backend/handlers.Login (4 handlers)
[GIN-debug] GET /api/v1/is_token_valid --> prospace_analytics_backend/handlers.IsTokenValid (9 handlers)
[GIN-debug] GET /api/v1/current_user --> prospace_analytics_backend/handlers.(*User).GetCurrent-fm (9 handlers)
[GIN-debug] GET /api/v1/current_company --> prospace_analytics_backend/handlers.(*Company).GetCurrent-fm (9 handlers)
[GIN-debug] GET /api/v1/current_date --> prospace_analytics_backend/handlers.(*Utility).GetCurrentDate-fm (9 handlers)
[GIN-debug] GET /api/v1/current_company_summary --> prospace_analytics_backend/handlers.(*CompanyPortofolio).GetSummary-fm (9 handlers)
[GIN-debug] GET /api/v1/current_company_sites --> prospace_analytics_backend/handlers.(*Company).GetCurrentSites-fm (9 handlers)
[GIN-debug] GET /api/v1/current_company_sites_overview --> prospace_analytics_backend/handlers.(*CompanyPortofolio).GetSitesOverview-fm (9 handlers)
[GIN-debug] GET /api/v1/current_company_sites/:site_id/utilisation_portfolio --> prospace_analytics_backend/handlers.(*CompanyPortofolio).GetSiteUtilisation-fm (9 handlers)
[GIN-debug] GET /api/v1/current_company_sites/:site_id/trend_portfolio --> prospace_analytics_backend/handlers.(*CompanyPortofolio).GetSiteTrend-fm (9 handlers)
[GIN-debug] GET /api/v1/current_company_sites/:site_id --> prospace_analytics_backend/handlers.(*SitePortfolio).GetProfile-fm (9 handlers)
[GIN-debug] PUT /api/v1/current_company_sites/:site_id --> prospace_analytics_backend/handlers.(*SitePortfolio).SaveProfile-fm (9 handlers)
[GIN-debug] GET /api/v1/current_company_sites/:site_id/floor_unit_overview --> prospace_analytics_backend/handlers.(*SitePortfolio).GetFloorUnitOverview-fm (9 handlers)
[GIN-debug] GET /api/v1/current_company_sites/:site_id/grouping_unit_overview --> prospace_analytics_backend/handlers.(*SitePortfolio).GetGroupingUnitOverview-fm (9 handlers)
[GIN-debug] GET /api/v1/current_company_sites/:site_id/segments --> prospace_analytics_backend/handlers.(*SitePortfolio).GetSegments-fm (9 handlers)
[GIN-debug] GET /api/v1/current_company_sites/:site_id/segment_unit_overview/:segment_id --> prospace_analytics_backend/handlers.(*SitePortfolio).GetSegmentUnitOverview-fm (9 handlers)
[GIN-debug] GET /api/v1/current_company_sites/:site_id/floors --> prospace_analytics_backend/handlers.(*FloorPortfolio).GetAllFloors-fm (9 handlers)
[GIN-debug] GET /api/v1/current_company_sites/:site_id/floor_profiles/:floor_id --> prospace_analytics_backend/handlers.(*FloorPortfolio).GetFloorProfile-fm (9 handlers)
[GIN-debug] GET /api/v1/current_company_sites/:site_id/floor_groups/:floor_id --> prospace_analytics_backend/handlers.(*FloorPortfolio).GetFloorGroups-fm (9 handlers)
[GIN-debug] GET /api/v1/current_company_sites/:site_id/floor_groupings/:floor_id --> prospace_analytics_backend/handlers.(*FloorPortfolio).GetFloorGroupings-fm (9 handlers)
[GIN-debug] GET /api/v1/current_company_sites/:site_id/floor_by_unit_overview/:floor_id --> prospace_analytics_backend/handlers.(*FloorPortfolio).GetFloorOverview-fm (9 handlers)
[GIN-debug] GET /api/v1/current_company_sites/:site_id/floor_groupings_overview/:floor_id --> prospace_analytics_backend/handlers.(*FloorPortfolio).GetGroupingsOverview-fm (9 handlers)
[GIN-debug] GET /api/v1/current_company_sites/:site_id/floor_units_overview/:floor_id --> prospace_analytics_backend/handlers.(*FloorPortfolio).GetUnitsOverview-fm (9 handlers)
[GIN-debug] GET /api/v1/current_company_sites/:site_id/floor_utilisation_portfolio/:floor_id --> prospace_analytics_backend/handlers.(*FloorPortfolio).GetUtilisationChart-fm (9 handlers)
[GIN-debug] GET /api/v1/current_company_sites/:site_id/floor_trend_portfolio/:floor_id --> prospace_analytics_backend/handlers.(*FloorPortfolio).GetTrendChart-fm (9 handlers)
[GIN-debug] GET /api/v1/current_company_sites/:site_id/trend_analytic --> prospace_analytics_backend/handlers.(*GetTrendAnalytic).Handler-fm (9 handlers)
[GIN-debug] GET /api/v1/current_company_sites/:site_id/occupancy_analytic --> prospace_analytics_backend/handlers.(*GetOccupancyAnalytic).AllGroupsHandler-fm (9 handlers)
[GIN-debug] GET /api/v1/current_company_sites/:site_id/occupancy_analytic/:group_id --> prospace_analytics_backend/handlers.(*GetOccupancyAnalytic).Handler-fm (9 handlers)
{"level":"info","ts":1620702476.3222318,"caller":"middlewares/jwt.go:68","msg":"unauthorized status","ddtags":"env:prospace-analytics-backend-staging","prospace_analytics_backend":{"error":"No auth cookie"}}
{"level":"info","ts":1620702476.3224847,"caller":"ginzap/ginzap.go:58","msg":"RESPONSE 401 HEAD ","ddtags":"env:prospace-analytics-backend-staging","prospace_analytics_backend":{"status":401,"method":"HEAD","path_template":"","path":"/robots.txt","query":"","ip":"172.17.0.1","user-agent":"","time":"2021-05-11T03:07:56Z","latency":0.000277222}}
{"level":"info","ts":1620702549.0709198,"caller":"ginzap/ginzap.go:58","msg":"RESPONSE 200 GET /health_check","ddtags":"env:prospace-analytics-backend-staging","prospace_analytics_backend":{"status":200,"method":"GET","path_template":"/health_check","path":"/health_check","query":"","ip":"172.17.0.1","user-agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.106 Safari/537.36","time":"2021-05-11T03:09:09Z","latency":0.000048421}}
{"level":"info","ts":1620702549.434925,"caller":"middlewares/jwt.go:68","msg":"unauthorized status","ddtags":"env:prospace-analytics-backend-staging","prospace_analytics_backend":{"error":"No auth cookie"}}
{"level":"info","ts":1620702549.4351568,"caller":"ginzap/ginzap.go:58","msg":"RESPONSE 401 GET ","ddtags":"env:prospace-analytics-backend-staging","prospace_analytics_backend":{"status":401,"method":"GET","path_template":"","path":"/favicon.ico","query":"","ip":"172.17.0.1","user-agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.106 Safari/537.36","time":"2021-05-11T03:09:09Z","latency":0.000250494}}
{"level":"info","ts":1620702564.051067,"caller":"ginzap/ginzap.go:58","msg":"RESPONSE 200 GET /health_check","ddtags":"env:prospace-analytics-backend-staging","prospace_analytics_backend":{"status":200,"method":"GET","path_template":"/health_check","path":"/health_check","query":"","ip":"172.17.0.1","user-agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.106 Safari/537.36","time":"2021-05-11T03:09:24Z","latency":0.000042551}}
{"level":"info","ts":1620702564.3993928,"caller":"middlewares/jwt.go:68","msg":"unauthorized status","ddtags":"env:prospace-analytics-backend-staging","prospace_analytics_backend":{"error":"No auth cookie"}}
{"level":"info","ts":1620702564.399513,"caller":"ginzap/ginzap.go:58","msg":"RESPONSE 401 GET ","ddtags":"env:prospace-analytics-backend-staging","prospace_analytics_backend":{"status":401,"method":"GET","path_template":"","path":"/favicon.ico","query":"","ip":"172.17.0.1","user-agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.106 Safari/537.36","time":"2021-05-11T03:09:24Z","latency":0.000158258}}
{"level":"info","ts":1620702570.282937,"caller":"ginzap/ginzap.go:58","msg":"RESPONSE 200 GET /health_check","ddtags":"env:prospace-analytics-backend-staging","prospace_analytics_backend":{"status":200,"method":"GET","path_template":"/health_check","path":"/health_check","query":"","ip":"172.17.0.1","user-agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.106 Safari/537.36","time":"2021-05-11T03:09:30Z","latency":0.0000389}}
{"level":"info","ts":1620702570.437333,"caller":"middlewares/jwt.go:68","msg":"unauthorized status","ddtags":"env:prospace-analytics-backend-staging","prospace_analytics_backend":{"error":"No auth cookie"}}
{"level":"info","ts":1620702570.4374447,"caller":"ginzap/ginzap.go:58","msg":"RESPONSE 401 GET ","ddtags":"env:prospace-analytics-backend-staging","prospace_analytics_backend":{"status":401,"method":"GET","path_template":"","path":"/favicon.ico","query":"","ip":"172.17.0.1","user-agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.106 Safari/537.36","time":"2021-05-11T03:09:30Z","latency":0.000131187}}
{"level":"info","ts":1620702579.2446735,"caller":"ginzap/ginzap.go:58","msg":"RESPONSE 200 GET /health_check","ddtags":"env:prospace-analytics-backend-staging","prospace_analytics_backend":{"status":200,"method":"GET","path_template":"/health_check","path":"/health_check","query":"","ip":"172.17.0.1","user-agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.106 Safari/537.36","time":"2021-05-11T03:09:39Z","latency":0.000032768}}
{"level":"info","ts":1620702579.644729,"caller":"middlewares/jwt.go:68","msg":"unauthorized status","ddtags":"env:prospace-analytics-backend-staging","prospace_analytics_backend":{"error":"No auth cookie"}}
{"level":"info","ts":1620702579.6448455,"caller":"ginzap/ginzap.go:58","msg":"RESPONSE 401 GET ","ddtags":"env:prospace-analytics-backend-staging","prospace_analytics_backend":{"status":401,"method":"GET","path_template":"","path":"/favicon.ico","query":"","ip":"172.17.0.1","user-agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.106 Safari/537.36","time":"2021-05-11T03:09:39Z","latency":0.00013136}}
{"level":"info","ts":1620702617.5293505,"caller":"middlewares/jwt.go:68","msg":"unauthorized status","ddtags":"env:prospace-analytics-backend-staging","prospace_analytics_backend":{"error":"No auth cookie"}}
{"level":"info","ts":1620702617.5294812,"caller":"ginzap/ginzap.go:58","msg":"RESPONSE 401 GET /api/v1/is_token_valid","ddtags":"env:prospace-analytics-backend-staging","prospace_analytics_backend":{"status":401,"method":"GET","path_template":"/api/v1/is_token_valid","path":"/api/v1/is_token_valid","query":"","ip":"172.17.0.1","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.93 Safari/537.36","time":"2021-05-11T03:10:17Z","latency":0.000152299}}
2021/05/11 03:10:36 &{0xc0003b7950 <nil> {3600000000000 HS256 false}}
2021/05/11 03:10:36 &{ 0xc000174fa0 map[alg:HS256 typ:JWT] 0xc0000d6150 false}
{"level":"info","ts":1620702636.921166,"caller":"ginzap/ginzap.go:58","msg":"RESPONSE 200 POST /api/v1/login","ddtags":"env:prospace-analytics-backend-staging","prospace_analytics_backend":{"status":200,"method":"POST","path_template":"/api/v1/login","path":"/api/v1/login","query":"","ip":"172.17.0.1","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.93 Safari/537.36","time":"2021-05-11T03:10:36Z","latency":0.122475276}}
{"level":"info","ts":1620702638.0796497,"caller":"middlewares/jwt.go:68","msg":"unauthorized status","ddtags":"env:prospace-analytics-backend-staging","prospace_analytics_backend":{"error":"No auth cookie"}}
{"level":"info","ts":1620702638.079858,"caller":"ginzap/ginzap.go:58","msg":"RESPONSE 401 GET /api/v1/current_company","ddtags":"env:prospace-analytics-backend-staging","prospace_analytics_backend":{"status":401,"method":"GET","path_template":"/api/v1/current_company","path":"/api/v1/current_company","query":"","ip":"172.17.0.1","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.93 Safari/537.36","time":"2021-05-11T03:10:38Z","latency":0.000242398}}
{"level":"info","ts":1620702638.583235,"caller":"middlewares/jwt.go:68","msg":"unauthorized status","ddtags":"env:prospace-analytics-backend-staging","prospace_analytics_backend":{"error":"No auth cookie"}}
{"level":"info","ts":1620702638.5834124,"caller":"ginzap/ginzap.go:58","msg":"RESPONSE 401 GET /api/v1/is_token_valid","ddtags":"env:prospace-analytics-backend-staging","prospace_analytics_backend":{"status":401,"method":"GET","path_template":"/api/v1/is_token_valid","path":"/api/v1/is_token_valid","query":"","ip":"172.17.0.1","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.93 Safari/537.36","time":"2021-05-11T03:10:38Z","latency":0.0002046}}
{"level":"info","ts":1620702643.2608173,"caller":"middlewares/jwt.go:68","msg":"unauthorized status","ddtags":"env:prospace-analytics-backend-staging","prospace_analytics_backend":{"error":"No auth cookie"}}
{"level":"info","ts":1620702643.260974,"caller":"ginzap/ginzap.go:58","msg":"RESPONSE 401 GET /api/v1/is_token_valid","ddtags":"env:prospace-analytics-backend-staging","prospace_analytics_backend":{"status":401,"method":"GET","path_template":"/api/v1/is_token_valid","path":"/api/v1/is_token_valid","query":"","ip":"172.17.0.1","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.93 Safari/537.36","time":"2021-05-11T03:10:43Z","latency":0.000180909}}
{"level":"info","ts":1620702643.7505758,"caller":"middlewares/jwt.go:68","msg":"unauthorized status","ddtags":"env:prospace-analytics-backend-staging","prospace_analytics_backend":{"error":"No auth cookie"}}
{"level":"info","ts":1620702643.7506871,"caller":"ginzap/ginzap.go:58","msg":"RESPONSE 401 GET /api/v1/current_user","ddtags":"env:prospace-analytics-backend-staging","prospace_analytics_backend":{"status":401,"method":"GET","path_template":"/api/v1/current_user","path":"/api/v1/current_user","query":"","ip":"172.17.0.1","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.93 Safari/537.36","time":"2021-05-11T03:10:43Z","latency":0.000129856}}
2021/05/11 03:10:55 &{0xc000168dc0 <nil> {3600000000000 HS256 false}}
2021/05/11 03:10:55 &{ 0xc000174fa0 map[alg:HS256 typ:JWT] 0xc0000d6150 false}
{"level":"info","ts":1620702655.0587733,"caller":"ginzap/ginzap.go:58","msg":"RESPONSE 200 POST /api/v1/login","ddtags":"env:prospace-analytics-backend-staging","prospace_analytics_backend":{"status":200,"method":"POST","path_template":"/api/v1/login","path":"/api/v1/login","query":"","ip":"172.17.0.1","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.93 Safari/537.36","time":"2021-05-11T03:10:55Z","latency":0.125901714}}
{"level":"info","ts":1620702655.4806724,"caller":"middlewares/jwt.go:68","msg":"unauthorized status","ddtags":"env:prospace-analytics-backend-staging","prospace_analytics_backend":{"error":"No auth cookie"}}
{"level":"info","ts":1620702655.4808471,"caller":"ginzap/ginzap.go:58","msg":"RESPONSE 401 GET /api/v1/current_user","ddtags":"env:prospace-analytics-backend-staging","prospace_analytics_backend":{"status":401,"method":"GET","path_template":"/api/v1/current_user","path":"/api/v1/current_user","query":"","ip":"172.17.0.1","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.93 Safari/537.36","time":"2021-05-11T03:10:55Z","latency":0.000192053}}
{"level":"info","ts":1620702655.785333,"caller":"middlewares/jwt.go:68","msg":"unauthorized status","ddtags":"env:prospace-analytics-backend-staging","prospace_analytics_backend":{"error":"No auth cookie"}}
{"level":"info","ts":1620702655.78558,"caller":"ginzap/ginzap.go:58","msg":"RESPONSE 401 GET /api/v1/current_company","ddtags":"env:prospace-analytics-backend-staging","prospace_analytics_backend":{"status":401,"method":"GET","path_template":"/api/v1/current_company","path":"/api/v1/current_company","query":"","ip":"172.17.0.1","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.93 Safari/537.36","time":"2021-05-11T03:10:55Z","latency":0.000271879}}
{"level":"info","ts":1620702656.533496,"caller":"middlewares/jwt.go:68","msg":"unauthorized status","ddtags":"env:prospace-analytics-backend-staging","prospace_analytics_backend":{"error":"No auth cookie"}}
{"level":"info","ts":1620702656.5336702,"caller":"ginzap/ginzap.go:58","msg":"RESPONSE 401 GET /api/v1/is_token_valid","ddtags":"env:prospace-analytics-backend-staging","prospace_analytics_backend":{"status":401,"method":"GET","path_template":"/api/v1/is_token_valid","path":"/api/v1/is_token_valid","query":"","ip":"172.17.0.1","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.93 Safari/537.36","time":"2021-05-11T03:10:56Z","latency":0.000192525}}
{"level":"info","ts":1620703044.5065887,"caller":"ginzap/ginzap.go:58","msg":"RESPONSE 200 GET /health_check","ddtags":"env:prospace-analytics-backend-staging","prospace_analytics_backend":{"status":200,"method":"GET","path_template":"/health_check","path":"/health_check","query":"","ip":"172.17.0.1","user-agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.106 Safari/537.36","time":"2021-05-11T03:17:24Z","latency":0.0000342}}
{"level":"info","ts":1620703061.2403333,"caller":"middlewares/jwt.go:68","msg":"unauthorized status","ddtags":"env:prospace-analytics-backend-staging","prospace_analytics_backend":{"error":"No auth cookie"}}
{"level":"info","ts":1620703061.2405674,"caller":"ginzap/ginzap.go:58","msg":"RESPONSE 401 GET /api/v1/is_token_valid","ddtags":"env:prospace-analytics-backend-staging","prospace_analytics_backend":{"status":401,"method":"GET","path_template":"/api/v1/is_token_valid","path":"/api/v1/is_token_valid","query":"","ip":"172.17.0.1","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.93 Safari/537.36","time":"2021-05-11T03:17:41Z","latency":0.000267125}}
2021/05/11 03:17:51 password does not match.
{"level":"info","ts":1620703071.2135482,"caller":"ginzap/ginzap.go:58","msg":"RESPONSE 400 POST /api/v1/login","ddtags":"env:prospace-analytics-backend-staging","prospace_analytics_backend":{"status":400,"method":"POST","path_template":"/api/v1/login","path":"/api/v1/login","query":"","ip":"172.17.0.1","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.93 Safari/537.36","time":"2021-05-11T03:17:51Z","latency":0.091268196}}
2021/05/11 03:17:57 &{0xc0002e07d0 <nil> {3600000000000 HS256 false}}
2021/05/11 03:17:57 &{ 0xc000174fa0 map[alg:HS256 typ:JWT] 0xc0000f20e0 false}
{"level":"info","ts":1620703077.0890884,"caller":"ginzap/ginzap.go:58","msg":"RESPONSE 200 POST /api/v1/login","ddtags":"env:prospace-analytics-backend-staging","prospace_analytics_backend":{"status":200,"method":"POST","path_template":"/api/v1/login","path":"/api/v1/login","query":"","ip":"172.17.0.1","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.93 Safari/537.36","time":"2021-05-11T03:17:57Z","latency":0.129320889}}
{"level":"info","ts":1620703077.3551793,"caller":"middlewares/jwt.go:68","msg":"unauthorized status","ddtags":"env:prospace-analytics-backend-staging","prospace_analytics_backend":{"error":"No auth cookie"}}
{"level":"info","ts":1620703077.355322,"caller":"ginzap/ginzap.go:58","msg":"RESPONSE 401 GET /api/v1/current_user","ddtags":"env:prospace-analytics-backend-staging","prospace_analytics_backend":{"status":401,"method":"GET","path_template":"/api/v1/current_user","path":"/api/v1/current_user","query":"","ip":"172.17.0.1","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.93 Safari/537.36","time":"2021-05-11T03:17:57Z","latency":0.000167335}}
{"level":"info","ts":1620703077.464848,"caller":"middlewares/jwt.go:68","msg":"unauthorized status","ddtags":"env:prospace-analytics-backend-staging","prospace_analytics_backend":{"error":"No auth cookie"}}
{"level":"info","ts":1620703077.4649808,"caller":"ginzap/ginzap.go:58","msg":"RESPONSE 401 GET /api/v1/current_company","ddtags":"env:prospace-analytics-backend-staging","prospace_analytics_backend":{"status":401,"method":"GET","path_template":"/api/v1/current_company","path":"/api/v1/current_company","query":"","ip":"172.17.0.1","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.93 Safari/537.36","time":"2021-05-11T03:17:57Z","latency":0.000161014}}
{"level":"info","ts":1620703078.0523791,"caller":"middlewares/jwt.go:68","msg":"unauthorized status","ddtags":"env:prospace-analytics-backend-staging","prospace_analytics_backend":{"error":"No auth cookie"}}
{"level":"info","ts":1620703078.052482,"caller":"ginzap/ginzap.go:58","msg":"RESPONSE 401 GET /api/v1/is_token_valid","ddtags":"env:prospace-analytics-backend-staging","prospace_analytics_backend":{"status":401,"method":"GET","path_template":"/api/v1/is_token_valid","path":"/api/v1/is_token_valid","query":"","ip":"172.17.0.1","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.93 Safari/537.36","time":"2021-05-11T03:17:58Z","latency":0.000121319}}
2021/05/11 03:18:39 &{0xc0003b76d0 <nil> {3600000000000 HS256 false}}
2021/05/11 03:18:39 &{ 0xc000174fa0 map[alg:HS256 typ:JWT] 0xc0000f20e0 false}
{"level":"info","ts":1620703119.188135,"caller":"ginzap/ginzap.go:58","msg":"RESPONSE 200 POST /api/v1/login","ddtags":"env:prospace-analytics-backend-staging","prospace_analytics_backend":{"status":200,"method":"POST","path_template":"/api/v1/login","path":"/api/v1/login","query":"","ip":"172.17.0.1","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.93 Safari/537.36","time":"2021-05-11T03:18:39Z","latency":0.122401011}}
{"level":"info","ts":1620703119.6467457,"caller":"middlewares/jwt.go:68","msg":"unauthorized status","ddtags":"env:prospace-analytics-backend-staging","prospace_analytics_backend":{"error":"No auth cookie"}}
{"level":"info","ts":1620703119.6468623,"caller":"ginzap/ginzap.go:58","msg":"RESPONSE 401 GET /api/v1/current_user","ddtags":"env:prospace-analytics-backend-staging","prospace_analytics_backend":{"status":401,"method":"GET","path_template":"/api/v1/current_user","path":"/api/v1/current_user","query":"","ip":"172.17.0.1","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.93 Safari/537.36","time":"2021-05-11T03:18:39Z","latency":0.000134184}}
{"level":"info","ts":1620703120.1511788,"caller":"middlewares/jwt.go:68","msg":"unauthorized status","ddtags":"env:prospace-analytics-backend-staging","prospace_analytics_backend":{"error":"No auth cookie"}}
{"level":"info","ts":1620703120.151412,"caller":"ginzap/ginzap.go:58","msg":"RESPONSE 401 GET /api/v1/is_token_valid","ddtags":"env:prospace-analytics-backend-staging","prospace_analytics_backend":{"status":401,"method":"GET","path_template":"/api/v1/is_token_valid","path":"/api/v1/is_token_valid","query":"","ip":"172.17.0.1","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.93 Safari/537.36","time":"2021-05-11T03:18:40Z","latency":0.000258717}}
{"level":"info","ts":1620703120.2950513,"caller":"middlewares/jwt.go:68","msg":"unauthorized status","ddtags":"env:prospace-analytics-backend-staging","prospace_analytics_backend":{"error":"No auth cookie"}}
{"level":"info","ts":1620703120.295157,"caller":"ginzap/ginzap.go:58","msg":"RESPONSE 401 GET /api/v1/current_company","ddtags":"env:prospace-analytics-backend-staging","prospace_analytics_backend":{"status":401,"method":"GET","path_template":"/api/v1/current_company","path":"/api/v1/current_company","query":"","ip":"172.17.0.1","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.93 Safari/537.36","time":"2021-05-11T03:18:40Z","latency":0.000122977}}
```