[2026-04-20 01:52:31.139] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.26.0.9 | latency: 17.103157ms | method: POST | path: /api/v1/auth/login | request_id: 2c9f37da-bb3a-4b34-a070-035a34ce34ff | service: service-general | status: 200 | user_agent: Go-http-client/1.1
[2026-04-20 01:59:17.793] [ERROR] HTTP error occurred                                     | 📍 http.go:116 | category: unauthorized | environment: debug | error_code: UNAUTHORIZED | ⚙️ service/pkg/errors.LogHTTPError | http_status: 401 | metadata: map[reason:map[provider_errors:map[jwt:invalid token keycloak:token expired] severity:warning timestamp:2026-04-20T01:59:17Z] timestamp:2026-04-20T01:59:17Z] | method: GET | path: /api/v1/satusehat/encounter | service: service-general
[2026-04-20 01:59:17.794] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 2.281681ms | method: GET | path: /api/v1/satusehat/encounter | request_id: b5312e9d-0481-4422-9ec6-688b92ced128 | service: service-general | status: 401 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-20 01:59:31.006] [ERROR] HTTP error occurred                                     | 📍 http.go:116 | category: unauthorized | environment: debug | error_code: UNAUTHORIZED | ⚙️ service/pkg/errors.LogHTTPError | http_status: 401 | metadata: map[reason:map[provider_errors:map[jwt:invalid token keycloak:token expired] severity:warning timestamp:2026-04-20T01:59:31Z] timestamp:2026-04-20T01:59:31Z] | method: GET | path: /api/v1/satusehat/encounter | service: service-general
[2026-04-20 01:59:31.006] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 669.828µs | method: GET | path: /api/v1/satusehat/encounter | request_id: a1faac3a-d5b7-4187-aa7c-888fb69144a2 | service: service-general | status: 401 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-20 01:59:33.751] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 630.867µs | method: POST | path: /api/v1/auth/login | request_id: 53fb6c71-d020-46fe-975e-ffef5172231c | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-20 01:59:36.292] [INFO ] 🔑 SatuSehat Access Token refreshed successfully         | 📍 client.go:124 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).GetAccessToken | service: service-general
[2026-04-20 01:59:36.292] [INFO ] 🛫 SatuSehat API Request Sent                            | 📍 client.go:194 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).do | method: GET | service: service-general | target_url: https://api-satusehat.kemkes.go.id/fhir-r4/v1/Encounter?
[2026-04-20 01:59:36.430] [ERROR] SatuSehat API Error                                     | 📍 client.go:244 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).do | response: 
        {
          "resourceType": "OperationOutcome",
          "issue": [
            {
              "severity": "error",
              "code": "value",
              "details": {
                "text": "Invalid query"
              },
              "diagnostics": "Missing query parameters: subject"
            }
          ]
        }
       | service: service-general | status_code: 400
[2026-04-20 01:59:36.431] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ❌ ERROR: Error #01: Failed to execute request to SatuSehat: SatuSehat API Error (HTTP 400)
 | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 441.895279ms | method: GET | path: /api/v1/satusehat/encounter | request_id: 6156f505-eafe-4dc3-8824-e1d6877d7b4b | service: service-general | status: 400 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-20 01:59:36.431] [ERROR] HTTP error occurred                                     | 📍 middleware.go:235 | category: internal | environment: debug | error_code: INTERNAL_ERROR | ⚙️ service/pkg/errors.handleErrors | http_status: 500 | metadata: map[severity:error timestamp:2026-04-20T01:59:36Z] | method: GET | path: /api/v1/satusehat/encounter | request_id: req_1776650375989408952 | service: service-general
[2026-04-20 01:59:49.132] [INFO ] Application starting                                    | 📍 main.go:90 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-20 01:59:49.133] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:105 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-20 01:59:49.133] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:117 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 01:59:49.133] [INFO ] Initializing database service with GORM as primary abstraction... | 📍 database.go:192 | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 01:59:49.143] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 01:59:49.143] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 01:59:49.150] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 01:59:49.150] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 01:59:49.152] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 01:59:49.152] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 01:59:49.169] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 01:59:49.169] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 01:59:49.178] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 01:59:49.178] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 01:59:49.180] [INFO ] Cache initialized                                       | 📍 main.go:150 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-20 01:59:49.180] [INFO ] Creating authentication providers                       | auth_type: hybrid | 📍 provider.go:69 | environment: debug | fallback_to: jwt | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | keycloak_enabled: true | keycloak_issuer: https://auth.rssa.top/realms/Dev | service: service-general | static_tokens_len: 4
[2026-04-20 01:59:49.180] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-20 01:59:49.181] [INFO ] REST API running                                        | 📍 main.go:343 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-20 01:59:49.182] [INFO ] Application started successfully                        | 📍 main.go:404 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 01:59:49.182] [INFO ] gRPC Server running                                     | 📍 main.go:370 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-20 02:01:23.169] [INFO ] 🔑 SatuSehat Access Token refreshed successfully         | 📍 client.go:124 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).GetAccessToken | service: service-general
[2026-04-20 02:01:23.169] [INFO ] 🛫 SatuSehat API Request Sent                            | 📍 client.go:194 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).do | method: GET | service: service-general | target_url: https://api-satusehat.kemkes.go.id/fhir-r4/v1/Encounter?
[2026-04-20 02:01:23.302] [ERROR] SatuSehat API Error                                     | 📍 client.go:244 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).do | response: 
        {
          "resourceType": "OperationOutcome",
          "issue": [
            {
              "severity": "error",
              "code": "value",
              "details": {
                "text": "Invalid query"
              },
              "diagnostics": "Missing query parameters: subject"
            }
          ]
        }
       | service: service-general | status_code: 400
[2026-04-20 02:01:23.302] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ❌ ERROR: Error #01: Failed to execute request to SatuSehat: SatuSehat API Error (HTTP 400)
 | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 333.570429ms | method: GET | path: /api/v1/satusehat/encounter | request_id: 00956a01-05b6-45d3-88d9-458c3367b89b | service: service-general | status: 400 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-20 02:01:23.302] [ERROR] HTTP error occurred                                     | 📍 middleware.go:235 | category: internal | environment: debug | error_code: INTERNAL_ERROR | ⚙️ service/pkg/errors.handleErrors | http_status: 500 | metadata: map[severity:error timestamp:2026-04-20T02:01:23Z] | method: GET | path: /api/v1/satusehat/encounter | request_id: req_1776650482968901299 | service: service-general
[2026-04-20 02:03:19.750] [INFO ] 🛫 SatuSehat API Request Sent                            | 📍 client.go:194 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).do | method: GET | service: service-general | target_url: https://api-satusehat.kemkes.go.id/fhir-r4/v1/Encounter/5c75c49a-3727-4669-bff6-fbdf0cac81bc
[2026-04-20 02:03:20.083] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 333.94261ms | method: GET | path: /api/v1/satusehat/encounter/5c75c49a-3727-4669-bff6-fbdf0cac81bc | request_id: dd142c47-6904-4d83-8bf1-50b09a031eb6 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-20 02:03:40.449] [INFO ] 🛫 SatuSehat API Request Sent                            | 📍 client.go:194 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).do | method: GET | service: service-general | target_url: https://api-satusehat.kemkes.go.id/fhir-r4/v1/Encounter?patient=P00339808683
[2026-04-20 02:03:40.606] [ERROR] SatuSehat API Error                                     | 📍 client.go:244 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).do | response: 
        {
          "resourceType": "OperationOutcome",
          "issue": [
            {
              "severity": "error",
              "code": "value",
              "details": {
                "text": "Invalid query"
              },
              "diagnostics": "Missing query parameters: subject"
            }
          ]
        }
       | service: service-general | status_code: 400
[2026-04-20 02:03:40.606] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ❌ ERROR: Error #01: Failed to execute request to SatuSehat: SatuSehat API Error (HTTP 400)
 | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 157.880239ms | method: GET | path: /api/v1/satusehat/encounter | query: patient=P00339808683 | request_id: 646cdddc-2cca-4d42-a427-951d1a5937e1 | service: service-general | status: 400 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-20 02:03:40.606] [ERROR] HTTP error occurred                                     | 📍 middleware.go:235 | category: internal | environment: debug | error_code: INTERNAL_ERROR | ⚙️ service/pkg/errors.handleErrors | http_status: 500 | metadata: map[severity:error timestamp:2026-04-20T02:03:40Z] | method: GET | path: /api/v1/satusehat/encounter | request_id: req_1776650620448618345 | service: service-general
[2026-04-20 02:11:15.717] [INFO ] 🛫 SatuSehat API Request Sent                            | 📍 client.go:194 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).do | method: GET | service: service-general | target_url: https://api-satusehat.kemkes.go.id/fhir-r4/v1/Encounter?subject=P00339808683
[2026-04-20 02:11:16.467] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 750.431437ms | method: GET | path: /api/v1/satusehat/encounter | query: subject=P00339808683 | request_id: 26f46580-69f9-43d1-bf09-e82494334b21 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-20 02:13:05.083] [INFO ] 🛫 SatuSehat API Request Sent                            | 📍 client.go:194 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).do | method: GET | service: service-general | target_url: https://api-satusehat.kemkes.go.id/fhir-r4/v1/Encounter?subject=P00339808683
[2026-04-20 02:13:05.740] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 658.167167ms | method: GET | path: /api/v1/satusehat/encounter | query: subject=P00339808683 | request_id: b0e24477-a551-4bd9-bcbe-a9c75ff8ad46 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-20 02:31:17.693] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 576.601µs | method: GET | path: /api/v1/satusehat/servicerequest | request_id: 28b6b308-baad-4617-9211-8b0949fbbc76 | service: service-general | status: 401 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-20 02:41:48.758] [INFO ] 🛫 SatuSehat API Request Sent                            | 📍 client.go:194 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).do | method: GET | service: service-general | target_url: https://api-satusehat.kemkes.go.id/fhir-r4/v1/ImagingStudy/12e8b96e-e498-48e1-a648-64292bb3c05b
[2026-04-20 02:41:49.092] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 334.564507ms | method: GET | path: /api/v1/satusehat/imagingstudy/12e8b96e-e498-48e1-a648-64292bb3c05b | request_id: 958c14ed-f723-469f-b097-b7ad23a82c6d | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-20 02:42:33.400] [INFO ] 🛫 SatuSehat API Request Sent                            | 📍 client.go:194 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).do | method: GET | service: service-general | target_url: https://api-satusehat.kemkes.go.id/fhir-r4/v1/ImagingStudy/d7df561a-a5f6-413f-a193-0517b225052c
[2026-04-20 02:42:33.651] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 251.715871ms | method: GET | path: /api/v1/satusehat/imagingstudy/d7df561a-a5f6-413f-a193-0517b225052c | request_id: 5d342a50-e29d-415e-a1f7-20f32ae91e82 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-20 02:48:04.643] [INFO ] Application starting                                    | 📍 main.go:90 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-20 02:48:04.643] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:105 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-20 02:48:04.643] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:117 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 02:48:04.643] [INFO ] Initializing database service with GORM as primary abstraction... | 📍 database.go:192 | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 02:48:04.652] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 02:48:04.652] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 02:48:04.659] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 02:48:04.659] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 02:48:04.661] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 02:48:04.661] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 02:48:04.680] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 02:48:04.680] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 02:48:04.690] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 02:48:04.690] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 02:48:04.692] [INFO ] Cache initialized                                       | 📍 main.go:150 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-20 02:48:04.692] [INFO ] Creating authentication providers                       | auth_type: hybrid | 📍 provider.go:69 | environment: debug | fallback_to: jwt | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | keycloak_enabled: true | keycloak_issuer: https://auth.rssa.top/realms/Dev | service: service-general | static_tokens_len: 4
[2026-04-20 02:48:04.692] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-20 02:48:04.693] [INFO ] Application started successfully                        | 📍 main.go:404 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 02:48:04.693] [INFO ] gRPC Server running                                     | 📍 main.go:370 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-20 02:48:04.694] [INFO ] REST API running                                        | 📍 main.go:343 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-20 02:55:20.927] [INFO ] Application starting                                    | 📍 main.go:90 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-20 02:55:20.928] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:105 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-20 02:55:20.928] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:117 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 02:55:20.928] [INFO ] Initializing database service with GORM as primary abstraction... | 📍 database.go:192 | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 02:55:20.938] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 02:55:20.938] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 02:55:20.945] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 02:55:20.945] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 02:55:20.947] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 02:55:20.947] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 02:55:20.967] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 02:55:20.967] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 02:55:20.975] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 02:55:20.975] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 02:55:20.977] [INFO ] Cache initialized                                       | 📍 main.go:150 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-20 02:55:20.979] [INFO ] Creating authentication providers                       | auth_type: hybrid | 📍 provider.go:69 | environment: debug | fallback_to: jwt | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | keycloak_enabled: true | keycloak_issuer: https://auth.rssa.top/realms/Dev | service: service-general | static_tokens_len: 4
[2026-04-20 02:55:20.979] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-20 02:55:20.980] [INFO ] REST API running                                        | 📍 main.go:343 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-20 02:55:20.980] [INFO ] Application started successfully                        | 📍 main.go:404 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 02:55:20.981] [INFO ] gRPC Server running                                     | 📍 main.go:370 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-20 03:00:21.324] [INFO ] Application starting                                    | 📍 main.go:90 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-20 03:00:21.324] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:105 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-20 03:00:21.324] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:117 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 03:00:21.324] [INFO ] Initializing database service with GORM as primary abstraction... | 📍 database.go:192 | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:00:21.332] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:00:21.332] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:00:21.340] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:00:21.340] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:00:21.349] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:00:21.349] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:00:21.351] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:00:21.351] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:00:21.373] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:00:21.373] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:00:21.375] [INFO ] Cache initialized                                       | 📍 main.go:150 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-20 03:00:21.375] [INFO ] Creating authentication providers                       | auth_type: hybrid | 📍 provider.go:69 | environment: debug | fallback_to: jwt | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | keycloak_enabled: true | keycloak_issuer: https://auth.rssa.top/realms/Dev | service: service-general | static_tokens_len: 4
[2026-04-20 03:00:21.375] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-20 03:00:21.376] [INFO ] Application started successfully                        | 📍 main.go:404 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 03:00:21.376] [INFO ] gRPC Server running                                     | 📍 main.go:370 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-20 03:00:21.377] [INFO ] REST API running                                        | 📍 main.go:343 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-20 03:00:29.808] [INFO ] Application starting                                    | 📍 main.go:90 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-20 03:00:29.809] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:105 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-20 03:00:29.809] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:117 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 03:00:29.809] [INFO ] Initializing database service with GORM as primary abstraction... | 📍 database.go:192 | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:00:29.827] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:00:29.827] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:00:29.834] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:00:29.834] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:00:29.854] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:00:29.854] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:00:29.861] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:00:29.861] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:00:29.869] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:00:29.869] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:00:29.871] [INFO ] Cache initialized                                       | 📍 main.go:150 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-20 03:00:29.872] [INFO ] Creating authentication providers                       | auth_type: hybrid | 📍 provider.go:69 | environment: debug | fallback_to: jwt | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | keycloak_enabled: true | keycloak_issuer: https://auth.rssa.top/realms/Dev | service: service-general | static_tokens_len: 4
[2026-04-20 03:00:29.872] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-20 03:00:29.873] [INFO ] REST API running                                        | 📍 main.go:343 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-20 03:00:29.873] [INFO ] Application started successfully                        | 📍 main.go:404 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 03:00:29.873] [INFO ] gRPC Server running                                     | 📍 main.go:370 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-20 03:31:01.772] [INFO ] Application starting                                    | 📍 main.go:90 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-20 03:31:01.772] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:105 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-20 03:31:01.772] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:117 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 03:31:01.772] [INFO ] Initializing database service with GORM as primary abstraction... | 📍 database.go:192 | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:31:01.790] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:31:01.790] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:31:01.800] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:31:01.800] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:31:01.810] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:31:01.810] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:31:01.817] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:31:01.817] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:31:01.819] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:31:01.819] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:31:01.821] [INFO ] Cache initialized                                       | 📍 main.go:150 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-20 03:31:01.821] [INFO ] Creating authentication providers                       | auth_type: hybrid | 📍 provider.go:69 | environment: debug | fallback_to: jwt | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | keycloak_enabled: true | keycloak_issuer: https://auth.rssa.top/realms/Dev | service: service-general | static_tokens_len: 4
[2026-04-20 03:31:01.821] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-20 03:31:01.822] [INFO ] Application started successfully                        | 📍 main.go:404 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 03:31:01.822] [INFO ] REST API running                                        | 📍 main.go:343 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-20 03:31:01.822] [INFO ] gRPC Server running                                     | 📍 main.go:370 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-20 03:31:09.604] [INFO ] Application starting                                    | 📍 main.go:90 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-20 03:31:09.605] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:105 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-20 03:31:09.605] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:117 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 03:31:09.605] [INFO ] Initializing database service with GORM as primary abstraction... | 📍 database.go:192 | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:31:09.615] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:31:09.615] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:31:09.617] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:31:09.617] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:31:09.673] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:31:09.673] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:31:09.682] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:31:09.682] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:31:09.691] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:31:09.691] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:31:09.694] [INFO ] Cache initialized                                       | 📍 main.go:150 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-20 03:31:09.695] [INFO ] Creating authentication providers                       | auth_type: hybrid | 📍 provider.go:69 | environment: debug | fallback_to: jwt | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | keycloak_enabled: true | keycloak_issuer: https://auth.rssa.top/realms/Dev | service: service-general | static_tokens_len: 4
[2026-04-20 03:31:09.695] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-20 03:31:09.696] [INFO ] Application started successfully                        | 📍 main.go:404 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 03:31:09.696] [INFO ] REST API running                                        | 📍 main.go:343 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-20 03:31:09.697] [INFO ] gRPC Server running                                     | 📍 main.go:370 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-20 03:31:43.414] [INFO ] Application starting                                    | 📍 main.go:90 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-20 03:31:43.414] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:105 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-20 03:31:43.414] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:117 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 03:31:43.414] [INFO ] Initializing database service with GORM as primary abstraction... | 📍 database.go:192 | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:31:43.422] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:31:43.422] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:31:43.429] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:31:43.429] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:31:43.431] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:31:43.431] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:31:43.450] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:31:43.450] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:31:43.460] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:31:43.460] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:31:43.462] [INFO ] Cache initialized                                       | 📍 main.go:150 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-20 03:31:43.462] [INFO ] Creating authentication providers                       | auth_type: hybrid | 📍 provider.go:69 | environment: debug | fallback_to: jwt | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | keycloak_enabled: true | keycloak_issuer: https://auth.rssa.top/realms/Dev | service: service-general | static_tokens_len: 4
[2026-04-20 03:31:43.462] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-20 03:31:43.463] [INFO ] Application started successfully                        | 📍 main.go:404 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 03:31:43.463] [INFO ] gRPC Server running                                     | 📍 main.go:370 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-20 03:31:43.463] [INFO ] REST API running                                        | 📍 main.go:343 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-20 03:34:08.707] [INFO ] Application starting                                    | 📍 main.go:90 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-20 03:34:08.707] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:105 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-20 03:34:08.707] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:117 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 03:34:08.707] [INFO ] Initializing database service with GORM as primary abstraction... | 📍 database.go:192 | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:34:08.715] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:34:08.715] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:34:08.722] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:34:08.722] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:34:08.729] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:34:08.729] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:34:08.731] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:34:08.731] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:34:09.261] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:34:09.261] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:34:09.264] [INFO ] Cache initialized                                       | 📍 main.go:150 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-20 03:34:09.264] [INFO ] Creating authentication providers                       | auth_type: hybrid | 📍 provider.go:69 | environment: debug | fallback_to: jwt | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | keycloak_enabled: true | keycloak_issuer: https://auth.rssa.top/realms/Dev | service: service-general | static_tokens_len: 4
[2026-04-20 03:34:09.264] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-20 03:34:09.265] [INFO ] REST API running                                        | 📍 main.go:343 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-20 03:34:09.266] [INFO ] Application started successfully                        | 📍 main.go:404 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 03:34:09.266] [INFO ] gRPC Server running                                     | 📍 main.go:370 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-20 03:34:24.416] [INFO ] Application starting                                    | 📍 main.go:90 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-20 03:34:24.416] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:105 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-20 03:34:24.416] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:117 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 03:34:24.416] [INFO ] Initializing database service with GORM as primary abstraction... | 📍 database.go:192 | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:34:24.435] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:34:24.435] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:34:24.442] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:34:24.442] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:34:24.449] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:34:24.449] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:34:24.457] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:34:24.457] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:34:24.458] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:34:24.458] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:34:24.460] [INFO ] Cache initialized                                       | 📍 main.go:150 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-20 03:34:24.460] [INFO ] Creating authentication providers                       | auth_type: hybrid | 📍 provider.go:69 | environment: debug | fallback_to: jwt | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | keycloak_enabled: true | keycloak_issuer: https://auth.rssa.top/realms/Dev | service: service-general | static_tokens_len: 4
[2026-04-20 03:34:24.460] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-20 03:34:24.461] [INFO ] Application started successfully                        | 📍 main.go:404 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 03:34:24.461] [INFO ] gRPC Server running                                     | 📍 main.go:370 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-20 03:34:24.461] [INFO ] REST API running                                        | 📍 main.go:343 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-20 03:34:37.445] [INFO ] Application starting                                    | 📍 main.go:90 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-20 03:34:37.445] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:105 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-20 03:34:37.445] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:117 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 03:34:37.445] [INFO ] Initializing database service with GORM as primary abstraction... | 📍 database.go:192 | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:34:37.466] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:34:37.467] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:34:37.476] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:34:37.476] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:34:37.484] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:34:37.484] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:34:37.491] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:34:37.491] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:34:37.492] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:34:37.492] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:34:37.494] [INFO ] Cache initialized                                       | 📍 main.go:150 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-20 03:34:37.494] [INFO ] Creating authentication providers                       | auth_type: hybrid | 📍 provider.go:69 | environment: debug | fallback_to: jwt | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | keycloak_enabled: true | keycloak_issuer: https://auth.rssa.top/realms/Dev | service: service-general | static_tokens_len: 4
[2026-04-20 03:34:37.494] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-20 03:34:37.495] [INFO ] Application started successfully                        | 📍 main.go:404 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 03:34:37.495] [INFO ] gRPC Server running                                     | 📍 main.go:370 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-20 03:34:37.495] [INFO ] REST API running                                        | 📍 main.go:343 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-20 03:34:42.446] [INFO ] Application starting                                    | 📍 main.go:90 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-20 03:34:42.446] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:105 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-20 03:34:42.446] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:117 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 03:34:42.446] [INFO ] Initializing database service with GORM as primary abstraction... | 📍 database.go:192 | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:34:42.455] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:34:42.455] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:34:42.464] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:34:42.464] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:34:42.472] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:34:42.472] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:34:42.474] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:34:42.474] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:34:42.497] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:34:42.497] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:34:42.498] [INFO ] Cache initialized                                       | 📍 main.go:150 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-20 03:34:42.499] [INFO ] Creating authentication providers                       | auth_type: hybrid | 📍 provider.go:69 | environment: debug | fallback_to: jwt | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | keycloak_enabled: true | keycloak_issuer: https://auth.rssa.top/realms/Dev | service: service-general | static_tokens_len: 4
[2026-04-20 03:34:42.499] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-20 03:34:42.500] [INFO ] Application started successfully                        | 📍 main.go:404 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 03:34:42.501] [INFO ] gRPC Server running                                     | 📍 main.go:370 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-20 03:34:42.501] [INFO ] REST API running                                        | 📍 main.go:343 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-20 03:35:43.585] [INFO ] Application starting                                    | 📍 main.go:90 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-20 03:35:43.585] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:105 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-20 03:35:43.585] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:117 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 03:35:43.585] [INFO ] Initializing database service with GORM as primary abstraction... | 📍 database.go:192 | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:35:43.593] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:35:43.593] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:35:43.595] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:35:43.595] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:35:43.614] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:35:43.614] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:35:43.621] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:35:43.621] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:35:43.629] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:35:43.629] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:35:43.630] [INFO ] Cache initialized                                       | 📍 main.go:150 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-20 03:35:43.631] [INFO ] Creating authentication providers                       | auth_type: hybrid | 📍 provider.go:69 | environment: debug | fallback_to: jwt | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | keycloak_enabled: true | keycloak_issuer: https://auth.rssa.top/realms/Dev | service: service-general | static_tokens_len: 4
[2026-04-20 03:35:43.631] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-20 03:35:43.631] [INFO ] Application started successfully                        | 📍 main.go:404 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 03:35:43.632] [INFO ] gRPC Server running                                     | 📍 main.go:370 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-20 03:35:43.632] [INFO ] REST API running                                        | 📍 main.go:343 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-20 03:35:57.027] [INFO ] Application starting                                    | 📍 main.go:90 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-20 03:35:57.028] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:105 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-20 03:35:57.028] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:117 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 03:35:57.028] [INFO ] Initializing database service with GORM as primary abstraction... | 📍 database.go:192 | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:35:57.084] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:35:57.084] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:35:57.139] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:35:57.139] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:35:57.192] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:35:57.193] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:35:57.256] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:35:57.256] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:35:57.346] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:35:57.347] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:35:57.348] [INFO ] Cache initialized                                       | 📍 main.go:150 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-20 03:35:57.349] [INFO ] Creating authentication providers                       | auth_type: hybrid | 📍 provider.go:69 | environment: debug | fallback_to: jwt | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | keycloak_enabled: true | keycloak_issuer: https://auth.rssa.top/realms/Dev | service: service-general | static_tokens_len: 4
[2026-04-20 03:35:57.349] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-20 03:35:57.350] [INFO ] Application started successfully                        | 📍 main.go:404 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 03:35:57.350] [INFO ] gRPC Server running                                     | 📍 main.go:370 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-20 03:35:57.351] [INFO ] REST API running                                        | 📍 main.go:343 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-20 03:36:26.578] [INFO ] Application starting                                    | 📍 main.go:90 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-20 03:36:26.579] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:105 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-20 03:36:26.579] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:117 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 03:36:26.579] [INFO ] Initializing database service with GORM as primary abstraction... | 📍 database.go:192 | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:36:26.639] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:36:26.639] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:36:26.705] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:36:26.705] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:36:26.713] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:36:26.713] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:36:26.715] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:36:26.715] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:36:26.798] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:36:26.798] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:36:26.799] [INFO ] Cache initialized                                       | 📍 main.go:150 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-20 03:36:26.800] [INFO ] Creating authentication providers                       | auth_type: hybrid | 📍 provider.go:69 | environment: debug | fallback_to: jwt | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | keycloak_enabled: true | keycloak_issuer: https://auth.rssa.top/realms/Dev | service: service-general | static_tokens_len: 4
[2026-04-20 03:36:26.800] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-20 03:36:26.801] [INFO ] Application started successfully                        | 📍 main.go:404 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 03:36:26.801] [INFO ] gRPC Server running                                     | 📍 main.go:370 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-20 03:36:26.801] [INFO ] REST API running                                        | 📍 main.go:343 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-20 03:36:28.113] [INFO ] Application starting                                    | 📍 main.go:90 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-20 03:36:28.113] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:105 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-20 03:36:28.113] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:117 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 03:36:28.113] [INFO ] Initializing database service with GORM as primary abstraction... | 📍 database.go:192 | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:36:28.168] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:36:28.168] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:36:28.203] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:36:28.203] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:36:28.205] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:36:28.205] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:36:28.261] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:36:28.261] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:36:28.344] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:36:28.344] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:36:28.346] [INFO ] Cache initialized                                       | 📍 main.go:150 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-20 03:36:28.347] [INFO ] Creating authentication providers                       | auth_type: hybrid | 📍 provider.go:69 | environment: debug | fallback_to: jwt | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | keycloak_enabled: true | keycloak_issuer: https://auth.rssa.top/realms/Dev | service: service-general | static_tokens_len: 4
[2026-04-20 03:36:28.347] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-20 03:36:28.348] [INFO ] Application started successfully                        | 📍 main.go:404 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 03:36:28.348] [INFO ] gRPC Server running                                     | 📍 main.go:370 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-20 03:36:28.349] [INFO ] REST API running                                        | 📍 main.go:343 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-20 03:36:51.724] [INFO ] Application starting                                    | 📍 main.go:90 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-20 03:36:51.724] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:105 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-20 03:36:51.724] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:117 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 03:36:51.724] [INFO ] Initializing database service with GORM as primary abstraction... | 📍 database.go:192 | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:36:51.727] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:36:51.727] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:36:51.747] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:36:51.747] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:36:51.757] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:36:51.757] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:36:51.767] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:36:51.767] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:36:51.774] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:36:51.774] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:36:51.777] [INFO ] Cache initialized                                       | 📍 main.go:150 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-20 03:36:51.778] [INFO ] Creating authentication providers                       | auth_type: hybrid | 📍 provider.go:69 | environment: debug | fallback_to: jwt | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | keycloak_enabled: true | keycloak_issuer: https://auth.rssa.top/realms/Dev | service: service-general | static_tokens_len: 4
[2026-04-20 03:36:51.779] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-20 03:36:51.780] [INFO ] REST API running                                        | 📍 main.go:343 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-20 03:36:51.781] [INFO ] Application started successfully                        | 📍 main.go:404 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 03:36:51.781] [INFO ] gRPC Server running                                     | 📍 main.go:370 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-20 03:47:19.413] [INFO ] Application starting                                    | 📍 main.go:90 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-20 03:47:19.413] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:105 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-20 03:47:19.413] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:117 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 03:47:19.413] [INFO ] Initializing database service with GORM as primary abstraction... | 📍 database.go:192 | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:47:19.436] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:47:19.436] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:47:19.446] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:47:19.446] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:47:19.455] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:47:19.455] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:47:19.463] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:47:19.463] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:47:19.465] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:47:19.465] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:47:19.466] [INFO ] Cache initialized                                       | 📍 main.go:150 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-20 03:47:19.467] [INFO ] Creating authentication providers                       | auth_type: hybrid | 📍 provider.go:69 | environment: debug | fallback_to: jwt | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | keycloak_enabled: true | keycloak_issuer: https://auth.rssa.top/realms/Dev | service: service-general | static_tokens_len: 4
[2026-04-20 03:47:19.467] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-20 03:47:19.468] [INFO ] Application started successfully                        | 📍 main.go:404 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 03:47:19.468] [INFO ] REST API running                                        | 📍 main.go:343 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-20 03:47:19.468] [INFO ] gRPC Server running                                     | 📍 main.go:370 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-20 03:47:44.244] [INFO ] Application starting                                    | 📍 main.go:90 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-20 03:47:44.244] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:105 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-20 03:47:44.244] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:117 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 03:47:44.244] [INFO ] Initializing database service with GORM as primary abstraction... | 📍 database.go:192 | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:47:44.253] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:47:44.253] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:47:44.256] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:47:44.256] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:47:44.280] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:47:44.280] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:47:44.287] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:47:44.287] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:47:44.295] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:47:44.295] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:47:44.298] [INFO ] Cache initialized                                       | 📍 main.go:150 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-20 03:47:44.298] [INFO ] Creating authentication providers                       | auth_type: hybrid | 📍 provider.go:69 | environment: debug | fallback_to: jwt | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | keycloak_enabled: true | keycloak_issuer: https://auth.rssa.top/realms/Dev | service: service-general | static_tokens_len: 4
[2026-04-20 03:47:44.299] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-20 03:47:44.300] [INFO ] REST API running                                        | 📍 main.go:343 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-20 03:47:44.300] [INFO ] Application started successfully                        | 📍 main.go:404 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 03:47:44.301] [INFO ] gRPC Server running                                     | 📍 main.go:370 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-20 03:47:48.529] [INFO ] Application starting                                    | 📍 main.go:90 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-20 03:47:48.529] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:105 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-20 03:47:48.530] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:117 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 03:47:48.530] [INFO ] Initializing database service with GORM as primary abstraction... | 📍 database.go:192 | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:47:48.531] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:47:48.532] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:47:48.553] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:47:48.554] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:47:48.565] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:47:48.565] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:47:48.573] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:47:48.574] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:47:48.580] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:47:48.581] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:47:48.583] [INFO ] Cache initialized                                       | 📍 main.go:150 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-20 03:47:48.584] [INFO ] Creating authentication providers                       | auth_type: hybrid | 📍 provider.go:69 | environment: debug | fallback_to: jwt | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | keycloak_enabled: true | keycloak_issuer: https://auth.rssa.top/realms/Dev | service: service-general | static_tokens_len: 4
[2026-04-20 03:47:48.584] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-20 03:47:48.585] [INFO ] Application started successfully                        | 📍 main.go:404 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 03:47:48.586] [INFO ] gRPC Server running                                     | 📍 main.go:370 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-20 03:47:48.586] [INFO ] REST API running                                        | 📍 main.go:343 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-20 03:47:49.340] [INFO ] Application starting                                    | 📍 main.go:90 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-20 03:47:49.341] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:105 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-20 03:47:49.341] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:117 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 03:47:49.341] [INFO ] Initializing database service with GORM as primary abstraction... | 📍 database.go:192 | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:47:49.348] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:47:49.348] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:47:49.356] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:47:49.356] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:47:49.357] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:47:49.358] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:47:49.371] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:47:49.372] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:47:49.382] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:47:49.382] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:47:49.383] [INFO ] Cache initialized                                       | 📍 main.go:150 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-20 03:47:49.384] [INFO ] Creating authentication providers                       | auth_type: hybrid | 📍 provider.go:69 | environment: debug | fallback_to: jwt | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | keycloak_enabled: true | keycloak_issuer: https://auth.rssa.top/realms/Dev | service: service-general | static_tokens_len: 4
[2026-04-20 03:47:49.384] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-20 03:47:49.385] [INFO ] Application started successfully                        | 📍 main.go:404 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 03:47:49.386] [INFO ] gRPC Server running                                     | 📍 main.go:370 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-20 03:47:49.386] [INFO ] REST API running                                        | 📍 main.go:343 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-20 03:47:49.685] [INFO ] Application starting                                    | 📍 main.go:90 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-20 03:47:49.685] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:105 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-20 03:47:49.686] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:117 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 03:47:49.686] [INFO ] Initializing database service with GORM as primary abstraction... | 📍 database.go:192 | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:47:49.698] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:47:49.698] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:47:49.708] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:47:49.708] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:47:49.710] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:47:49.711] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:47:49.732] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:47:49.732] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:47:49.741] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:47:49.742] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:47:49.749] [INFO ] Cache initialized                                       | 📍 main.go:150 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-20 03:47:49.749] [INFO ] Creating authentication providers                       | auth_type: hybrid | 📍 provider.go:69 | environment: debug | fallback_to: jwt | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | keycloak_enabled: true | keycloak_issuer: https://auth.rssa.top/realms/Dev | service: service-general | static_tokens_len: 4
[2026-04-20 03:47:49.749] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-20 03:47:49.751] [INFO ] REST API running                                        | 📍 main.go:343 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-20 03:47:49.751] [INFO ] gRPC Server running                                     | 📍 main.go:370 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-20 03:47:49.751] [INFO ] Application started successfully                        | 📍 main.go:404 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 03:47:51.444] [INFO ] Application starting                                    | 📍 main.go:90 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-20 03:47:51.444] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:105 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-20 03:47:51.444] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:117 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 03:47:51.444] [INFO ] Initializing database service with GORM as primary abstraction... | 📍 database.go:192 | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:47:51.453] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:47:51.454] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:47:51.462] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:47:51.462] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:47:51.464] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:47:51.464] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:47:51.485] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:47:51.485] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:47:51.494] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:47:51.494] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:47:51.496] [INFO ] Cache initialized                                       | 📍 main.go:150 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-20 03:47:51.496] [INFO ] Creating authentication providers                       | auth_type: hybrid | 📍 provider.go:69 | environment: debug | fallback_to: jwt | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | keycloak_enabled: true | keycloak_issuer: https://auth.rssa.top/realms/Dev | service: service-general | static_tokens_len: 4
[2026-04-20 03:47:51.496] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-20 03:47:51.497] [INFO ] Application started successfully                        | 📍 main.go:404 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 03:47:51.497] [INFO ] REST API running                                        | 📍 main.go:343 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-20 03:47:51.497] [INFO ] gRPC Server running                                     | 📍 main.go:370 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-20 03:48:43.027] [INFO ] Application starting                                    | 📍 main.go:90 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-20 03:48:43.027] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:105 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-20 03:48:43.027] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:117 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 03:48:43.027] [INFO ] Initializing database service with GORM as primary abstraction... | 📍 database.go:192 | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:48:43.029] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:48:43.029] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:48:43.048] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:48:43.048] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:48:43.057] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:48:43.057] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:48:43.064] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:48:43.064] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:48:43.071] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:48:43.072] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:48:43.073] [INFO ] Cache initialized                                       | 📍 main.go:150 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-20 03:48:43.074] [INFO ] Creating authentication providers                       | auth_type: hybrid | 📍 provider.go:69 | environment: debug | fallback_to: jwt | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | keycloak_enabled: true | keycloak_issuer: https://auth.rssa.top/realms/Dev | service: service-general | static_tokens_len: 4
[2026-04-20 03:48:43.074] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-20 03:48:43.075] [INFO ] Application started successfully                        | 📍 main.go:404 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 03:48:43.075] [INFO ] gRPC Server running                                     | 📍 main.go:370 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-20 03:48:43.075] [INFO ] REST API running                                        | 📍 main.go:343 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-20 03:49:59.502] [INFO ] Application starting                                    | 📍 main.go:90 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-20 03:49:59.503] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:105 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-20 03:49:59.503] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:117 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 03:49:59.503] [INFO ] Initializing database service with GORM as primary abstraction... | 📍 database.go:192 | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:49:59.529] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:49:59.529] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:49:59.539] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:49:59.539] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:49:59.547] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:49:59.547] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:49:59.555] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:49:59.555] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:49:59.557] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:49:59.557] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:49:59.560] [INFO ] Cache initialized                                       | 📍 main.go:150 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-20 03:49:59.560] [INFO ] Creating authentication providers                       | auth_type: hybrid | 📍 provider.go:69 | environment: debug | fallback_to: jwt | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | keycloak_enabled: true | keycloak_issuer: https://auth.rssa.top/realms/Dev | service: service-general | static_tokens_len: 4
[2026-04-20 03:49:59.560] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-20 03:49:59.562] [INFO ] Application started successfully                        | 📍 main.go:404 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 03:49:59.562] [INFO ] gRPC Server running                                     | 📍 main.go:370 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-20 03:49:59.562] [INFO ] REST API running                                        | 📍 main.go:343 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-20 03:50:01.904] [INFO ] Application starting                                    | 📍 main.go:90 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-20 03:50:01.904] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:105 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-20 03:50:01.904] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:117 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 03:50:01.904] [INFO ] Initializing database service with GORM as primary abstraction... | 📍 database.go:192 | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:50:01.907] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:50:01.907] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:50:01.927] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:50:01.927] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:50:01.936] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:50:01.937] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:50:01.945] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:50:01.945] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:50:01.953] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:50:01.953] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:50:01.956] [INFO ] Cache initialized                                       | 📍 main.go:150 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-20 03:50:01.957] [INFO ] Creating authentication providers                       | auth_type: hybrid | 📍 provider.go:69 | environment: debug | fallback_to: jwt | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | keycloak_enabled: true | keycloak_issuer: https://auth.rssa.top/realms/Dev | service: service-general | static_tokens_len: 4
[2026-04-20 03:50:01.957] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-20 03:50:01.958] [INFO ] Application started successfully                        | 📍 main.go:404 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 03:50:01.959] [INFO ] gRPC Server running                                     | 📍 main.go:370 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-20 03:50:01.959] [INFO ] REST API running                                        | 📍 main.go:343 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-20 03:50:04.189] [INFO ] Application starting                                    | 📍 main.go:90 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-20 03:50:04.189] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:105 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-20 03:50:04.190] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:117 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 03:50:04.190] [INFO ] Initializing database service with GORM as primary abstraction... | 📍 database.go:192 | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:50:04.200] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:50:04.200] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:50:04.208] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:50:04.208] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:50:04.209] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:50:04.209] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:50:04.231] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:50:04.231] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:50:04.239] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:50:04.239] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:50:04.242] [INFO ] Cache initialized                                       | 📍 main.go:150 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-20 03:50:04.243] [INFO ] Creating authentication providers                       | auth_type: hybrid | 📍 provider.go:69 | environment: debug | fallback_to: jwt | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | keycloak_enabled: true | keycloak_issuer: https://auth.rssa.top/realms/Dev | service: service-general | static_tokens_len: 4
[2026-04-20 03:50:04.243] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-20 03:50:04.244] [INFO ] Application started successfully                        | 📍 main.go:404 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 03:50:04.244] [INFO ] gRPC Server running                                     | 📍 main.go:370 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-20 03:50:04.245] [INFO ] REST API running                                        | 📍 main.go:343 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-20 03:50:06.710] [INFO ] Application starting                                    | 📍 main.go:90 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-20 03:50:06.710] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:105 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-20 03:50:06.711] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:117 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 03:50:06.711] [INFO ] Initializing database service with GORM as primary abstraction... | 📍 database.go:192 | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:50:06.731] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:50:06.731] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:50:06.740] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:50:06.740] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:50:06.748] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:50:06.748] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:50:06.755] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:50:06.755] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:50:06.757] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:50:06.757] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:50:06.760] [INFO ] Cache initialized                                       | 📍 main.go:150 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-20 03:50:06.761] [INFO ] Creating authentication providers                       | auth_type: hybrid | 📍 provider.go:69 | environment: debug | fallback_to: jwt | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | keycloak_enabled: true | keycloak_issuer: https://auth.rssa.top/realms/Dev | service: service-general | static_tokens_len: 4
[2026-04-20 03:50:06.761] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-20 03:50:06.762] [INFO ] Application started successfully                        | 📍 main.go:404 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 03:50:06.763] [INFO ] REST API running                                        | 📍 main.go:343 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-20 03:50:06.763] [INFO ] gRPC Server running                                     | 📍 main.go:370 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-20 03:50:08.236] [INFO ] Application starting                                    | 📍 main.go:91 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-20 03:50:08.236] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:106 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-20 03:50:08.236] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:118 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 03:50:08.236] [INFO ] Initializing database service with GORM as primary abstraction... | 📍 database.go:192 | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:50:08.245] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:50:08.245] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:50:08.252] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:50:08.252] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:50:08.254] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:50:08.254] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:50:08.269] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:50:08.269] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:50:08.277] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:50:08.278] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:50:08.280] [INFO ] Cache initialized                                       | 📍 main.go:151 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-20 03:50:08.281] [INFO ] Creating authentication providers                       | auth_type: hybrid | 📍 provider.go:69 | environment: debug | fallback_to: jwt | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | keycloak_enabled: true | keycloak_issuer: https://auth.rssa.top/realms/Dev | service: service-general | static_tokens_len: 4
[2026-04-20 03:50:08.281] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-20 03:50:08.282] [INFO ] REST API running                                        | 📍 main.go:348 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-20 03:50:08.282] [INFO ] Application started successfully                        | 📍 main.go:409 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 03:50:08.282] [INFO ] gRPC Server running                                     | 📍 main.go:375 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-20 03:59:26.057] [INFO ] Application starting                                    | 📍 main.go:91 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-20 03:59:26.058] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:106 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-20 03:59:26.058] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:118 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 03:59:26.058] [INFO ] Initializing database service with GORM as primary abstraction... | 📍 database.go:192 | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:59:26.068] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:59:26.068] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:59:26.070] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:59:26.070] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:59:26.091] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:59:26.091] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:59:26.101] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:59:26.101] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:59:26.110] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:59:26.110] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:59:26.112] [INFO ] Cache initialized                                       | 📍 main.go:151 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-20 03:59:26.113] [INFO ] Creating authentication providers                       | auth_type: hybrid | 📍 provider.go:69 | environment: debug | fallback_to: jwt | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | keycloak_enabled: true | keycloak_issuer: https://auth.rssa.top/realms/Dev | service: service-general | static_tokens_len: 4
[2026-04-20 03:59:26.113] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-20 03:59:26.115] [INFO ] REST API running                                        | 📍 main.go:348 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-20 03:59:26.115] [INFO ] gRPC Server running                                     | 📍 main.go:375 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-20 03:59:26.115] [INFO ] Application started successfully                        | 📍 main.go:409 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 03:59:28.705] [INFO ] Application starting                                    | 📍 main.go:91 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-20 03:59:28.706] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:106 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-20 03:59:28.706] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:118 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 03:59:28.706] [INFO ] Initializing database service with GORM as primary abstraction... | 📍 database.go:192 | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:59:28.731] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:59:28.731] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:59:28.733] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:59:28.733] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:59:28.754] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:59:28.754] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:59:28.765] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:59:28.765] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:59:28.775] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:59:28.775] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:59:28.778] [INFO ] Cache initialized                                       | 📍 main.go:151 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-20 03:59:28.778] [INFO ] Creating authentication providers                       | auth_type: hybrid | 📍 provider.go:69 | environment: debug | fallback_to: jwt | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | keycloak_enabled: true | keycloak_issuer: https://auth.rssa.top/realms/Dev | service: service-general | static_tokens_len: 4
[2026-04-20 03:59:28.778] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-20 03:59:28.780] [INFO ] REST API running                                        | 📍 main.go:348 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-20 03:59:28.780] [INFO ] Application started successfully                        | 📍 main.go:409 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 03:59:28.781] [INFO ] gRPC Server running                                     | 📍 main.go:375 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-20 03:59:30.746] [INFO ] Application starting                                    | 📍 main.go:91 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-20 03:59:30.746] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:106 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-20 03:59:30.747] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:118 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 03:59:30.747] [INFO ] Initializing database service with GORM as primary abstraction... | 📍 database.go:192 | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:59:30.756] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:59:30.756] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:59:30.763] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:59:30.763] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:59:30.765] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:59:30.765] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:59:30.786] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:59:30.786] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:59:30.793] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 03:59:30.793] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 03:59:30.796] [INFO ] Cache initialized                                       | 📍 main.go:151 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-20 03:59:30.796] [INFO ] Creating authentication providers                       | auth_type: hybrid | 📍 provider.go:69 | environment: debug | fallback_to: jwt | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | keycloak_enabled: true | keycloak_issuer: https://auth.rssa.top/realms/Dev | service: service-general | static_tokens_len: 4
[2026-04-20 03:59:30.796] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-20 03:59:30.798] [INFO ] REST API running                                        | 📍 main.go:348 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-20 03:59:30.798] [INFO ] Application started successfully                        | 📍 main.go:409 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 03:59:30.798] [INFO ] gRPC Server running                                     | 📍 main.go:375 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-20 04:01:22.285] [INFO ] Application starting                                    | 📍 main.go:91 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-20 04:01:22.286] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:106 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-20 04:01:22.286] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:118 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 04:01:22.286] [INFO ] Initializing database service with GORM as primary abstraction... | 📍 database.go:192 | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 04:01:22.294] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 04:01:22.294] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 04:01:22.301] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 04:01:22.301] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 04:01:22.303] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 04:01:22.303] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 04:01:22.324] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 04:01:22.324] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 04:01:22.333] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 04:01:22.333] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 04:01:22.334] [INFO ] Cache initialized                                       | 📍 main.go:151 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-20 04:01:22.335] [INFO ] Creating authentication providers                       | auth_type: hybrid | 📍 provider.go:69 | environment: debug | fallback_to: jwt | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | keycloak_enabled: true | keycloak_issuer: https://auth.rssa.top/realms/Dev | service: service-general | static_tokens_len: 4
[2026-04-20 04:01:22.335] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-20 04:01:22.336] [INFO ] Application started successfully                        | 📍 main.go:409 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 04:01:22.336] [INFO ] gRPC Server running                                     | 📍 main.go:375 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-20 04:01:22.336] [INFO ] REST API running                                        | 📍 main.go:348 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-20 04:01:24.036] [INFO ] Application starting                                    | 📍 main.go:91 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-20 04:01:24.036] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:106 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-20 04:01:24.037] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:118 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 04:01:24.037] [INFO ] Initializing database service with GORM as primary abstraction... | 📍 database.go:192 | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 04:01:24.085] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 04:01:24.085] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 04:01:24.092] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 04:01:24.092] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 04:01:24.095] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 04:01:24.095] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 04:01:24.133] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 04:01:24.133] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 04:01:24.141] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 04:01:24.141] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 04:01:24.144] [INFO ] Cache initialized                                       | 📍 main.go:151 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-20 04:01:24.145] [INFO ] Creating authentication providers                       | auth_type: hybrid | 📍 provider.go:69 | environment: debug | fallback_to: jwt | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | keycloak_enabled: true | keycloak_issuer: https://auth.rssa.top/realms/Dev | service: service-general | static_tokens_len: 4
[2026-04-20 04:01:24.145] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-20 04:01:24.146] [INFO ] REST API running                                        | 📍 main.go:348 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-20 04:01:24.147] [INFO ] gRPC Server running                                     | 📍 main.go:375 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-20 04:01:24.147] [INFO ] Application started successfully                        | 📍 main.go:409 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 04:01:25.185] [INFO ] Application starting                                    | 📍 main.go:91 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-20 04:01:25.185] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:106 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-20 04:01:25.185] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:118 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 04:01:25.185] [INFO ] Initializing database service with GORM as primary abstraction... | 📍 database.go:192 | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 04:01:25.187] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 04:01:25.187] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 04:01:25.208] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 04:01:25.208] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 04:01:25.216] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 04:01:25.216] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 04:01:25.225] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 04:01:25.225] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 04:01:25.233] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 04:01:25.233] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 04:01:25.235] [INFO ] Cache initialized                                       | 📍 main.go:151 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-20 04:01:25.235] [INFO ] Creating authentication providers                       | auth_type: hybrid | 📍 provider.go:69 | environment: debug | fallback_to: jwt | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | keycloak_enabled: true | keycloak_issuer: https://auth.rssa.top/realms/Dev | service: service-general | static_tokens_len: 4
[2026-04-20 04:01:25.235] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-20 04:01:25.236] [INFO ] Application started successfully                        | 📍 main.go:409 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 04:01:25.236] [INFO ] gRPC Server running                                     | 📍 main.go:375 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-20 04:01:25.236] [INFO ] REST API running                                        | 📍 main.go:348 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-20 04:01:29.385] [INFO ] Application starting                                    | 📍 main.go:91 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-20 04:01:29.385] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:106 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-20 04:01:29.385] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:118 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 04:01:29.385] [INFO ] Initializing database service with GORM as primary abstraction... | 📍 database.go:192 | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 04:01:29.388] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 04:01:29.388] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 04:01:29.405] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 04:01:29.405] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 04:01:29.413] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 04:01:29.413] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 04:01:29.420] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 04:01:29.420] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 04:01:29.438] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 04:01:29.438] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 04:01:29.441] [INFO ] Cache initialized                                       | 📍 main.go:151 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-20 04:01:29.442] [INFO ] Creating authentication providers                       | auth_type: hybrid | 📍 provider.go:69 | environment: debug | fallback_to: jwt | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | keycloak_enabled: true | keycloak_issuer: https://auth.rssa.top/realms/Dev | service: service-general | static_tokens_len: 4
[2026-04-20 04:01:29.442] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-20 04:01:29.443] [INFO ] Application started successfully                        | 📍 main.go:409 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 04:01:29.443] [INFO ] gRPC Server running                                     | 📍 main.go:375 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-20 04:01:29.444] [INFO ] REST API running                                        | 📍 main.go:348 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-20 04:02:28.180] [INFO ] Application starting                                    | 📍 main.go:91 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-20 04:02:28.181] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:106 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-20 04:02:28.181] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:118 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 04:02:28.181] [INFO ] Initializing database service with GORM as primary abstraction... | 📍 database.go:192 | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 04:02:28.190] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 04:02:28.190] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 04:02:28.192] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 04:02:28.192] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 04:02:28.213] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 04:02:28.213] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 04:02:28.220] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 04:02:28.220] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 04:02:28.228] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 04:02:28.229] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 04:02:28.231] [INFO ] Cache initialized                                       | 📍 main.go:151 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-20 04:02:28.232] [INFO ] Creating authentication providers                       | auth_type: hybrid | 📍 provider.go:69 | environment: debug | fallback_to: jwt | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | keycloak_enabled: true | keycloak_issuer: https://auth.rssa.top/realms/Dev | service: service-general | static_tokens_len: 4
[2026-04-20 04:02:28.232] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-20 04:02:28.234] [INFO ] REST API running                                        | 📍 main.go:348 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-20 04:02:28.234] [INFO ] Application started successfully                        | 📍 main.go:409 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 04:02:28.234] [INFO ] gRPC Server running                                     | 📍 main.go:375 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-20 05:16:41.122] [ERROR] HTTP error occurred                                     | 📍 http.go:116 | category: unauthorized | environment: debug | error_code: UNAUTHORIZED | ⚙️ service/pkg/errors.LogHTTPError | http_status: 401 | metadata: map[reason:map[provider_errors:map[jwt:invalid token keycloak:token expired] severity:warning timestamp:2026-04-20T05:16:41Z] timestamp:2026-04-20T05:16:41Z] | method: POST | path: /api/v1/satusehat/reference/kyc/generate-url | service: service-general
[2026-04-20 05:16:41.124] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 6.110995ms | method: POST | path: /api/v1/satusehat/reference/kyc/generate-url | request_id: adb99263-b4d3-4897-8f6f-8c8a60339c2d | service: service-general | status: 401 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-20 05:17:11.759] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 1.1856ms | method: POST | path: /api/v1/auth/login | request_id: d9d012e0-eadc-4397-bccb-bd150a9e96e1 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-20 05:17:14.995] [INFO ] 🔑 SatuSehat Access Token refreshed successfully         | 📍 client.go:124 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).GetAccessToken | service: service-general
[2026-04-20 05:17:14.996] [INFO ] 🛫 SatuSehat API Request Sent                            | 📍 client.go:194 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).do | method: POST | service: service-general | target_url: https://api-satusehat.dto.kemkes.go.id/kyc/v1/generate-url
[2026-04-20 05:17:16.928] [ERROR] HTTP error occurred                                     | 📍 http.go:116 | category: internal | environment: debug | error_code: INTERNAL_ERROR | ⚙️ service/pkg/errors.LogHTTPError | http_status: 500 | metadata: map[reason:map[severity:error timestamp:2026-04-20T05:17:16Z] timestamp:2026-04-20T05:17:16Z] | method: POST | path: /api/v1/satusehat/reference/kyc/generate-url | service: service-general
[2026-04-20 05:17:16.928] [ERROR] HTTP Request                                            | 📍 middleware.go:173 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 2.130253196s | method: POST | path: /api/v1/satusehat/reference/kyc/generate-url | request_id: dafb9c88-649d-481e-93c5-80df30c11228 | service: service-general | status: 500 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-20 05:18:58.117] [INFO ] Application starting                                    | 📍 main.go:91 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-20 05:18:58.117] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:106 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-20 05:18:58.117] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:118 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 05:18:58.118] [INFO ] Initializing database service with GORM as primary abstraction... | 📍 database.go:192 | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 05:18:58.134] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 05:18:58.134] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 05:18:58.143] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 05:18:58.143] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 05:18:58.150] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 05:18:58.150] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 05:18:58.152] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 05:18:58.152] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 05:18:58.174] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 05:18:58.175] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 05:18:58.177] [INFO ] Cache initialized                                       | 📍 main.go:151 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-20 05:18:58.178] [INFO ] Creating authentication providers                       | auth_type: hybrid | 📍 provider.go:69 | environment: debug | fallback_to: jwt | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | keycloak_enabled: true | keycloak_issuer: https://auth.rssa.top/realms/Dev | service: service-general | static_tokens_len: 4
[2026-04-20 05:18:58.178] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-20 05:18:58.179] [INFO ] REST API running                                        | 📍 main.go:348 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-20 05:18:58.180] [INFO ] Application started successfully                        | 📍 main.go:409 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 05:18:58.180] [INFO ] gRPC Server running                                     | 📍 main.go:375 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-20 05:19:03.498] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 2.669753ms | method: POST | path: /api/v1/auth/login | request_id: d5ab6dfa-c9f2-42dc-8d95-503f0678db1d | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-20 05:19:22.284] [INFO ] 🔑 SatuSehat Access Token refreshed successfully         | 📍 client.go:124 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).GetAccessToken | service: service-general
[2026-04-20 05:19:22.284] [INFO ] 🛫 SatuSehat API Request Sent                            | 📍 client.go:194 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).do | method: POST | service: service-general | target_url: https://api-satusehat-stg.dto.kemkes.go.id/kyc/v1/generate-url/generate-url
[2026-04-20 05:19:22.446] [WARNI] 🔄 Token Satu Sehat ditolak (401). Melakukan Auto-Refresh dan mengulang request... | 📍 client.go:209 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).do | service: service-general
[2026-04-20 05:19:22.558] [INFO ] 🔑 SatuSehat Access Token refreshed successfully         | 📍 client.go:124 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).GetAccessToken | service: service-general
[2026-04-20 05:19:22.629] [ERROR] SatuSehat API Error                                     | 📍 client.go:244 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).do | response: {"fault":{"faultstring":"Invalid API call as no apiproduct match found","detail":{"errorcode":"keymanagement.service.InvalidAPICallAsNoApiProductMatchFound"}}} | service: service-general | status_code: 401
[2026-04-20 05:19:22.630] [ERROR] HTTP error occurred                                     | 📍 http.go:116 | category: internal | environment: debug | error_code: INTERNAL_ERROR | ⚙️ service/pkg/errors.LogHTTPError | http_status: 500 | metadata: map[reason:map[severity:error timestamp:2026-04-20T05:19:22Z] timestamp:2026-04-20T05:19:22Z] | method: POST | path: /api/v1/satusehat/reference/kyc/generate-url | service: service-general
[2026-04-20 05:19:22.630] [ERROR] HTTP Request                                            | 📍 middleware.go:173 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 533.594153ms | method: POST | path: /api/v1/satusehat/reference/kyc/generate-url | request_id: 0e2d1f6d-c799-4364-99be-a63088018cf4 | service: service-general | status: 500 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-20 05:20:46.563] [INFO ] 🛫 SatuSehat API Request Sent                            | 📍 client.go:194 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).do | method: GET | service: service-general | target_url: https://api-satusehat.kemkes.go.id/fhir-r4/v1/Location/e95ef6c7-21fe-4aff-86ad-d279984e380d
[2026-04-20 05:20:46.779] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 216.386163ms | method: GET | path: /api/v1/satusehat/reference/location/e95ef6c7-21fe-4aff-86ad-d279984e380d | request_id: 6e401b18-c750-438b-bc3e-bc384556ce7c | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-20 05:20:52.387] [INFO ] 🛫 SatuSehat API Request Sent                            | 📍 client.go:194 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).do | method: POST | service: service-general | target_url: https://api-satusehat-stg.dto.kemkes.go.id/kyc/v1/generate-url/generate-url
[2026-04-20 05:20:52.445] [WARNI] 🔄 Token Satu Sehat ditolak (401). Melakukan Auto-Refresh dan mengulang request... | 📍 client.go:209 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).do | service: service-general
[2026-04-20 05:20:52.555] [INFO ] 🔑 SatuSehat Access Token refreshed successfully         | 📍 client.go:124 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).GetAccessToken | service: service-general
[2026-04-20 05:20:52.613] [ERROR] SatuSehat API Error                                     | 📍 client.go:244 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).do | response: {"fault":{"faultstring":"Invalid API call as no apiproduct match found","detail":{"errorcode":"keymanagement.service.InvalidAPICallAsNoApiProductMatchFound"}}} | service: service-general | status_code: 401
[2026-04-20 05:20:52.613] [ERROR] HTTP error occurred                                     | 📍 http.go:116 | category: internal | environment: debug | error_code: INTERNAL_ERROR | ⚙️ service/pkg/errors.LogHTTPError | http_status: 500 | metadata: map[reason:map[severity:error timestamp:2026-04-20T05:20:52Z] timestamp:2026-04-20T05:20:52Z] | method: POST | path: /api/v1/satusehat/reference/kyc/generate-url | service: service-general
[2026-04-20 05:20:52.614] [ERROR] HTTP Request                                            | 📍 middleware.go:173 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 227.162754ms | method: POST | path: /api/v1/satusehat/reference/kyc/generate-url | request_id: 0ae0014f-e89c-4b5f-b387-6adec878460d | service: service-general | status: 500 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-20 05:23:20.901] [INFO ] Application starting                                    | 📍 main.go:91 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-20 05:23:20.901] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:106 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-20 05:23:20.901] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:118 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 05:23:20.901] [INFO ] Initializing database service with GORM as primary abstraction... | 📍 database.go:192 | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 05:23:20.904] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 05:23:20.904] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 05:23:20.927] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 05:23:20.927] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 05:23:20.944] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 05:23:20.944] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 05:23:20.954] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 05:23:20.954] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 05:23:20.961] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 05:23:20.961] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 05:23:20.964] [INFO ] Cache initialized                                       | 📍 main.go:151 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-20 05:23:20.965] [INFO ] Creating authentication providers                       | auth_type: hybrid | 📍 provider.go:69 | environment: debug | fallback_to: jwt | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | keycloak_enabled: true | keycloak_issuer: https://auth.rssa.top/realms/Dev | service: service-general | static_tokens_len: 4
[2026-04-20 05:23:20.965] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-20 05:23:20.967] [INFO ] REST API running                                        | 📍 main.go:348 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-20 05:23:20.967] [INFO ] Application started successfully                        | 📍 main.go:409 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 05:23:20.967] [INFO ] gRPC Server running                                     | 📍 main.go:375 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-20 05:23:52.480] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 2.185941ms | method: POST | path: /api/v1/auth/login | request_id: 200847f0-0d0f-4834-ac7f-77b84c8064ff | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-20 05:23:55.572] [INFO ] 🔑 SatuSehat Access Token refreshed successfully         | 📍 client.go:124 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).GetAccessToken | service: service-general
[2026-04-20 05:23:55.572] [INFO ] 🛫 SatuSehat API Request Sent                            | 📍 client.go:194 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).do | method: POST | service: service-general | target_url: https://api-satusehat.dto.kemkes.go.id/kyc/v1/generate-url
[2026-04-20 05:23:55.620] [ERROR] HTTP error occurred                                     | 📍 http.go:116 | category: internal | environment: debug | error_code: INTERNAL_ERROR | ⚙️ service/pkg/errors.LogHTTPError | http_status: 500 | metadata: map[reason:map[severity:error timestamp:2026-04-20T05:23:55Z] timestamp:2026-04-20T05:23:55Z] | method: POST | path: /api/v1/satusehat/reference/kyc/generate-url | service: service-general
[2026-04-20 05:23:55.621] [ERROR] HTTP Request                                            | 📍 middleware.go:173 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 240.734502ms | method: POST | path: /api/v1/satusehat/reference/kyc/generate-url | request_id: 207f93b9-5ff1-45e6-93e1-3522895539a5 | service: service-general | status: 500 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-20 05:28:20.040] [INFO ] Application starting                                    | 📍 main.go:91 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-20 05:28:20.040] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:106 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-20 05:28:20.040] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:118 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 05:28:20.040] [INFO ] Initializing database service with GORM as primary abstraction... | 📍 database.go:192 | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 05:28:20.055] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 05:28:20.055] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 05:28:20.065] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 05:28:20.065] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 05:28:20.072] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 05:28:20.072] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 05:28:20.074] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 05:28:20.074] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 05:28:20.097] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 05:28:20.097] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 05:28:20.100] [INFO ] Cache initialized                                       | 📍 main.go:151 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-20 05:28:20.101] [INFO ] Creating authentication providers                       | auth_type: hybrid | 📍 provider.go:69 | environment: debug | fallback_to: jwt | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | keycloak_enabled: true | keycloak_issuer: https://auth.rssa.top/realms/Dev | service: service-general | static_tokens_len: 4
[2026-04-20 05:28:20.101] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-20 05:28:20.102] [INFO ] REST API running                                        | 📍 main.go:348 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-20 05:28:20.103] [INFO ] Application started successfully                        | 📍 main.go:409 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 05:28:20.103] [INFO ] gRPC Server running                                     | 📍 main.go:375 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-20 05:28:40.193] [INFO ] 🔑 SatuSehat Access Token refreshed successfully         | 📍 client.go:124 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).GetAccessToken | service: service-general
[2026-04-20 05:28:40.193] [INFO ] 🛫 SatuSehat API Request Sent                            | 📍 client.go:194 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).do | method: POST | service: service-general | target_url: https://api-satusehat.kemkes.go.id/kyc/v1/generate-url
[2026-04-20 05:28:40.352] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 358.287741ms | method: POST | path: /api/v1/satusehat/reference/kyc/generate-url | request_id: cca41371-d6f2-43ca-aded-e3f6de2fcb6d | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-20 05:29:03.735] [INFO ] 🛫 SatuSehat API Request Sent                            | 📍 client.go:194 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).do | method: POST | service: service-general | target_url: https://api-satusehat.kemkes.go.id/kyc/v1/generate-url
[2026-04-20 05:29:03.851] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 117.045604ms | method: POST | path: /api/v1/satusehat/reference/kyc/generate-url | request_id: ee5f6d55-aacc-413a-9487-b8e225d20bdd | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-20 05:31:32.464] [INFO ] Application starting                                    | 📍 main.go:91 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-20 05:31:32.465] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:106 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-20 05:31:32.465] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:118 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 05:31:32.465] [INFO ] Initializing database service with GORM as primary abstraction... | 📍 database.go:192 | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 05:31:32.476] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 05:31:32.476] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 05:31:32.484] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 05:31:32.484] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 05:31:32.491] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 05:31:32.491] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 05:31:32.493] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 05:31:32.493] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 05:31:32.514] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 05:31:32.514] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 05:31:32.516] [INFO ] Cache initialized                                       | 📍 main.go:151 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-20 05:31:32.517] [INFO ] Creating authentication providers                       | auth_type: hybrid | 📍 provider.go:69 | environment: debug | fallback_to: jwt | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | keycloak_enabled: true | keycloak_issuer: https://auth.rssa.top/realms/Dev | service: service-general | static_tokens_len: 4
[2026-04-20 05:31:32.517] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-20 05:31:32.518] [INFO ] REST API running                                        | 📍 main.go:348 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-20 05:31:32.519] [INFO ] Application started successfully                        | 📍 main.go:409 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 05:31:32.519] [INFO ] gRPC Server running                                     | 📍 main.go:375 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-20 05:32:22.323] [ERROR] HTTP error occurred                                     | 📍 http.go:116 | category: validation | environment: debug | error_code: INVALID_INPUT | ⚙️ service/pkg/errors.LogHTTPError | http_status: 400 | metadata: map[reason:Key: 'GenerateURLRequest.PublicKey' Error:Field validation for 'PublicKey' failed on the 'required' tag timestamp:2026-04-20T05:32:22Z] | method: POST | path: /api/v1/satusehat/reference/kyc/generate-url | service: service-general
[2026-04-20 05:32:22.324] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 2.23168ms | method: POST | path: /api/v1/satusehat/reference/kyc/generate-url | request_id: bcf83891-f14d-42b7-9da1-d7d6c82fabf5 | service: service-general | status: 400 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-20 05:32:47.877] [ERROR] HTTP error occurred                                     | 📍 http.go:116 | category: validation | environment: debug | error_code: INVALID_INPUT | ⚙️ service/pkg/errors.LogHTTPError | http_status: 400 | metadata: map[reason:Key: 'GenerateURLRequest.PublicKey' Error:Field validation for 'PublicKey' failed on the 'required' tag timestamp:2026-04-20T05:32:47Z] | method: POST | path: /api/v1/satusehat/reference/kyc/generate-url | service: service-general
[2026-04-20 05:32:47.877] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 700.667µs | method: POST | path: /api/v1/satusehat/reference/kyc/generate-url | request_id: 02197ef3-7d47-4154-b289-9fdb6911dd94 | service: service-general | status: 400 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-20 05:34:39.759] [INFO ] Application starting                                    | 📍 main.go:91 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-20 05:34:39.760] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:106 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-20 05:34:39.760] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:118 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 05:34:39.760] [INFO ] Initializing database service with GORM as primary abstraction... | 📍 database.go:192 | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 05:34:39.781] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 05:34:39.781] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 05:34:39.790] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 05:34:39.790] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 05:34:39.801] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 05:34:39.801] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 05:34:39.808] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 05:34:39.808] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 05:34:39.809] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 05:34:39.809] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 05:34:39.811] [INFO ] Cache initialized                                       | 📍 main.go:151 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-20 05:34:39.812] [INFO ] Creating authentication providers                       | auth_type: hybrid | 📍 provider.go:69 | environment: debug | fallback_to: jwt | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | keycloak_enabled: true | keycloak_issuer: https://auth.rssa.top/realms/Dev | service: service-general | static_tokens_len: 4
[2026-04-20 05:34:39.812] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-20 05:34:39.813] [INFO ] Application started successfully                        | 📍 main.go:409 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 05:34:39.813] [INFO ] REST API running                                        | 📍 main.go:348 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-20 05:34:39.814] [INFO ] gRPC Server running                                     | 📍 main.go:375 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-20 05:34:46.181] [INFO ] Application starting                                    | 📍 main.go:91 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-20 05:34:46.181] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:106 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-20 05:34:46.181] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:118 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 05:34:46.182] [INFO ] Initializing database service with GORM as primary abstraction... | 📍 database.go:192 | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 05:34:46.189] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 05:34:46.189] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 05:34:46.196] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 05:34:46.196] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 05:34:46.198] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 05:34:46.198] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 05:34:46.216] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 05:34:46.216] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 05:34:46.223] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 05:34:46.224] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 05:34:46.225] [INFO ] Cache initialized                                       | 📍 main.go:151 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-20 05:34:46.225] [INFO ] Creating authentication providers                       | auth_type: hybrid | 📍 provider.go:69 | environment: debug | fallback_to: jwt | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | keycloak_enabled: true | keycloak_issuer: https://auth.rssa.top/realms/Dev | service: service-general | static_tokens_len: 4
[2026-04-20 05:34:46.225] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-20 05:34:46.226] [INFO ] Application started successfully                        | 📍 main.go:409 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 05:34:46.226] [INFO ] gRPC Server running                                     | 📍 main.go:375 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-20 05:34:46.226] [INFO ] REST API running                                        | 📍 main.go:348 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-20 05:34:48.173] [INFO ] Application starting                                    | 📍 main.go:91 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-20 05:34:48.173] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:106 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-20 05:34:48.173] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:118 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 05:34:48.173] [INFO ] Initializing database service with GORM as primary abstraction... | 📍 database.go:192 | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 05:34:48.175] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 05:34:48.175] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 05:34:48.195] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 05:34:48.196] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 05:34:48.205] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 05:34:48.205] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 05:34:48.214] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 05:34:48.214] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 05:34:48.221] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 05:34:48.221] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 05:34:48.222] [INFO ] Cache initialized                                       | 📍 main.go:151 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-20 05:34:48.223] [INFO ] Creating authentication providers                       | auth_type: hybrid | 📍 provider.go:69 | environment: debug | fallback_to: jwt | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | keycloak_enabled: true | keycloak_issuer: https://auth.rssa.top/realms/Dev | service: service-general | static_tokens_len: 4
[2026-04-20 05:34:48.223] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-20 05:34:48.224] [INFO ] Application started successfully                        | 📍 main.go:409 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 05:34:48.224] [INFO ] gRPC Server running                                     | 📍 main.go:375 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-20 05:34:48.224] [INFO ] REST API running                                        | 📍 main.go:348 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-20 05:34:50.331] [INFO ] Application starting                                    | 📍 main.go:91 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-20 05:34:50.332] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:106 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-20 05:34:50.332] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:118 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 05:34:50.332] [INFO ] Initializing database service with GORM as primary abstraction... | 📍 database.go:192 | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 05:34:50.350] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 05:34:50.350] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 05:34:50.358] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 05:34:50.358] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 05:34:50.365] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 05:34:50.365] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 05:34:50.372] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 05:34:50.372] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 05:34:50.373] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 05:34:50.373] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 05:34:50.375] [INFO ] Cache initialized                                       | 📍 main.go:151 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-20 05:34:50.375] [INFO ] Creating authentication providers                       | auth_type: hybrid | 📍 provider.go:69 | environment: debug | fallback_to: jwt | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | keycloak_enabled: true | keycloak_issuer: https://auth.rssa.top/realms/Dev | service: service-general | static_tokens_len: 4
[2026-04-20 05:34:50.375] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-20 05:34:50.376] [INFO ] Application started successfully                        | 📍 main.go:409 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 05:34:50.376] [INFO ] gRPC Server running                                     | 📍 main.go:375 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-20 05:34:50.377] [INFO ] REST API running                                        | 📍 main.go:348 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-20 05:35:45.041] [INFO ] Application starting                                    | 📍 main.go:91 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-20 05:35:45.041] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:106 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-20 05:35:45.041] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:118 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 05:35:45.041] [INFO ] Initializing database service with GORM as primary abstraction... | 📍 database.go:192 | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 05:35:45.049] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 05:35:45.049] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 05:35:45.056] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 05:35:45.056] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 05:35:45.062] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 05:35:45.062] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 05:35:45.064] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 05:35:45.064] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 05:35:45.082] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 05:35:45.082] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 05:35:45.083] [INFO ] Cache initialized                                       | 📍 main.go:151 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-20 05:35:45.084] [INFO ] Creating authentication providers                       | auth_type: hybrid | 📍 provider.go:69 | environment: debug | fallback_to: jwt | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | keycloak_enabled: true | keycloak_issuer: https://auth.rssa.top/realms/Dev | service: service-general | static_tokens_len: 4
[2026-04-20 05:35:45.084] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-20 05:35:45.084] [INFO ] Application started successfully                        | 📍 main.go:409 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 05:35:45.085] [INFO ] gRPC Server running                                     | 📍 main.go:375 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-20 05:35:45.085] [INFO ] REST API running                                        | 📍 main.go:348 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-20 05:35:52.980] [INFO ] Application starting                                    | 📍 main.go:91 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-20 05:35:52.980] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:106 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-20 05:35:52.980] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:118 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 05:35:52.980] [INFO ] Initializing database service with GORM as primary abstraction... | 📍 database.go:192 | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 05:35:53.002] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 05:35:53.002] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 05:35:53.010] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 05:35:53.010] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 05:35:53.017] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 05:35:53.017] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 05:35:53.024] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 05:35:53.024] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 05:35:53.025] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 05:35:53.025] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 05:35:53.027] [INFO ] Cache initialized                                       | 📍 main.go:151 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-20 05:35:53.027] [INFO ] Creating authentication providers                       | auth_type: hybrid | 📍 provider.go:69 | environment: debug | fallback_to: jwt | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | keycloak_enabled: true | keycloak_issuer: https://auth.rssa.top/realms/Dev | service: service-general | static_tokens_len: 4
[2026-04-20 05:35:53.027] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-20 05:35:53.028] [INFO ] Application started successfully                        | 📍 main.go:409 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 05:35:53.028] [INFO ] gRPC Server running                                     | 📍 main.go:375 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-20 05:35:53.029] [INFO ] REST API running                                        | 📍 main.go:348 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-20 05:36:22.264] [INFO ] Application starting                                    | 📍 main.go:91 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-20 05:36:22.265] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:106 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-20 05:36:22.265] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:118 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 05:36:22.265] [INFO ] Initializing database service with GORM as primary abstraction... | 📍 database.go:192 | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 05:36:22.276] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 05:36:22.276] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 05:36:22.278] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 05:36:22.278] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 05:36:22.297] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 05:36:22.297] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 05:36:22.307] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 05:36:22.307] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 05:36:22.315] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 05:36:22.315] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 05:36:22.317] [INFO ] Cache initialized                                       | 📍 main.go:151 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-20 05:36:22.317] [INFO ] Creating authentication providers                       | auth_type: hybrid | 📍 provider.go:69 | environment: debug | fallback_to: jwt | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | keycloak_enabled: true | keycloak_issuer: https://auth.rssa.top/realms/Dev | service: service-general | static_tokens_len: 4
[2026-04-20 05:36:22.317] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-20 05:36:22.318] [INFO ] Application started successfully                        | 📍 main.go:409 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 05:36:22.318] [INFO ] gRPC Server running                                     | 📍 main.go:375 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-20 05:36:22.318] [INFO ] REST API running                                        | 📍 main.go:348 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-20 05:36:31.004] [INFO ] Application starting                                    | 📍 main.go:91 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-20 05:36:31.004] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:106 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-20 05:36:31.005] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:118 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 05:36:31.005] [INFO ] Initializing database service with GORM as primary abstraction... | 📍 database.go:192 | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 05:36:31.015] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 05:36:31.015] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 05:36:31.022] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 05:36:31.022] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 05:36:31.030] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 05:36:31.030] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 05:36:31.032] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 05:36:31.032] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 05:36:31.051] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 05:36:31.051] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 05:36:31.053] [INFO ] Cache initialized                                       | 📍 main.go:151 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-20 05:36:31.054] [INFO ] Creating authentication providers                       | auth_type: hybrid | 📍 provider.go:69 | environment: debug | fallback_to: jwt | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | keycloak_enabled: true | keycloak_issuer: https://auth.rssa.top/realms/Dev | service: service-general | static_tokens_len: 4
[2026-04-20 05:36:31.054] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-20 05:36:31.055] [INFO ] REST API running                                        | 📍 main.go:348 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-20 05:36:31.056] [INFO ] Application started successfully                        | 📍 main.go:409 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 05:36:31.056] [INFO ] gRPC Server running                                     | 📍 main.go:375 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-20 05:36:35.536] [INFO ] 🔑 SatuSehat Access Token refreshed successfully         | 📍 client.go:124 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).GetAccessToken | service: service-general
[2026-04-20 05:36:35.537] [INFO ] 🛫 SatuSehat API Request Sent                            | 📍 client.go:194 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).do | method: POST | service: service-general | target_url: https://api-satusehat.kemkes.go.id/kyc/v1/generate-url
[2026-04-20 05:36:35.685] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 360.638678ms | method: POST | path: /api/v1/satusehat/reference/kyc/generate-url | request_id: 575ad159-d852-464e-94cc-1d0ef58e5ff2 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-20 05:45:43.197] [INFO ] Application starting                                    | 📍 main.go:91 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-20 05:45:43.197] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:106 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-20 05:45:43.197] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:118 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 05:45:43.197] [INFO ] Initializing database service with GORM as primary abstraction... | 📍 database.go:192 | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 05:45:43.240] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 05:45:43.240] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 05:45:43.249] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 05:45:43.249] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 05:45:43.258] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 05:45:43.258] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 05:45:43.260] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 05:45:43.260] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 05:45:43.284] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 05:45:43.284] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 05:45:43.287] [INFO ] Cache initialized                                       | 📍 main.go:151 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-20 05:45:43.288] [INFO ] Creating authentication providers                       | auth_type: hybrid | 📍 provider.go:69 | environment: debug | fallback_to: jwt | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | keycloak_enabled: true | keycloak_issuer: https://auth.rssa.top/realms/Dev | service: service-general | static_tokens_len: 4
[2026-04-20 05:45:43.288] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-20 05:45:43.289] [INFO ] REST API running                                        | 📍 main.go:348 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-20 05:45:43.289] [INFO ] Application started successfully                        | 📍 main.go:409 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 05:45:43.289] [INFO ] gRPC Server running                                     | 📍 main.go:375 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-20 05:45:48.155] [INFO ] 🔑 SatuSehat Access Token refreshed successfully         | 📍 client.go:124 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).GetAccessToken | service: service-general
[2026-04-20 05:45:48.155] [INFO ] 🛫 SatuSehat API Request Sent                            | 📍 client.go:194 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).do | method: POST | service: service-general | target_url: https://api-satusehat.kemkes.go.id/kyc/v1/generate-url
[2026-04-20 05:45:48.303] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 648.48523ms | method: POST | path: /api/v1/satusehat/reference/kyc/generate-url | request_id: 5a4ace77-f8f4-4b6c-8c2b-b4870ed79489 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-20 05:45:51.121] [INFO ] 🛫 SatuSehat API Request Sent                            | 📍 client.go:194 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).do | method: POST | service: service-general | target_url: https://api-satusehat.kemkes.go.id/kyc/v1/generate-url
[2026-04-20 05:45:51.274] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 517.035341ms | method: POST | path: /api/v1/satusehat/reference/kyc/generate-url | request_id: 9fe5837b-22b9-49a4-a29b-2e12fca34414 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-20 05:46:21.163] [INFO ] 🛫 SatuSehat API Request Sent                            | 📍 client.go:194 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).do | method: POST | service: service-general | target_url: https://api-satusehat.kemkes.go.id/kyc/v1/generate-url
[2026-04-20 05:46:21.321] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 270.845432ms | method: POST | path: /api/v1/satusehat/reference/kyc/generate-url | request_id: c1aa98ac-4e81-47f4-a70d-85a9a4d8f0d5 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-20 05:50:49.080] [INFO ] Application starting                                    | 📍 main.go:91 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-20 05:50:49.080] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:106 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-20 05:50:49.081] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:118 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 05:50:49.081] [INFO ] Initializing database service with GORM as primary abstraction... | 📍 database.go:192 | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 05:50:49.102] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 05:50:49.102] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 05:50:49.115] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 05:50:49.115] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 05:50:49.123] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 05:50:49.123] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 05:50:49.130] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 05:50:49.130] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 05:50:49.132] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 05:50:49.132] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 05:50:49.135] [INFO ] Cache initialized                                       | 📍 main.go:151 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-20 05:50:49.136] [INFO ] Creating authentication providers                       | auth_type: hybrid | 📍 provider.go:69 | environment: debug | fallback_to: jwt | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | keycloak_enabled: true | keycloak_issuer: https://auth.rssa.top/realms/Dev | service: service-general | static_tokens_len: 4
[2026-04-20 05:50:49.136] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-20 05:50:49.137] [INFO ] Application started successfully                        | 📍 main.go:409 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 05:50:49.137] [INFO ] REST API running                                        | 📍 main.go:348 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-20 05:50:49.137] [INFO ] gRPC Server running                                     | 📍 main.go:375 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-20 05:50:52.368] [INFO ] 🔑 SatuSehat Access Token refreshed successfully         | 📍 client.go:124 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).GetAccessToken | service: service-general
[2026-04-20 05:50:52.368] [INFO ] 🛫 SatuSehat API Request Sent                            | 📍 client.go:194 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).do | method: POST | service: service-general | target_url: https://api-satusehat.kemkes.go.id/kyc/v1/generate-url
[2026-04-20 05:50:52.521] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 509.991404ms | method: POST | path: /api/v1/satusehat/reference/kyc/generate-url | request_id: ccc5567a-d12a-488a-aa4c-92fe253d69a2 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-20 07:23:49.474] [ERROR] HTTP error occurred                                     | 📍 http.go:116 | category: unauthorized | environment: debug | error_code: UNAUTHORIZED | ⚙️ service/pkg/errors.LogHTTPError | http_status: 401 | metadata: map[reason:map[provider_errors:map[jwt:invalid token keycloak:token expired] severity:warning timestamp:2026-04-20T07:23:49Z] timestamp:2026-04-20T07:23:49Z] | method: POST | path: /api/v1/satusehat/reference/kyc/generate-url | service: service-general
[2026-04-20 07:23:49.476] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 4.238058ms | method: POST | path: /api/v1/satusehat/reference/kyc/generate-url | request_id: 1a383d33-f0fe-4f42-a844-c880a725e8e9 | service: service-general | status: 401 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-20 07:24:01.700] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 911.346µs | method: POST | path: /api/v1/auth/login | request_id: 938d258b-db7a-4aaf-8444-89f9a9911e85 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-20 07:24:05.604] [INFO ] 🛫 SatuSehat API Request Sent                            | 📍 client.go:194 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).do | method: GET | service: service-general | target_url: https://api-satusehat.kemkes.go.id/fhir-r4/v1/Location/e95ef6c7-21fe-4aff-86ad-d279984e380d
[2026-04-20 07:24:05.794] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 189.927955ms | method: GET | path: /api/v1/satusehat/reference/location/e95ef6c7-21fe-4aff-86ad-d279984e380d | request_id: 7c8a70ba-3af3-43a4-900c-e6a3f6e06d74 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-20 07:24:08.351] [INFO ] 🛫 SatuSehat API Request Sent                            | 📍 client.go:194 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).do | method: POST | service: service-general | target_url: https://api-satusehat.kemkes.go.id/kyc/v1/generate-url
[2026-04-20 07:24:08.471] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 236.717287ms | method: POST | path: /api/v1/satusehat/reference/kyc/generate-url | request_id: a76919e2-0cbc-4d33-8216-34aebfa664a4 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-20 07:24:21.313] [INFO ] Application starting                                    | 📍 main.go:91 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-20 07:24:21.313] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:106 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-20 07:24:21.314] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:118 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 07:24:21.314] [INFO ] Initializing database service with GORM as primary abstraction... | 📍 database.go:192 | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 07:24:21.329] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 07:24:21.330] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 07:24:21.341] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 07:24:21.341] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 07:24:21.349] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 07:24:21.349] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 07:24:21.355] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 07:24:21.356] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 07:24:21.357] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 07:24:21.357] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 07:24:21.359] [INFO ] Cache initialized                                       | 📍 main.go:151 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-20 07:24:21.361] [INFO ] Creating authentication providers                       | auth_type: hybrid | 📍 provider.go:69 | environment: debug | fallback_to: jwt | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | keycloak_enabled: true | keycloak_issuer: https://auth.rssa.top/realms/Dev | service: service-general | static_tokens_len: 4
[2026-04-20 07:24:21.361] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-20 07:24:21.362] [INFO ] REST API running                                        | 📍 main.go:348 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-20 07:24:21.362] [INFO ] Application started successfully                        | 📍 main.go:409 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 07:24:21.363] [INFO ] gRPC Server running                                     | 📍 main.go:375 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-20 07:24:27.773] [ERROR] SatuSehat Auth Error                                    | 📍 client.go:90 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).GetAccessToken | response: 
                {
                    "resourceType": "OperationOutcome",
                    "issue": [
                        {
                            "severity": "transient",
                            "code": "throttled",
                            "details": {
                                "text": "Authentication temporarily cannot be performed due to the rate limit policy. Rate limit: 1 request per minute after a failed attempt."
                            }
                        }
                    ]
                }
             | service: service-general | status: 429
[2026-04-20 07:24:27.774] [ERROR] HTTP error occurred                                     | 📍 http.go:116 | category: internal | environment: debug | error_code: INTERNAL_ERROR | ⚙️ service/pkg/errors.LogHTTPError | http_status: 500 | metadata: map[reason:map[severity:error timestamp:2026-04-20T07:24:27Z] timestamp:2026-04-20T07:24:27Z] | method: POST | path: /api/v1/satusehat/reference/kyc/generate-url | service: service-general
[2026-04-20 07:24:27.774] [ERROR] HTTP Request                                            | 📍 middleware.go:173 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 315.628351ms | method: POST | path: /api/v1/satusehat/reference/kyc/generate-url | request_id: 639676fe-766e-4cdf-8a8f-350e9b402782 | service: service-general | status: 500 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-20 07:24:38.521] [ERROR] SatuSehat Auth Error                                    | 📍 client.go:90 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).GetAccessToken | response: 
                {
                    "resourceType": "OperationOutcome",
                    "issue": [
                        {
                            "severity": "transient",
                            "code": "throttled",
                            "details": {
                                "text": "Authentication temporarily cannot be performed due to the rate limit policy. Rate limit: 1 request per minute after a failed attempt."
                            }
                        }
                    ]
                }
             | service: service-general | status: 429
[2026-04-20 07:24:38.521] [ERROR] HTTP error occurred                                     | 📍 http.go:116 | category: internal | environment: debug | error_code: INTERNAL_ERROR | ⚙️ service/pkg/errors.LogHTTPError | http_status: 500 | metadata: map[reason:map[severity:error timestamp:2026-04-20T07:24:38Z] timestamp:2026-04-20T07:24:38Z] | method: POST | path: /api/v1/satusehat/reference/kyc/generate-url | service: service-general
[2026-04-20 07:24:38.521] [ERROR] HTTP Request                                            | 📍 middleware.go:173 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 243.014703ms | method: POST | path: /api/v1/satusehat/reference/kyc/generate-url | request_id: 340c4407-9cdc-4111-939a-94c9ebfe1d57 | service: service-general | status: 500 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-20 07:25:28.242] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 503.628µs | method: GET | path: /api/v1/satusehat/medication | request_id: 2a91843a-1fdd-4599-917e-3df9b9f7b122 | service: service-general | status: 401 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-20 07:26:54.666] [INFO ] Application starting                                    | 📍 main.go:91 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-20 07:26:54.666] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:106 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-20 07:26:54.667] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:118 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 07:26:54.667] [INFO ] Initializing database service with GORM as primary abstraction... | 📍 database.go:192 | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 07:26:54.687] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 07:26:54.687] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 07:26:54.697] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 07:26:54.697] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 07:26:54.704] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 07:26:54.704] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 07:26:54.711] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 07:26:54.711] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 07:26:54.712] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 07:26:54.712] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 07:26:54.715] [INFO ] Cache initialized                                       | 📍 main.go:151 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-20 07:26:54.715] [INFO ] Creating authentication providers                       | auth_type: hybrid | 📍 provider.go:69 | environment: debug | fallback_to: jwt | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | keycloak_enabled: true | keycloak_issuer: https://auth.rssa.top/realms/Dev | service: service-general | static_tokens_len: 4
[2026-04-20 07:26:54.715] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-20 07:26:54.717] [INFO ] REST API running                                        | 📍 main.go:348 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-20 07:26:54.717] [INFO ] Application started successfully                        | 📍 main.go:409 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 07:26:54.717] [INFO ] gRPC Server running                                     | 📍 main.go:375 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-20 07:28:42.676] [INFO ] 🔑 SatuSehat Access Token refreshed successfully         | 📍 client.go:134 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).GetAccessToken | service: service-general
[2026-04-20 07:28:42.676] [INFO ] 🛫 SatuSehat API Request Sent                            | 📍 client.go:204 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).do | method: POST | service: service-general | target_url: https://api-satusehat.kemkes.go.id/kyc/v1/generate-url
[2026-04-20 07:28:42.792] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 465.517814ms | method: POST | path: /api/v1/satusehat/reference/kyc/generate-url | request_id: 26b0fa8f-458b-4a0a-a396-6111cfb5fca4 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-20 07:35:58.354] [INFO ] Application starting                                    | 📍 main.go:91 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-20 07:35:58.355] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:106 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-20 07:35:58.355] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:118 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 07:35:58.355] [INFO ] Initializing database service with GORM as primary abstraction... | 📍 database.go:192 | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 07:35:58.365] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 07:35:58.365] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 07:35:58.373] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 07:35:58.373] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 07:35:58.375] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 07:35:58.375] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 07:35:58.395] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 07:35:58.395] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 07:35:58.403] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 07:35:58.404] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 07:35:58.405] [INFO ] Cache initialized                                       | 📍 main.go:151 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-20 07:35:58.406] [INFO ] Creating authentication providers                       | auth_type: hybrid | 📍 provider.go:69 | environment: debug | fallback_to: jwt | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | keycloak_enabled: true | keycloak_issuer: https://auth.rssa.top/realms/Dev | service: service-general | static_tokens_len: 4
[2026-04-20 07:35:58.406] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-20 07:35:58.407] [INFO ] Application started successfully                        | 📍 main.go:409 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 07:35:58.407] [INFO ] gRPC Server running                                     | 📍 main.go:375 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-20 07:35:58.407] [INFO ] REST API running                                        | 📍 main.go:348 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-20 07:39:35.358] [INFO ] Application starting                                    | 📍 main.go:91 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-20 07:39:35.358] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:106 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-20 07:39:35.358] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:118 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 07:39:35.358] [INFO ] Initializing database service with GORM as primary abstraction... | 📍 database.go:192 | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 07:39:35.366] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 07:39:35.366] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 07:39:35.368] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 07:39:35.368] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 07:39:35.387] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 07:39:35.387] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 07:39:35.397] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 07:39:35.397] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 07:39:35.407] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 07:39:35.407] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 07:39:35.409] [INFO ] Cache initialized                                       | 📍 main.go:151 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-20 07:39:35.409] [INFO ] Creating authentication providers                       | auth_type: hybrid | 📍 provider.go:69 | environment: debug | fallback_to: jwt | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | keycloak_enabled: true | keycloak_issuer: https://auth.rssa.top/realms/Dev | service: service-general | static_tokens_len: 4
[2026-04-20 07:39:35.410] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-20 07:39:35.410] [INFO ] Application started successfully                        | 📍 main.go:409 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 07:39:35.410] [INFO ] REST API running                                        | 📍 main.go:348 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-20 07:39:35.411] [INFO ] gRPC Server running                                     | 📍 main.go:375 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-20 07:39:37.379] [INFO ] Application starting                                    | 📍 main.go:91 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-20 07:39:37.380] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:106 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-20 07:39:37.380] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:118 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 07:39:37.380] [INFO ] Initializing database service with GORM as primary abstraction... | 📍 database.go:192 | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 07:39:37.388] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 07:39:37.388] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 07:39:37.396] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 07:39:37.396] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 07:39:37.403] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 07:39:37.403] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 07:39:37.404] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 07:39:37.404] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 07:39:37.425] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 07:39:37.425] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 07:39:37.427] [INFO ] Cache initialized                                       | 📍 main.go:151 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-20 07:39:37.427] [INFO ] Creating authentication providers                       | auth_type: hybrid | 📍 provider.go:69 | environment: debug | fallback_to: jwt | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | keycloak_enabled: true | keycloak_issuer: https://auth.rssa.top/realms/Dev | service: service-general | static_tokens_len: 4
[2026-04-20 07:39:37.427] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-20 07:39:37.428] [INFO ] Application started successfully                        | 📍 main.go:409 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 07:39:37.428] [INFO ] REST API running                                        | 📍 main.go:348 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-20 07:39:37.429] [INFO ] gRPC Server running                                     | 📍 main.go:375 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-20 07:40:57.786] [INFO ] Application starting                                    | 📍 main.go:91 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-20 07:40:57.786] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:106 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-20 07:40:57.786] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:118 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 07:40:57.786] [INFO ] Initializing database service with GORM as primary abstraction... | 📍 database.go:192 | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 07:40:57.794] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 07:40:57.794] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 07:40:57.796] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 07:40:57.796] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 07:40:57.821] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 07:40:57.821] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 07:40:57.830] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 07:40:57.830] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 07:40:57.837] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 07:40:57.838] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 07:40:57.839] [INFO ] Cache initialized                                       | 📍 main.go:151 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-20 07:40:57.839] [INFO ] Creating authentication providers                       | auth_type: hybrid | 📍 provider.go:69 | environment: debug | fallback_to: jwt | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | keycloak_enabled: true | keycloak_issuer: https://auth.rssa.top/realms/Dev | service: service-general | static_tokens_len: 4
[2026-04-20 07:40:57.839] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-20 07:40:57.840] [INFO ] Application started successfully                        | 📍 main.go:409 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 07:40:57.840] [INFO ] gRPC Server running                                     | 📍 main.go:375 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-20 07:40:57.840] [INFO ] REST API running                                        | 📍 main.go:348 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-20 07:41:21.534] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 1.109398ms | method: POST | path: /api/v1/auth/login | request_id: eb3065fc-b868-4c1b-a630-1d5282817483 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-20 07:41:30.633] [INFO ] 🔑 SatuSehat Access Token refreshed successfully         | 📍 client.go:134 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).GetAccessToken | service: service-general
[2026-04-20 07:41:30.633] [INFO ] 🛫 SatuSehat API Request Sent                            | 📍 client.go:204 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).do | method: POST | service: service-general | target_url: https://api-satusehat.kemkes.go.id/kyc/v1/generate-url
[2026-04-20 07:41:30.788] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 413.393657ms | method: POST | path: /api/v1/satusehat/reference/kyc/generate-url | request_id: f03ae2e9-7438-4a95-bdb2-5f7d768c8347 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-20 07:43:14.500] [INFO ] Application starting                                    | 📍 main.go:91 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-20 07:43:14.501] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:106 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-20 07:43:14.501] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:118 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 07:43:14.501] [INFO ] Initializing database service with GORM as primary abstraction... | 📍 database.go:192 | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 07:43:14.525] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 07:43:14.525] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 07:43:14.534] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 07:43:14.534] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 07:43:14.542] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 07:43:14.542] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 07:43:14.549] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 07:43:14.549] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 07:43:14.551] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 07:43:14.551] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 07:43:14.553] [INFO ] Cache initialized                                       | 📍 main.go:151 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-20 07:43:14.554] [INFO ] Creating authentication providers                       | auth_type: hybrid | 📍 provider.go:69 | environment: debug | fallback_to: jwt | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | keycloak_enabled: true | keycloak_issuer: https://auth.rssa.top/realms/Dev | service: service-general | static_tokens_len: 4
[2026-04-20 07:43:14.554] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-20 07:43:14.556] [INFO ] REST API running                                        | 📍 main.go:348 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-20 07:43:14.556] [INFO ] Application started successfully                        | 📍 main.go:409 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 07:43:14.556] [INFO ] gRPC Server running                                     | 📍 main.go:375 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-20 07:43:20.705] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 1.349648ms | method: POST | path: /api/v1/auth/login | request_id: a4ff7eae-670c-4731-ac23-6abf6bd852fc | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-20 07:43:23.010] [ERROR] SatuSehat Auth Error                                    | 📍 client.go:90 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).GetAccessToken | response: 
                {
                    "resourceType": "OperationOutcome",
                    "issue": [
                        {
                            "severity": "transient",
                            "code": "throttled",
                            "details": {
                                "text": "Authentication temporarily cannot be performed due to the rate limit policy. Rate limit: 1 request per minute after a failed attempt."
                            }
                        }
                    ]
                }
             | service: service-general | status: 429
[2026-04-20 07:43:23.011] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 152.049926ms | method: POST | path: /api/v1/satusehat/reference/kyc/generate-url | request_id: 5dfdb92b-b2bc-4b82-83ac-1aa043b67954 | service: service-general | status: 429 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-20 07:43:34.034] [ERROR] SatuSehat Auth Error                                    | 📍 client.go:90 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).GetAccessToken | response: 
                {
                    "resourceType": "OperationOutcome",
                    "issue": [
                        {
                            "severity": "transient",
                            "code": "throttled",
                            "details": {
                                "text": "Authentication temporarily cannot be performed due to the rate limit policy. Rate limit: 1 request per minute after a failed attempt."
                            }
                        }
                    ]
                }
             | service: service-general | status: 429
[2026-04-20 07:43:34.034] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 300.401879ms | method: POST | path: /api/v1/satusehat/reference/kyc/generate-url | request_id: f06e0ae9-183a-409a-8ec9-60dbe340334e | service: service-general | status: 429 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-20 07:47:04.124] [INFO ] 🔑 SatuSehat Access Token refreshed successfully         | 📍 client.go:134 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).GetAccessToken | service: service-general
[2026-04-20 07:47:04.124] [INFO ] 🛫 SatuSehat API Request Sent                            | 📍 client.go:204 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).do | method: POST | service: service-general | target_url: https://api-satusehat.kemkes.go.id/kyc/v1/generate-url
[2026-04-20 07:47:04.233] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 340.824292ms | method: POST | path: /api/v1/satusehat/reference/kyc/generate-url | request_id: 777e4551-6beb-47a9-9b88-e310b5211343 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-20 07:49:03.428] [INFO ] Application starting                                    | 📍 main.go:91 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-20 07:49:03.428] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:106 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-20 07:49:03.428] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:118 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 07:49:03.428] [INFO ] Initializing database service with GORM as primary abstraction... | 📍 database.go:192 | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 07:49:03.436] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 07:49:03.436] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 07:49:03.444] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 07:49:03.444] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 07:49:03.446] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 07:49:03.446] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 07:49:03.467] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 07:49:03.467] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 07:49:03.475] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 07:49:03.476] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 07:49:03.478] [INFO ] Cache initialized                                       | 📍 main.go:151 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-20 07:49:03.479] [INFO ] Creating authentication providers                       | auth_type: hybrid | 📍 provider.go:69 | environment: debug | fallback_to: jwt | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | keycloak_enabled: true | keycloak_issuer: https://auth.rssa.top/realms/Dev | service: service-general | static_tokens_len: 4
[2026-04-20 07:49:03.479] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-20 07:49:03.480] [INFO ] Application started successfully                        | 📍 main.go:409 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 07:49:03.480] [INFO ] gRPC Server running                                     | 📍 main.go:375 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-20 07:49:03.480] [INFO ] REST API running                                        | 📍 main.go:348 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-20 07:50:45.761] [INFO ] Application starting                                    | 📍 main.go:91 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-20 07:50:45.761] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:106 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-20 07:50:45.761] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:118 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 07:50:45.761] [INFO ] Initializing database service with GORM as primary abstraction... | 📍 database.go:192 | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 07:50:45.763] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 07:50:45.763] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 07:50:45.781] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 07:50:45.781] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 07:50:45.788] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 07:50:45.788] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 07:50:45.797] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 07:50:45.797] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 07:50:45.805] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 07:50:45.805] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 07:50:45.807] [INFO ] Cache initialized                                       | 📍 main.go:151 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-20 07:50:45.807] [INFO ] Creating authentication providers                       | auth_type: hybrid | 📍 provider.go:69 | environment: debug | fallback_to: jwt | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | keycloak_enabled: true | keycloak_issuer: https://auth.rssa.top/realms/Dev | service: service-general | static_tokens_len: 4
[2026-04-20 07:50:45.807] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-20 07:50:45.808] [INFO ] Application started successfully                        | 📍 main.go:409 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 07:50:45.808] [INFO ] gRPC Server running                                     | 📍 main.go:375 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-20 07:50:45.808] [INFO ] REST API running                                        | 📍 main.go:348 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-20 07:52:57.154] [INFO ] Application starting                                    | 📍 main.go:91 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-20 07:52:57.154] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:106 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-20 07:52:57.154] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:118 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 07:52:57.154] [INFO ] Initializing database service with GORM as primary abstraction... | 📍 database.go:192 | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 07:52:57.163] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 07:52:57.163] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 07:52:57.171] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 07:52:57.171] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 07:52:57.178] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 07:52:57.178] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 07:52:57.179] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 07:52:57.179] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 07:52:57.197] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 07:52:57.198] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 07:52:57.199] [INFO ] Cache initialized                                       | 📍 main.go:151 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-20 07:52:57.199] [INFO ] Creating authentication providers                       | auth_type: hybrid | 📍 provider.go:69 | environment: debug | fallback_to: jwt | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | keycloak_enabled: true | keycloak_issuer: https://auth.rssa.top/realms/Dev | service: service-general | static_tokens_len: 4
[2026-04-20 07:52:57.199] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-20 07:52:57.200] [INFO ] Application started successfully                        | 📍 main.go:409 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 07:52:57.200] [INFO ] REST API running                                        | 📍 main.go:348 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-20 07:52:57.201] [INFO ] gRPC Server running                                     | 📍 main.go:375 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-20 07:57:25.713] [ERROR] SatuSehat Auth Error                                    | 📍 client.go:90 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).GetAccessToken | response: 
                {
                    "resourceType": "OperationOutcome",
                    "issue": [
                        {
                            "severity": "transient",
                            "code": "throttled",
                            "details": {
                                "text": "Authentication temporarily cannot be performed due to the rate limit policy. Rate limit: 1 request per minute after a failed attempt."
                            }
                        }
                    ]
                }
             | service: service-general | status: 429
[2026-04-20 07:57:25.714] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 190.715552ms | method: POST | path: /api/v1/satusehat/reference/kyc/generate-url | request_id: 208c93df-bde8-4581-9c77-c489df0c22b4 | service: service-general | status: 429 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-20 07:57:38.129] [ERROR] SatuSehat Auth Error                                    | 📍 client.go:90 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).GetAccessToken | response: 
                {
                    "resourceType": "OperationOutcome",
                    "issue": [
                        {
                            "severity": "transient",
                            "code": "throttled",
                            "details": {
                                "text": "Authentication temporarily cannot be performed due to the rate limit policy. Rate limit: 1 request per minute after a failed attempt."
                            }
                        }
                    ]
                }
             | service: service-general | status: 429
[2026-04-20 07:57:38.129] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 220.931902ms | method: POST | path: /api/v1/satusehat/reference/kyc/generate-url | request_id: 0ff28a66-2782-4d01-99aa-2b4c1c4b6948 | service: service-general | status: 429 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-20 07:58:48.018] [INFO ] Application starting                                    | 📍 main.go:91 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-20 07:58:48.019] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:106 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-20 07:58:48.019] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:118 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 07:58:48.019] [INFO ] Initializing database service with GORM as primary abstraction... | 📍 database.go:192 | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 07:58:48.043] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 07:58:48.043] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 07:58:48.090] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 07:58:48.090] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 07:58:48.127] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 07:58:48.128] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 07:58:48.158] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 07:58:48.158] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 07:58:48.178] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 07:58:48.178] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 07:58:48.180] [INFO ] Cache initialized                                       | 📍 main.go:151 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-20 07:58:48.181] [INFO ] Creating authentication providers                       | auth_type: hybrid | 📍 provider.go:69 | environment: debug | fallback_to: jwt | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | keycloak_enabled: true | keycloak_issuer: https://auth.rssa.top/realms/Dev | service: service-general | static_tokens_len: 4
[2026-04-20 07:58:48.181] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-20 07:58:48.183] [INFO ] REST API running                                        | 📍 main.go:348 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-20 07:58:48.183] [INFO ] Application started successfully                        | 📍 main.go:409 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 07:58:48.183] [INFO ] gRPC Server running                                     | 📍 main.go:375 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-20 07:58:50.523] [ERROR] SatuSehat Auth Error                                    | 📍 client.go:90 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).GetAccessToken | response: 
                {
                    "resourceType": "OperationOutcome",
                    "issue": [
                        {
                            "severity": "transient",
                            "code": "throttled",
                            "details": {
                                "text": "Authentication temporarily cannot be performed due to the rate limit policy. Rate limit: 1 request per minute after a failed attempt."
                            }
                        }
                    ]
                }
             | service: service-general | status: 429
[2026-04-20 07:58:50.523] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 208.464216ms | method: POST | path: /api/v1/satusehat/reference/kyc/generate-url | request_id: b19c277e-9114-45fa-9a11-01cb3d56c9df | service: service-general | status: 429 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-20 07:58:53.805] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 719.519µs | method: POST | path: /api/v1/auth/login | request_id: b7ec48cd-610a-46fe-86de-bd7af7e40b2c | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-20 07:58:55.730] [ERROR] SatuSehat Auth Error                                    | 📍 client.go:90 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).GetAccessToken | response: 
                {
                    "resourceType": "OperationOutcome",
                    "issue": [
                        {
                            "severity": "transient",
                            "code": "throttled",
                            "details": {
                                "text": "Authentication temporarily cannot be performed due to the rate limit policy. Rate limit: 1 request per minute after a failed attempt."
                            }
                        }
                    ]
                }
             | service: service-general | status: 429
[2026-04-20 07:58:55.730] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 277.117848ms | method: POST | path: /api/v1/satusehat/reference/kyc/generate-url | request_id: 77eb1f7b-6990-4d71-bbd7-4b4c825ff4f9 | service: service-general | status: 429 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-20 07:59:53.737] [INFO ] 🔑 SatuSehat Access Token refreshed successfully         | 📍 client.go:134 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).GetAccessToken | service: service-general
[2026-04-20 07:59:53.738] [INFO ] 🛫 SatuSehat API Request Sent                            | 📍 client.go:204 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).do | method: POST | service: service-general | target_url: https://api-satusehat.kemkes.go.id/kyc/v1/generate-url
[2026-04-20 07:59:53.859] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 320.702826ms | method: POST | path: /api/v1/satusehat/reference/kyc/generate-url | request_id: 016014aa-6532-4eea-9b7a-d9e7e3846abf | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-20 08:03:57.514] [INFO ] Application starting                                    | 📍 main.go:91 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-20 08:03:57.514] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:106 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-20 08:03:57.514] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:118 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 08:03:57.514] [INFO ] Initializing database service with GORM as primary abstraction... | 📍 database.go:192 | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 08:03:57.523] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 08:03:57.523] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 08:03:57.524] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 08:03:57.525] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 08:03:57.546] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 08:03:57.546] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 08:03:57.555] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 08:03:57.555] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 08:03:57.563] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 08:03:57.563] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 08:03:57.565] [INFO ] Cache initialized                                       | 📍 main.go:151 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-20 08:03:57.566] [INFO ] Creating authentication providers                       | auth_type: hybrid | 📍 provider.go:69 | environment: debug | fallback_to: jwt | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | keycloak_enabled: true | keycloak_issuer: https://auth.rssa.top/realms/Dev | service: service-general | static_tokens_len: 4
[2026-04-20 08:03:57.566] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-20 08:03:57.567] [INFO ] REST API running                                        | 📍 main.go:348 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-20 08:03:57.568] [INFO ] Application started successfully                        | 📍 main.go:409 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 08:03:57.568] [INFO ] gRPC Server running                                     | 📍 main.go:375 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-20 08:04:06.043] [ERROR] SatuSehat Auth Error                                    | 📍 client.go:90 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).GetAccessToken | response: 
                {
                    "resourceType": "OperationOutcome",
                    "issue": [
                        {
                            "severity": "transient",
                            "code": "throttled",
                            "details": {
                                "text": "Authentication temporarily cannot be performed due to the rate limit policy. Rate limit: 1 request per minute after a failed attempt."
                            }
                        }
                    ]
                }
             | service: service-general | status: 429
[2026-04-20 08:04:06.044] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 220.990811ms | method: POST | path: /api/v1/satusehat/reference/kyc/generate-url | request_id: 66b93a56-c8d7-4591-9a78-7e6a6704a091 | service: service-general | status: 429 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-20 08:04:55.081] [ERROR] SatuSehat Auth Error                                    | 📍 client.go:90 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).GetAccessToken | response: 
                {
                    "resourceType": "OperationOutcome",
                    "issue": [
                        {
                            "severity": "transient",
                            "code": "throttled",
                            "details": {
                                "text": "Authentication temporarily cannot be performed due to the rate limit policy. Rate limit: 1 request per minute after a failed attempt."
                            }
                        }
                    ]
                }
             | service: service-general | status: 429
[2026-04-20 08:04:55.082] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 94.270008ms | method: POST | path: /api/v1/satusehat/reference/kyc/generate-url | request_id: 30db3da8-c4fb-45f0-a020-e13d059968f4 | service: service-general | status: 429 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-20 08:05:29.687] [INFO ] 🔑 SatuSehat Access Token refreshed successfully         | 📍 client.go:134 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).GetAccessToken | service: service-general
[2026-04-20 08:05:29.687] [INFO ] 🛫 SatuSehat API Request Sent                            | 📍 client.go:204 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).do | method: POST | service: service-general | target_url: https://api-satusehat.kemkes.go.id/kyc/v1/generate-url
[2026-04-20 08:05:29.823] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 349.036036ms | method: POST | path: /api/v1/satusehat/reference/kyc/generate-url | request_id: 6d3ac105-5fda-410d-8870-ea20ac76f1a0 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-20 08:11:15.598] [INFO ] 🛫 SatuSehat API Request Sent                            | 📍 client.go:204 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).do | method: POST | service: service-general | target_url: https://api-satusehat.kemkes.go.id/kyc/v1/generate-url
[2026-04-20 08:11:15.793] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 375.002005ms | method: POST | path: /api/v1/satusehat/reference/kyc/generate-url | request_id: 5235f663-26e9-42cc-a7de-5e8112126a74 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-20 10:15:39.460] [INFO ] Application starting                                    | 📍 main.go:91 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-20 10:15:39.461] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:106 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-20 10:15:39.461] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:118 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 10:15:39.461] [INFO ] Initializing database service with GORM as primary abstraction... | 📍 database.go:192 | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 10:15:39.479] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 10:15:39.479] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 10:15:39.488] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 10:15:39.488] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 10:15:39.496] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 10:15:39.496] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 10:15:39.498] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 10:15:39.498] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 10:15:39.520] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 10:15:39.520] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 10:15:39.522] [INFO ] Cache initialized                                       | 📍 main.go:151 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-20 10:15:39.523] [INFO ] Creating authentication providers                       | auth_type: hybrid | 📍 provider.go:69 | environment: debug | fallback_to: jwt | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | keycloak_enabled: true | keycloak_issuer: https://auth.rssa.top/realms/Dev | service: service-general | static_tokens_len: 4
[2026-04-20 10:15:39.523] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-20 10:15:39.524] [INFO ] REST API running                                        | 📍 main.go:348 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-20 10:15:39.524] [INFO ] Application started successfully                        | 📍 main.go:409 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 10:15:39.524] [INFO ] gRPC Server running                                     | 📍 main.go:375 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-20 10:16:58.723] [INFO ] Application starting                                    | 📍 main.go:91 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-20 10:16:58.724] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:106 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-20 10:16:58.724] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:118 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 10:16:58.724] [INFO ] Initializing database service with GORM as primary abstraction... | 📍 database.go:192 | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 10:16:58.745] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 10:16:58.745] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 10:16:58.754] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 10:16:58.754] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 10:16:58.760] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 10:16:58.761] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 10:16:58.770] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 10:16:58.770] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 10:16:58.772] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 10:16:58.772] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 10:16:58.775] [INFO ] Cache initialized                                       | 📍 main.go:151 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-20 10:16:58.775] [INFO ] Creating authentication providers                       | auth_type: hybrid | 📍 provider.go:69 | environment: debug | fallback_to: jwt | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | keycloak_enabled: true | keycloak_issuer: https://auth.rssa.top/realms/Dev | service: service-general | static_tokens_len: 4
[2026-04-20 10:16:58.775] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-20 10:16:58.777] [INFO ] REST API running                                        | 📍 main.go:348 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-20 10:16:58.777] [INFO ] Application started successfully                        | 📍 main.go:409 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 10:16:58.777] [INFO ] gRPC Server running                                     | 📍 main.go:375 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-20 10:17:16.962] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 2.083344ms | method: POST | path: /api/v1/auth/login | request_id: d28ed37d-9167-4d2c-af40-501c8fba74ef | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-20 10:17:21.347] [INFO ] 🔑 SatuSehat Access Token refreshed successfully         | 📍 client.go:134 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).GetAccessToken | service: service-general
[2026-04-20 10:17:21.347] [INFO ] 🛫 SatuSehat API Request Sent                            | 📍 client.go:204 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).do | method: POST | service: service-general | target_url: https://api-satusehat.kemkes.go.id/kyc/v1/generate-url
[2026-04-20 10:17:21.489] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 545.871626ms | method: POST | path: /api/v1/satusehat/reference/kyc/generate-url | request_id: 4ce42f31-1e8d-49d9-9961-1d5f17291582 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-20 10:20:40.622] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.123.84 | latency: 1.726958ms | method: POST | path: /api/v1/auth/login | request_id: bd5c1ac2-4f17-41a8-9fae-80131bad0cf1 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-20 10:20:49.313] [INFO ] 🛫 SatuSehat API Request Sent                            | 📍 client.go:204 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).do | method: POST | service: service-general | target_url: https://api-satusehat.kemkes.go.id/kyc/v1/generate-url
[2026-04-20 10:20:49.536] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.123.84 | latency: 312.726005ms | method: POST | path: /api/v1/satusehat/reference/kyc/generate-url | request_id: 9c2a42c3-5e96-4e86-a64f-4e7c0f5d8e3a | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-20 10:28:19.019] [INFO ] Application starting                                    | 📍 main.go:91 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-20 10:28:19.019] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:106 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-20 10:28:19.019] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:118 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 10:28:19.019] [INFO ] Initializing database service with GORM as primary abstraction... | 📍 database.go:192 | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 10:28:19.041] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 10:28:19.041] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 10:28:19.054] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 10:28:19.054] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 10:28:19.063] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 10:28:19.063] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 10:28:19.070] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 10:28:19.070] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 10:28:19.072] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 10:28:19.072] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 10:28:19.075] [INFO ] Cache initialized                                       | 📍 main.go:151 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-20 10:28:19.076] [INFO ] Creating authentication providers                       | auth_type: hybrid | 📍 provider.go:69 | environment: debug | fallback_to: jwt | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | keycloak_enabled: true | keycloak_issuer: https://auth.rssa.top/realms/Dev | service: service-general | static_tokens_len: 4
[2026-04-20 10:28:19.076] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-20 10:28:19.077] [INFO ] REST API running                                        | 📍 main.go:348 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-20 10:28:19.077] [INFO ] Application started successfully                        | 📍 main.go:409 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 10:28:19.079] [INFO ] gRPC Server running                                     | 📍 main.go:375 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-20 10:28:22.587] [INFO ] Application starting                                    | 📍 main.go:91 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-20 10:28:22.587] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:106 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-20 10:28:22.588] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:118 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 10:28:22.588] [INFO ] Initializing database service with GORM as primary abstraction... | 📍 database.go:192 | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 10:28:22.610] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 10:28:22.610] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 10:28:22.618] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 10:28:22.618] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 10:28:22.625] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 10:28:22.625] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 10:28:22.626] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 10:28:22.626] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 10:28:22.647] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 10:28:22.647] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 10:28:22.649] [INFO ] Cache initialized                                       | 📍 main.go:151 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-20 10:28:22.650] [INFO ] Creating authentication providers                       | auth_type: hybrid | 📍 provider.go:69 | environment: debug | fallback_to: jwt | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | keycloak_enabled: true | keycloak_issuer: https://auth.rssa.top/realms/Dev | service: service-general | static_tokens_len: 4
[2026-04-20 10:28:22.650] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-20 10:28:22.652] [INFO ] REST API running                                        | 📍 main.go:348 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-20 10:28:22.652] [INFO ] Application started successfully                        | 📍 main.go:409 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 10:28:22.652] [INFO ] gRPC Server running                                     | 📍 main.go:375 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-20 10:28:38.015] [INFO ] 🔑 SatuSehat Access Token refreshed successfully         | 📍 client.go:134 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).GetAccessToken | service: service-general
[2026-04-20 10:28:38.015] [INFO ] 🛫 SatuSehat API Request Sent                            | 📍 client.go:204 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).do | method: POST | service: service-general | target_url: https://api-satusehat.kemkes.go.id/kyc/v1/generate-url
[2026-04-20 10:28:38.129] [ERROR] HTTP error occurred                                     | 📍 http.go:116 | category: internal | environment: debug | error_code: INTERNAL_ERROR | ⚙️ service/pkg/errors.LogHTTPError | http_status: 500 | metadata: map[reason:map[code:400 raw_response:{"metadata":{"code":"400","message":"Error: Bad Request"},"data":{"error":"missing begin tag"}} severity:error timestamp:2026-04-20T10:28:38Z] timestamp:2026-04-20T10:28:38Z] | method: POST | path: /api/v1/satusehat/reference/kyc/generate-url | service: service-general
[2026-04-20 10:28:38.129] [ERROR] HTTP Request                                            | 📍 middleware.go:173 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.123.84 | latency: 425.107115ms | method: POST | path: /api/v1/satusehat/reference/kyc/generate-url | request_id: 9393c3a1-1b8f-4c89-bdb3-7c35ba13aaa6 | service: service-general | status: 500 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-20 10:31:34.230] [INFO ] Application starting                                    | 📍 main.go:91 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-20 10:31:34.230] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:106 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-20 10:31:34.230] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:118 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 10:31:34.230] [INFO ] Initializing database service with GORM as primary abstraction... | 📍 database.go:192 | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 10:31:34.239] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 10:31:34.240] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 10:31:34.246] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 10:31:34.246] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 10:31:34.248] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 10:31:34.248] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 10:31:34.268] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 10:31:34.268] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 10:31:34.276] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 10:31:34.276] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 10:31:34.278] [INFO ] Cache initialized                                       | 📍 main.go:151 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-20 10:31:34.279] [INFO ] Creating authentication providers                       | auth_type: hybrid | 📍 provider.go:69 | environment: debug | fallback_to: jwt | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | keycloak_enabled: true | keycloak_issuer: https://auth.rssa.top/realms/Dev | service: service-general | static_tokens_len: 4
[2026-04-20 10:31:34.279] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-20 10:31:34.280] [INFO ] REST API running                                        | 📍 main.go:348 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-20 10:31:34.280] [INFO ] Application started successfully                        | 📍 main.go:409 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 10:31:34.280] [INFO ] gRPC Server running                                     | 📍 main.go:375 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-20 10:31:38.282] [INFO ] 🔑 SatuSehat Access Token refreshed successfully         | 📍 client.go:134 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).GetAccessToken | service: service-general
[2026-04-20 10:31:38.282] [INFO ] 🛫 SatuSehat API Request Sent                            | 📍 client.go:204 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).do | method: POST | service: service-general | target_url: https://api-satusehat.kemkes.go.id/kyc/v1/generate-url
[2026-04-20 10:31:38.398] [ERROR] HTTP error occurred                                     | 📍 http.go:116 | category: internal | environment: debug | error_code: INTERNAL_ERROR | ⚙️ service/pkg/errors.LogHTTPError | http_status: 500 | metadata: map[reason:map[code:400 raw_response:{"metadata":{"code":"400","message":"Error: Bad Request"},"data":{"error":"missing begin tag"}} severity:error timestamp:2026-04-20T10:31:38Z] timestamp:2026-04-20T10:31:38Z] | method: POST | path: /api/v1/satusehat/reference/kyc/generate-url | service: service-general
[2026-04-20 10:31:38.398] [ERROR] HTTP Request                                            | 📍 middleware.go:173 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.123.84 | latency: 506.093252ms | method: POST | path: /api/v1/satusehat/reference/kyc/generate-url | request_id: 3fe5f472-daec-4b37-8d37-b6f73dfed937 | service: service-general | status: 500 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-20 10:34:09.518] [INFO ] Application starting                                    | 📍 main.go:91 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-20 10:34:09.518] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:106 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-20 10:34:09.518] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:118 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 10:34:09.518] [INFO ] Initializing database service with GORM as primary abstraction... | 📍 database.go:192 | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 10:34:09.528] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 10:34:09.528] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 10:34:09.535] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 10:34:09.535] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 10:34:09.542] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 10:34:09.542] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 10:34:09.544] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 10:34:09.544] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 10:34:09.566] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 10:34:09.567] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 10:34:09.569] [INFO ] Cache initialized                                       | 📍 main.go:151 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-20 10:34:09.570] [INFO ] Creating authentication providers                       | auth_type: hybrid | 📍 provider.go:69 | environment: debug | fallback_to: jwt | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | keycloak_enabled: true | keycloak_issuer: https://auth.rssa.top/realms/Dev | service: service-general | static_tokens_len: 4
[2026-04-20 10:34:09.570] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-20 10:34:09.571] [INFO ] Application started successfully                        | 📍 main.go:409 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 10:34:09.571] [INFO ] REST API running                                        | 📍 main.go:348 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-20 10:34:09.572] [INFO ] gRPC Server running                                     | 📍 main.go:375 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-20 10:34:10.129] [INFO ] 🔑 SatuSehat Access Token refreshed successfully         | 📍 client.go:134 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).GetAccessToken | service: service-general
[2026-04-20 10:34:10.129] [INFO ] 🛫 SatuSehat API Request Sent                            | 📍 client.go:204 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).do | method: POST | service: service-general | target_url: https://api-satusehat.kemkes.go.id/kyc/v1/generate-url
[2026-04-20 10:34:10.271] [ERROR] HTTP error occurred                                     | 📍 http.go:116 | category: internal | environment: debug | error_code: INTERNAL_ERROR | ⚙️ service/pkg/errors.LogHTTPError | http_status: 500 | metadata: map[reason:map[code:400 raw_response:{"metadata":{"code":"400","message":"Error: Bad Request"},"data":{"error":"missing begin tag"}} severity:error timestamp:2026-04-20T10:34:10Z] timestamp:2026-04-20T10:34:10Z] | method: POST | path: /api/v1/satusehat/reference/kyc/generate-url | service: service-general
[2026-04-20 10:34:10.272] [ERROR] HTTP Request                                            | 📍 middleware.go:173 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.123.84 | latency: 433.321524ms | method: POST | path: /api/v1/satusehat/reference/kyc/generate-url | request_id: 1413f6ef-b46e-44f5-99ef-dac06dbfe24b | service: service-general | status: 500 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-20 10:34:40.106] [INFO ] Application starting                                    | 📍 main.go:91 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-20 10:34:40.106] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:106 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-20 10:34:40.107] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:118 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 10:34:40.107] [INFO ] Initializing database service with GORM as primary abstraction... | 📍 database.go:192 | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 10:34:40.116] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 10:34:40.116] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 10:34:40.117] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 10:34:40.117] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 10:34:40.141] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 10:34:40.141] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 10:34:40.149] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 10:34:40.149] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 10:34:40.158] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 10:34:40.158] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 10:34:40.162] [INFO ] Cache initialized                                       | 📍 main.go:151 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-20 10:34:40.163] [INFO ] Creating authentication providers                       | auth_type: hybrid | 📍 provider.go:69 | environment: debug | fallback_to: jwt | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | keycloak_enabled: true | keycloak_issuer: https://auth.rssa.top/realms/Dev | service: service-general | static_tokens_len: 4
[2026-04-20 10:34:40.163] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-20 10:34:40.164] [INFO ] REST API running                                        | 📍 main.go:348 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-20 10:34:40.165] [INFO ] Application started successfully                        | 📍 main.go:409 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 10:34:40.165] [INFO ] gRPC Server running                                     | 📍 main.go:375 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-20 10:35:32.662] [INFO ] Application starting                                    | 📍 main.go:91 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-20 10:35:32.662] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:106 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-20 10:35:32.662] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:118 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 10:35:32.662] [INFO ] Initializing database service with GORM as primary abstraction... | 📍 database.go:192 | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 10:35:32.686] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 10:35:32.686] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 10:35:32.696] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 10:35:32.696] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 10:35:32.702] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 10:35:32.702] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 10:35:32.709] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 10:35:32.709] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 10:35:32.711] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 10:35:32.711] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 10:35:32.714] [INFO ] Cache initialized                                       | 📍 main.go:151 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-20 10:35:32.715] [INFO ] Creating authentication providers                       | auth_type: hybrid | 📍 provider.go:69 | environment: debug | fallback_to: jwt | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | keycloak_enabled: true | keycloak_issuer: https://auth.rssa.top/realms/Dev | service: service-general | static_tokens_len: 4
[2026-04-20 10:35:32.715] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-20 10:35:32.716] [INFO ] Application started successfully                        | 📍 main.go:409 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 10:35:32.716] [INFO ] gRPC Server running                                     | 📍 main.go:375 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-20 10:35:32.716] [INFO ] REST API running                                        | 📍 main.go:348 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-20 10:35:36.285] [INFO ] Application starting                                    | 📍 main.go:91 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-20 10:35:36.285] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:106 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-20 10:35:36.285] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:118 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 10:35:36.285] [INFO ] Initializing database service with GORM as primary abstraction... | 📍 database.go:192 | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 10:35:36.293] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 10:35:36.293] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 10:35:36.301] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 10:35:36.301] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 10:35:36.308] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 10:35:36.308] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 10:35:36.310] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 10:35:36.310] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 10:35:36.329] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 10:35:36.329] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 10:35:36.332] [INFO ] Cache initialized                                       | 📍 main.go:151 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-20 10:35:36.332] [INFO ] Creating authentication providers                       | auth_type: hybrid | 📍 provider.go:69 | environment: debug | fallback_to: jwt | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | keycloak_enabled: true | keycloak_issuer: https://auth.rssa.top/realms/Dev | service: service-general | static_tokens_len: 4
[2026-04-20 10:35:36.332] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-20 10:35:36.334] [INFO ] REST API running                                        | 📍 main.go:348 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-20 10:35:36.334] [INFO ] Application started successfully                        | 📍 main.go:409 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 10:35:36.334] [INFO ] gRPC Server running                                     | 📍 main.go:375 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-20 10:40:35.520] [INFO ] Application starting                                    | 📍 main.go:91 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-20 10:40:35.520] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:106 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-20 10:40:35.520] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:118 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 10:40:35.520] [INFO ] Initializing database service with GORM as primary abstraction... | 📍 database.go:192 | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 10:40:35.529] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 10:40:35.529] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 10:40:35.531] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 10:40:35.532] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 10:40:35.553] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 10:40:35.553] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 10:40:35.565] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 10:40:35.565] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 10:40:35.573] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 10:40:35.573] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 10:40:35.576] [INFO ] Cache initialized                                       | 📍 main.go:151 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-20 10:40:35.577] [INFO ] Creating authentication providers                       | auth_type: hybrid | 📍 provider.go:69 | environment: debug | fallback_to: jwt | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | keycloak_enabled: true | keycloak_issuer: https://auth.rssa.top/realms/Dev | service: service-general | static_tokens_len: 4
[2026-04-20 10:40:35.577] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-20 10:40:35.578] [INFO ] REST API running                                        | 📍 main.go:348 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-20 10:40:35.578] [INFO ] Application started successfully                        | 📍 main.go:409 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 10:40:35.578] [INFO ] gRPC Server running                                     | 📍 main.go:375 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-20 10:40:36.230] [INFO ] 🔑 SatuSehat Access Token refreshed successfully         | 📍 client.go:134 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).GetAccessToken | service: service-general
[2026-04-20 10:40:36.230] [INFO ] 🛫 SatuSehat API Request Sent                            | 📍 client.go:204 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).do | method: POST | service: service-general | target_url: https://api-satusehat.kemkes.go.id/kyc/v1/generate-url
[2026-04-20 10:40:36.357] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.123.84 | latency: 508.365448ms | method: POST | path: /api/v1/satusehat/reference/kyc/generate-url | request_id: e393485c-8df0-4fb4-8372-8c14acf89480 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-20 10:42:12.699] [INFO ] Application starting                                    | 📍 main.go:91 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-20 10:42:12.699] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:106 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-20 10:42:12.700] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:118 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 10:42:12.700] [INFO ] Initializing database service with GORM as primary abstraction... | 📍 database.go:192 | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 10:42:12.722] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 10:42:12.722] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 10:42:12.734] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 10:42:12.734] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 10:42:12.742] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 10:42:12.742] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 10:42:12.751] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 10:42:12.752] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 10:42:12.753] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 10:42:12.753] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 10:42:12.756] [INFO ] Cache initialized                                       | 📍 main.go:151 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-20 10:42:12.757] [INFO ] Creating authentication providers                       | auth_type: hybrid | 📍 provider.go:69 | environment: debug | fallback_to: jwt | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | keycloak_enabled: true | keycloak_issuer: https://auth.rssa.top/realms/Dev | service: service-general | static_tokens_len: 4
[2026-04-20 10:42:12.757] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-20 10:42:12.758] [INFO ] REST API running                                        | 📍 main.go:348 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-20 10:42:12.758] [INFO ] Application started successfully                        | 📍 main.go:409 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 10:42:12.758] [INFO ] gRPC Server running                                     | 📍 main.go:375 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-20 10:42:36.662] [INFO ] Application starting                                    | 📍 main.go:91 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-20 10:42:36.662] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:106 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-20 10:42:36.662] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:118 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 10:42:36.662] [INFO ] Initializing database service with GORM as primary abstraction... | 📍 database.go:192 | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 10:42:36.689] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 10:42:36.689] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 10:42:36.698] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 10:42:36.698] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 10:42:36.706] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 10:42:36.706] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 10:42:36.713] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 10:42:36.713] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 10:42:36.715] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 10:42:36.715] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 10:42:36.718] [INFO ] Cache initialized                                       | 📍 main.go:151 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-20 10:42:36.718] [INFO ] Creating authentication providers                       | auth_type: hybrid | 📍 provider.go:69 | environment: debug | fallback_to: jwt | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | keycloak_enabled: true | keycloak_issuer: https://auth.rssa.top/realms/Dev | service: service-general | static_tokens_len: 4
[2026-04-20 10:42:36.718] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-20 10:42:36.720] [INFO ] Application started successfully                        | 📍 main.go:409 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 10:42:36.720] [INFO ] REST API running                                        | 📍 main.go:348 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-20 10:42:36.720] [INFO ] gRPC Server running                                     | 📍 main.go:375 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-20 10:42:38.318] [ERROR] HTTP error occurred                                     | 📍 http.go:116 | category: validation | environment: debug | error_code: INVALID_INPUT | ⚙️ service/pkg/errors.LogHTTPError | http_status: 400 | metadata: map[reason:Key: 'GenerateURLRequest.AgentName' Error:Field validation for 'AgentName' failed on the 'required' tag
Key: 'GenerateURLRequest.AgentNIK' Error:Field validation for 'AgentNIK' failed on the 'required' tag timestamp:2026-04-20T10:42:38Z] | method: POST | path: /api/v1/satusehat/reference/kyc/generate-url | service: service-general
[2026-04-20 10:42:38.318] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.123.84 | latency: 1.764587ms | method: POST | path: /api/v1/satusehat/reference/kyc/generate-url | request_id: ebde8f3b-b0f2-4a97-846a-6fa6b1ec6910 | service: service-general | status: 400 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-20 10:43:16.040] [INFO ] 🔑 SatuSehat Access Token refreshed successfully         | 📍 client.go:134 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).GetAccessToken | service: service-general
[2026-04-20 10:43:16.040] [INFO ] 🛫 SatuSehat API Request Sent                            | 📍 client.go:204 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).do | method: POST | service: service-general | target_url: https://api-satusehat.kemkes.go.id/kyc/v1/generate-url
[2026-04-20 10:43:16.343] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.123.84 | latency: 738.479819ms | method: POST | path: /api/v1/satusehat/reference/kyc/generate-url | request_id: baf3ab9a-d9bc-4e91-8c8f-7f311fd73ef1 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-20 10:43:32.379] [INFO ] Application starting                                    | 📍 main.go:91 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-20 10:43:32.380] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:106 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-20 10:43:32.380] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:118 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 10:43:32.380] [INFO ] Initializing database service with GORM as primary abstraction... | 📍 database.go:192 | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 10:43:32.390] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 10:43:32.390] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 10:43:32.397] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 10:43:32.397] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 10:43:32.405] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 10:43:32.405] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 10:43:32.407] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 10:43:32.407] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 10:43:32.427] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 10:43:32.427] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 10:43:32.430] [INFO ] Cache initialized                                       | 📍 main.go:151 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-20 10:43:32.431] [INFO ] Creating authentication providers                       | auth_type: hybrid | 📍 provider.go:69 | environment: debug | fallback_to: jwt | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | keycloak_enabled: true | keycloak_issuer: https://auth.rssa.top/realms/Dev | service: service-general | static_tokens_len: 4
[2026-04-20 10:43:32.431] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-20 10:43:32.432] [INFO ] REST API running                                        | 📍 main.go:348 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-20 10:43:32.433] [INFO ] Application started successfully                        | 📍 main.go:409 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 10:43:32.433] [INFO ] gRPC Server running                                     | 📍 main.go:375 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-20 11:03:24.237] [INFO ] Application starting                                    | 📍 main.go:91 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-20 11:03:24.237] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:106 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-20 11:03:24.237] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:118 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 11:03:24.237] [INFO ] Initializing database service with GORM as primary abstraction... | 📍 database.go:192 | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 11:03:24.258] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 11:03:24.258] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 11:03:24.277] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 11:03:24.277] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 11:03:24.285] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 11:03:24.285] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 11:03:24.294] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 11:03:24.294] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 11:03:24.296] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 11:03:24.296] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 11:03:24.299] [INFO ] Cache initialized                                       | 📍 main.go:151 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-20 11:03:24.300] [INFO ] Creating authentication providers                       | auth_type: hybrid | 📍 provider.go:69 | environment: debug | fallback_to: jwt | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | keycloak_enabled: true | keycloak_issuer: https://auth.rssa.top/realms/Dev | service: service-general | static_tokens_len: 4
[2026-04-20 11:03:24.300] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-20 11:03:24.301] [INFO ] REST API running                                        | 📍 main.go:348 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-20 11:03:24.301] [INFO ] Application started successfully                        | 📍 main.go:409 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 11:03:24.302] [INFO ] gRPC Server running                                     | 📍 main.go:375 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-20 11:03:27.307] [ERROR] HTTP error occurred                                     | 📍 http.go:116 | category: validation | environment: debug | error_code: INVALID_INPUT | ⚙️ service/pkg/errors.LogHTTPError | http_status: 400 | metadata: map[reason:Key: 'GenerateURLRequest.AgentName' Error:Field validation for 'AgentName' failed on the 'required' tag
Key: 'GenerateURLRequest.AgentNIK' Error:Field validation for 'AgentNIK' failed on the 'required' tag timestamp:2026-04-20T11:03:27Z] | method: POST | path: /api/v1/satusehat/reference/kyc/generate-url | service: service-general
[2026-04-20 11:03:27.308] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.123.84 | latency: 2.065486ms | method: POST | path: /api/v1/satusehat/reference/kyc/generate-url | request_id: c4bcad11-40cf-4a2f-a4a3-b11f0ad47d30 | service: service-general | status: 400 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-20 11:03:39.512] [INFO ] 🔑 SatuSehat Access Token refreshed successfully         | 📍 client.go:134 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).GetAccessToken | service: service-general
[2026-04-20 11:03:39.512] [INFO ] 🛫 SatuSehat API Request Sent                            | 📍 client.go:204 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).do | method: POST | service: service-general | target_url: https://api-satusehat.kemkes.go.id/kyc/v1/generate-url
[2026-04-20 11:03:39.649] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.123.84 | latency: 492.654758ms | method: POST | path: /api/v1/satusehat/reference/kyc/generate-url | request_id: 23e94a68-5c39-4c67-809a-9ad96bae9b90 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-20 11:10:13.945] [INFO ] Application starting                                    | 📍 main.go:91 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-20 11:10:13.945] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:106 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-20 11:10:13.945] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:118 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 11:10:13.945] [INFO ] Initializing database service with GORM as primary abstraction... | 📍 database.go:192 | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 11:10:13.954] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 11:10:13.954] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 11:10:13.956] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 11:10:13.956] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 11:10:13.980] [INFO ] Application starting                                    | 📍 main.go:91 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-20 11:10:13.980] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:106 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-20 11:10:13.980] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:118 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 11:10:13.980] [INFO ] Initializing database service with GORM as primary abstraction... | 📍 database.go:192 | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 11:10:13.996] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 11:10:13.996] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 11:10:14.006] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 11:10:14.006] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 11:10:14.014] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 11:10:14.014] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 11:10:14.021] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 11:10:14.021] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 11:10:14.022] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 11:10:14.022] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 11:10:14.025] [INFO ] Cache initialized                                       | 📍 main.go:151 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-20 11:10:14.026] [INFO ] Creating authentication providers                       | auth_type: hybrid | 📍 provider.go:69 | environment: debug | fallback_to: jwt | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | keycloak_enabled: true | keycloak_issuer: https://auth.rssa.top/realms/Dev | service: service-general | static_tokens_len: 4
[2026-04-20 11:10:14.026] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-20 11:10:14.027] [INFO ] REST API running                                        | 📍 main.go:348 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-20 11:10:14.027] [INFO ] Application started successfully                        | 📍 main.go:409 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 11:10:14.027] [INFO ] gRPC Server running                                     | 📍 main.go:375 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-20 11:10:19.996] [INFO ] Application starting                                    | 📍 main.go:91 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-20 11:10:19.996] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:106 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-20 11:10:19.996] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:118 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 11:10:19.997] [INFO ] Initializing database service with GORM as primary abstraction... | 📍 database.go:192 | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 11:10:19.999] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 11:10:19.999] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 11:10:20.019] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 11:10:20.019] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 11:10:20.029] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 11:10:20.029] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 11:10:20.037] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 11:10:20.037] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 11:10:20.043] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 11:10:20.044] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 11:10:20.046] [INFO ] Cache initialized                                       | 📍 main.go:151 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-20 11:10:20.047] [INFO ] Creating authentication providers                       | auth_type: hybrid | 📍 provider.go:69 | environment: debug | fallback_to: jwt | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | keycloak_enabled: true | keycloak_issuer: https://auth.rssa.top/realms/Dev | service: service-general | static_tokens_len: 4
[2026-04-20 11:10:20.047] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-20 11:10:20.048] [INFO ] REST API running                                        | 📍 main.go:348 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-20 11:10:20.048] [INFO ] Application started successfully                        | 📍 main.go:409 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 11:10:20.048] [INFO ] gRPC Server running                                     | 📍 main.go:375 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-20 11:10:57.321] [INFO ] 🔑 SatuSehat Access Token refreshed successfully         | 📍 client.go:134 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).GetAccessToken | service: service-general
[2026-04-20 11:10:57.321] [INFO ] 🛫 SatuSehat API Request Sent                            | 📍 client.go:204 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).do | method: POST | service: service-general | target_url: https://api-satusehat.kemkes.go.id/kyc/v1/generate-url
[2026-04-20 11:10:57.438] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.123.84 | latency: 536.551975ms | method: POST | path: /api/v1/satusehat/reference/kyc/generate-url | request_id: 2b6cad19-8d15-4e34-9ed4-9903b3426ce8 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-20 11:14:35.280] [INFO ] Application starting                                    | 📍 main.go:91 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-20 11:14:35.280] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:106 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-20 11:14:35.281] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:118 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 11:14:35.281] [INFO ] Initializing database service with GORM as primary abstraction... | 📍 database.go:192 | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 11:14:35.291] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 11:14:35.291] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 11:14:35.299] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 11:14:35.299] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 11:14:35.306] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 11:14:35.306] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 11:14:35.308] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 11:14:35.308] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 11:14:35.329] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 11:14:35.329] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 11:14:35.331] [INFO ] Cache initialized                                       | 📍 main.go:151 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-20 11:14:35.332] [INFO ] Creating authentication providers                       | auth_type: hybrid | 📍 provider.go:69 | environment: debug | fallback_to: jwt | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | keycloak_enabled: true | keycloak_issuer: https://auth.rssa.top/realms/Dev | service: service-general | static_tokens_len: 4
[2026-04-20 11:14:35.332] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-20 11:14:35.334] [INFO ] REST API running                                        | 📍 main.go:348 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-20 11:14:35.334] [INFO ] Application started successfully                        | 📍 main.go:409 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 11:14:35.334] [INFO ] gRPC Server running                                     | 📍 main.go:375 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-20 11:14:36.905] [INFO ] 🔑 SatuSehat Access Token refreshed successfully         | 📍 client.go:134 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).GetAccessToken | service: service-general
[2026-04-20 11:14:36.905] [INFO ] 🛫 SatuSehat API Request Sent                            | 📍 client.go:214 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).do | method: POST | service: service-general | target_url: https://api-satusehat.kemkes.go.id/kyc/v1/generate-url
[2026-04-20 11:14:37.052] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.123.84 | latency: 651.407309ms | method: POST | path: /api/v1/satusehat/reference/kyc/generate-url | request_id: cfe26b48-fea0-431f-a602-b6ea09ee3c3e | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-20 11:15:13.704] [INFO ] 🛫 SatuSehat API Request Sent                            | 📍 client.go:214 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).do | method: GET | service: service-general | target_url: https://api-satusehat.kemkes.go.id/fhir-r4/v1/Location/e95ef6c7-21fe-4aff-86ad-d279984e380d
[2026-04-20 11:15:13.915] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.123.84 | latency: 211.374628ms | method: GET | path: /api/v1/satusehat/reference/location/e95ef6c7-21fe-4aff-86ad-d279984e380d | request_id: 71a780e3-7972-4774-b43e-ef65ca5c6bef | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-20 11:15:19.645] [INFO ] 🛫 SatuSehat API Request Sent                            | 📍 client.go:214 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).do | method: GET | service: service-general | target_url: https://api-satusehat.kemkes.go.id/fhir-r4/v1/Location?
[2026-04-20 11:15:19.910] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.123.84 | latency: 266.223855ms | method: GET | path: /api/v1/satusehat/reference/location | request_id: e27437be-6f33-46f1-badf-b4a8d0ef45c2 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-20 11:15:25.806] [INFO ] 🛫 SatuSehat API Request Sent                            | 📍 client.go:214 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).do | method: GET | service: service-general | target_url: https://api-satusehat.kemkes.go.id/fhir-r4/v1/Organization?partof=100026555
[2026-04-20 11:15:26.097] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.123.84 | latency: 291.688986ms | method: GET | path: /api/v1/satusehat/reference/organization | query: partof=100026555 | request_id: b2538f06-fbd6-4a96-b123-e7d8b638731a | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-20 11:15:33.617] [INFO ] 🛫 SatuSehat API Request Sent                            | 📍 client.go:214 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).do | method: GET | service: service-general | target_url: https://api-satusehat.kemkes.go.id/fhir-r4/v1/Patient?
[2026-04-20 11:15:33.728] [ERROR] SatuSehat API Error                                     | 📍 client.go:264 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).do | response: 
        {
          "resourceType": "OperationOutcome",
          "issue": [
            {
              "severity": "error",
              "code": "value",
              "details": {
                "text": "Invalid query"
              },
              "diagnostics": "Missing query parameters: 1) Combination of NIK + name + birthdate, or 2) Combination of gender + name + birthdate, 3) NIK, or 4) NIK Ibu"
            }
          ]
        }
       | service: service-general | status_code: 400
[2026-04-20 11:15:33.729] [ERROR] Gagal mencari Pasien dengan parameter dinamis           | 📍 repository.go:81 | environment: debug | ❌ ERROR: SatuSehat API Error (HTTP 400) | ⚙️ service/internal/satusehat/reference/patient.(*repository).Search | service: service-general
[2026-04-20 11:15:33.729] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.123.84 | latency: 112.076849ms | method: GET | path: /api/v1/satusehat/reference/patient | request_id: 872b0121-28b6-425f-b5f4-7d3ca33a6aa8 | service: service-general | status: 400 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-20 11:22:10.218] [INFO ] Application starting                                    | 📍 main.go:91 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-20 11:22:10.218] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:106 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-20 11:22:10.219] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:118 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 11:22:10.219] [INFO ] Initializing database service with GORM as primary abstraction... | 📍 database.go:192 | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 11:22:10.228] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 11:22:10.228] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 11:22:10.230] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 11:22:10.230] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 11:22:10.252] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 11:22:10.252] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 11:22:10.263] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 11:22:10.263] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 11:22:10.272] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 11:22:10.273] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 11:22:10.275] [INFO ] Cache initialized                                       | 📍 main.go:151 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-20 11:22:10.276] [INFO ] Creating authentication providers                       | auth_type: hybrid | 📍 provider.go:69 | environment: debug | fallback_to: jwt | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | keycloak_enabled: true | keycloak_issuer: https://auth.rssa.top/realms/Dev | service: service-general | static_tokens_len: 4
[2026-04-20 11:22:10.276] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-20 11:22:10.277] [INFO ] Application started successfully                        | 📍 main.go:409 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 11:22:10.277] [INFO ] REST API running                                        | 📍 main.go:348 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-20 11:22:10.277] [INFO ] gRPC Server running                                     | 📍 main.go:375 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-20 11:22:28.291] [ERROR] HTTP error occurred                                     | 📍 http.go:116 | category: unauthorized | environment: debug | error_code: UNAUTHORIZED | ⚙️ service/pkg/errors.LogHTTPError | http_status: 401 | metadata: map[reason:map[provider_errors:map[jwt:invalid token keycloak:token expired] severity:warning timestamp:2026-04-20T11:22:28Z] timestamp:2026-04-20T11:22:28Z] | method: POST | path: /api/v1/satusehat/reference/kyc/generate-url | service: service-general
[2026-04-20 11:22:28.292] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.123.84 | latency: 1.573121ms | method: POST | path: /api/v1/satusehat/reference/kyc/generate-url | request_id: aecf4542-73d2-4754-863c-794089b140fa | service: service-general | status: 401 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-20 11:22:33.183] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.123.84 | latency: 812.077µs | method: POST | path: /api/v1/auth/login | request_id: 3f70253f-3ec8-4125-8c72-169466a3863c | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-20 11:22:37.302] [INFO ] 🔑 SatuSehat Access Token refreshed successfully         | 📍 client.go:134 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).GetAccessToken | service: service-general
[2026-04-20 11:22:37.302] [INFO ] 🛫 SatuSehat API Request Sent                            | 📍 client.go:214 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).do | method: POST | service: service-general | target_url: https://api-satusehat.kemkes.go.id/kyc/v1/generate-url
[2026-04-20 11:22:37.451] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.123.84 | latency: 564.733204ms | method: POST | path: /api/v1/satusehat/reference/kyc/generate-url | request_id: 8bde7d28-7227-4e5d-9a1b-54f35724d342 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-20 11:29:40.385] [INFO ] Application starting                                    | 📍 main.go:91 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-20 11:29:40.385] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:106 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-20 11:29:40.386] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:118 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 11:29:40.386] [INFO ] Initializing database service with GORM as primary abstraction... | 📍 database.go:192 | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 11:29:40.394] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 11:29:40.394] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 11:29:40.396] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 11:29:40.396] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 11:29:40.461] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 11:29:40.461] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 11:29:40.470] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 11:29:40.470] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 11:29:40.482] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 11:29:40.482] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 11:29:40.484] [INFO ] Cache initialized                                       | 📍 main.go:151 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-20 11:29:40.484] [INFO ] Creating authentication providers                       | auth_type: hybrid | 📍 provider.go:69 | environment: debug | fallback_to: jwt | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | keycloak_enabled: true | keycloak_issuer: https://auth.rssa.top/realms/Dev | service: service-general | static_tokens_len: 4
[2026-04-20 11:29:40.484] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-20 11:29:40.485] [INFO ] Application started successfully                        | 📍 main.go:409 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 11:29:40.485] [INFO ] gRPC Server running                                     | 📍 main.go:375 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-20 11:29:40.486] [INFO ] REST API running                                        | 📍 main.go:348 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-20 11:30:10.574] [INFO ] 🔑 SatuSehat Access Token refreshed successfully         | 📍 client.go:134 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).GetAccessToken | service: service-general
[2026-04-20 11:30:10.574] [INFO ] 🛫 SatuSehat API Request Sent                            | 📍 client.go:214 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).do | method: POST | service: service-general | target_url: https://api-satusehat.kemkes.go.id/kyc/v1/generate-url
[2026-04-20 11:30:10.752] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.123.84 | latency: 625.623287ms | method: POST | path: /api/v1/satusehat/reference/kyc/generate-url | request_id: 9a87aa33-7d46-46a8-aa5e-cb532c3e7356 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-20 11:30:20.344] [INFO ] 🛫 SatuSehat API Request Sent                            | 📍 client.go:214 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).do | method: POST | service: service-general | target_url: https://api-satusehat.kemkes.go.id/kyc/v1/generate-url
[2026-04-20 11:30:20.515] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.123.84 | latency: 429.570318ms | method: POST | path: /api/v1/satusehat/reference/kyc/generate-url | request_id: 2bdeca64-b461-4e52-b9d5-9c79d42f55ef | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-20 11:33:09.451] [INFO ] Application starting                                    | 📍 main.go:91 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-20 11:33:09.451] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:106 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-20 11:33:09.451] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:118 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 11:33:09.452] [INFO ] Initializing database service with GORM as primary abstraction... | 📍 database.go:192 | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 11:33:09.459] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 11:33:09.459] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 11:33:09.460] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 11:33:09.460] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 11:33:09.480] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 11:33:09.481] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 11:33:09.490] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 11:33:09.490] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 11:33:09.498] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 11:33:09.498] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 11:33:09.500] [INFO ] Cache initialized                                       | 📍 main.go:151 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-20 11:33:09.501] [INFO ] Creating authentication providers                       | auth_type: hybrid | 📍 provider.go:69 | environment: debug | fallback_to: jwt | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | keycloak_enabled: true | keycloak_issuer: https://auth.rssa.top/realms/Dev | service: service-general | static_tokens_len: 4
[2026-04-20 11:33:09.501] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-20 11:33:09.502] [INFO ] Application started successfully                        | 📍 main.go:409 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 11:33:09.502] [INFO ] gRPC Server running                                     | 📍 main.go:375 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-20 11:33:09.502] [INFO ] REST API running                                        | 📍 main.go:348 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-20 11:33:18.696] [INFO ] 🔑 SatuSehat Access Token refreshed successfully         | 📍 client.go:134 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).GetAccessToken | service: service-general
[2026-04-20 11:33:18.696] [INFO ] 🛫 SatuSehat API Request Sent                            | 📍 client.go:214 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).do | method: POST | service: service-general | target_url: https://api-satusehat.kemkes.go.id/kyc/v1/generate-url
[2026-04-20 11:33:18.830] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.123.84 | latency: 396.431727ms | method: POST | path: /api/v1/satusehat/reference/kyc/generate-url | request_id: 5f683ea5-52a2-48e7-a1d6-9a1085882d30 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-20 11:39:14.235] [INFO ] Application starting                                    | 📍 main.go:91 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-20 11:39:14.235] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:106 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-20 11:39:14.235] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:118 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 11:39:14.235] [INFO ] Initializing database service with GORM as primary abstraction... | 📍 database.go:192 | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 11:39:14.243] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 11:39:14.243] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 11:39:14.244] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 11:39:14.244] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 11:39:14.261] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 11:39:14.262] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 11:39:14.274] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 11:39:14.274] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 11:39:14.283] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 11:39:14.283] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 11:39:14.284] [INFO ] Cache initialized                                       | 📍 main.go:151 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-20 11:39:14.285] [INFO ] Creating authentication providers                       | auth_type: hybrid | 📍 provider.go:69 | environment: debug | fallback_to: jwt | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | keycloak_enabled: true | keycloak_issuer: https://auth.rssa.top/realms/Dev | service: service-general | static_tokens_len: 4
[2026-04-20 11:39:14.285] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-20 11:39:14.285] [INFO ] Application started successfully                        | 📍 main.go:409 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 11:39:14.286] [INFO ] gRPC Server running                                     | 📍 main.go:375 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-20 11:39:14.286] [INFO ] REST API running                                        | 📍 main.go:348 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-20 11:44:30.938] [INFO ] Application starting                                    | 📍 main.go:91 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-20 11:44:30.938] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:106 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-20 11:44:30.938] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:118 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 11:44:30.938] [INFO ] Initializing database service with GORM as primary abstraction... | 📍 database.go:192 | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 11:44:30.946] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 11:44:30.946] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 11:44:30.952] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 11:44:30.952] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 11:44:30.954] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 11:44:30.954] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 11:44:30.974] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 11:44:30.974] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 11:44:30.982] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 11:44:30.982] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 11:44:30.983] [INFO ] Cache initialized                                       | 📍 main.go:151 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-20 11:44:30.984] [INFO ] Creating authentication providers                       | auth_type: hybrid | 📍 provider.go:69 | environment: debug | fallback_to: jwt | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | keycloak_enabled: true | keycloak_issuer: https://auth.rssa.top/realms/Dev | service: service-general | static_tokens_len: 4
[2026-04-20 11:44:30.984] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-20 11:44:30.985] [INFO ] Application started successfully                        | 📍 main.go:409 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 11:44:30.985] [INFO ] gRPC Server running                                     | 📍 main.go:375 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-20 11:44:30.985] [INFO ] REST API running                                        | 📍 main.go:348 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-20 11:45:21.317] [INFO ] Application starting                                    | 📍 main.go:91 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-20 11:45:21.317] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:106 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-20 11:45:21.317] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:118 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 11:45:21.317] [INFO ] Initializing database service with GORM as primary abstraction... | 📍 database.go:192 | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 11:45:21.325] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 11:45:21.325] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 11:45:21.335] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 11:45:21.335] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 11:45:21.342] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 11:45:21.342] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 11:45:21.344] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 11:45:21.344] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 11:45:21.363] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 11:45:21.363] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 11:45:21.365] [INFO ] Cache initialized                                       | 📍 main.go:151 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-20 11:45:21.365] [INFO ] Creating authentication providers                       | auth_type: hybrid | 📍 provider.go:69 | environment: debug | fallback_to: jwt | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | keycloak_enabled: true | keycloak_issuer: https://auth.rssa.top/realms/Dev | service: service-general | static_tokens_len: 4
[2026-04-20 11:45:21.365] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-20 11:45:21.366] [INFO ] Application started successfully                        | 📍 main.go:409 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 11:45:21.366] [INFO ] REST API running                                        | 📍 main.go:348 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-20 11:45:21.367] [INFO ] gRPC Server running                                     | 📍 main.go:375 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-20 11:45:23.137] [INFO ] Application starting                                    | 📍 main.go:91 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-20 11:45:23.137] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:106 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-20 11:45:23.137] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:118 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 11:45:23.137] [INFO ] Initializing database service with GORM as primary abstraction... | 📍 database.go:192 | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 11:45:23.145] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 11:45:23.145] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 11:45:23.151] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 11:45:23.151] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 11:45:23.153] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 11:45:23.153] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 11:45:23.172] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 11:45:23.172] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 11:45:23.180] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 11:45:23.180] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 11:45:23.182] [INFO ] Cache initialized                                       | 📍 main.go:151 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-20 11:45:23.182] [INFO ] Creating authentication providers                       | auth_type: hybrid | 📍 provider.go:69 | environment: debug | fallback_to: jwt | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | keycloak_enabled: true | keycloak_issuer: https://auth.rssa.top/realms/Dev | service: service-general | static_tokens_len: 4
[2026-04-20 11:45:23.182] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-20 11:45:23.183] [INFO ] Application started successfully                        | 📍 main.go:409 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 11:45:23.184] [INFO ] REST API running                                        | 📍 main.go:348 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-20 11:45:23.184] [INFO ] gRPC Server running                                     | 📍 main.go:375 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-20 11:49:05.426] [INFO ] Application starting                                    | 📍 main.go:91 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-20 11:49:05.426] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:106 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-20 11:49:05.426] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:118 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 11:49:05.426] [INFO ] Initializing database service with GORM as primary abstraction... | 📍 database.go:192 | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 11:49:05.436] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 11:49:05.436] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 11:49:05.443] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 11:49:05.443] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 11:49:05.451] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 11:49:05.451] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 11:49:05.453] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 11:49:05.453] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 11:49:05.475] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 11:49:05.475] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 11:49:05.476] [INFO ] Cache initialized                                       | 📍 main.go:151 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-20 11:49:05.477] [INFO ] Creating authentication providers                       | auth_type: hybrid | 📍 provider.go:69 | environment: debug | fallback_to: jwt | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | keycloak_enabled: true | keycloak_issuer: https://auth.rssa.top/realms/Dev | service: service-general | static_tokens_len: 4
[2026-04-20 11:49:05.477] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-20 11:49:05.478] [INFO ] Application started successfully                        | 📍 main.go:409 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 11:49:05.478] [INFO ] gRPC Server running                                     | 📍 main.go:375 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-20 11:49:05.478] [INFO ] REST API running                                        | 📍 main.go:348 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-20 11:49:52.153] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.123.84 | latency: 494.062µs | method: GET | path: /api/v1/satusehat/reference/kyc/generate-keys | request_id: 7559b7f7-789d-44f7-ace2-4fe9fd1d8e77 | service: service-general | status: 404 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-20 11:53:32.298] [INFO ] Application starting                                    | 📍 main.go:91 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-20 11:53:32.299] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:106 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-20 11:53:32.299] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:118 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 11:53:32.299] [INFO ] Initializing database service with GORM as primary abstraction... | 📍 database.go:192 | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 11:53:32.308] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 11:53:32.308] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 11:53:32.310] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 11:53:32.310] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 11:53:32.331] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 11:53:32.331] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 11:53:32.339] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 11:53:32.339] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 11:53:32.349] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 11:53:32.349] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 11:53:32.351] [INFO ] Cache initialized                                       | 📍 main.go:151 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-20 11:53:32.352] [INFO ] Creating authentication providers                       | auth_type: hybrid | 📍 provider.go:69 | environment: debug | fallback_to: jwt | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | keycloak_enabled: true | keycloak_issuer: https://auth.rssa.top/realms/Dev | service: service-general | static_tokens_len: 4
[2026-04-20 11:53:32.352] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-20 11:53:32.353] [INFO ] REST API running                                        | 📍 main.go:348 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-20 11:53:32.354] [INFO ] Application started successfully                        | 📍 main.go:409 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 11:53:32.354] [INFO ] gRPC Server running                                     | 📍 main.go:375 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-20 11:54:00.573] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.123.84 | latency: 709.153µs | method: GET | path: /api/v1/satusehat/reference/kyc/generate-keys | request_id: a9919e11-16bd-4266-ae5d-5ece1c183dd4 | service: service-general | status: 401 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-20 11:54:23.164] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.123.84 | latency: 100.797829ms | method: GET | path: /api/v1/satusehat/reference/kyc/generate-keys | request_id: bc8dbcd1-83d9-4665-8fd8-155f262ec108 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-20 11:56:08.992] [INFO ] Application starting                                    | 📍 main.go:91 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-20 11:56:08.993] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:106 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-20 11:56:08.993] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:118 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 11:56:08.993] [INFO ] Initializing database service with GORM as primary abstraction... | 📍 database.go:192 | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 11:56:09.002] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 11:56:09.002] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 11:56:09.009] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 11:56:09.009] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 11:56:09.010] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 11:56:09.010] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 11:56:09.030] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 11:56:09.030] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 11:56:09.040] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 11:56:09.040] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 11:56:09.043] [INFO ] Cache initialized                                       | 📍 main.go:151 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-20 11:56:09.043] [INFO ] Creating authentication providers                       | auth_type: hybrid | 📍 provider.go:69 | environment: debug | fallback_to: jwt | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | keycloak_enabled: true | keycloak_issuer: https://auth.rssa.top/realms/Dev | service: service-general | static_tokens_len: 4
[2026-04-20 11:56:09.044] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-20 11:56:09.045] [INFO ] REST API running                                        | 📍 main.go:348 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-20 11:56:09.045] [INFO ] Application started successfully                        | 📍 main.go:409 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 11:56:09.045] [INFO ] gRPC Server running                                     | 📍 main.go:375 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-20 11:57:25.964] [INFO ] 🔑 SatuSehat Access Token refreshed successfully         | 📍 client.go:134 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).GetAccessToken | service: service-general
[2026-04-20 11:57:25.964] [INFO ] 🛫 SatuSehat API Request Sent                            | 📍 client.go:214 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).do | method: POST | service: service-general | target_url: https://api-satusehat.kemkes.go.id/kyc/v1/generate-url
[2026-04-20 11:57:26.142] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.123.84 | latency: 379.937304ms | method: POST | path: /api/v1/satusehat/reference/kyc/generate-url | request_id: 6d72ba8d-0319-4ef3-85ce-39702fb183b5 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-20 12:01:25.785] [INFO ] Application starting                                    | 📍 main.go:91 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-20 12:01:25.786] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:106 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-20 12:01:25.786] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:118 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 12:01:25.786] [INFO ] Initializing database service with GORM as primary abstraction... | 📍 database.go:192 | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 12:01:25.796] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 12:01:25.796] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 12:01:25.803] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 12:01:25.803] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 12:01:25.810] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 12:01:25.810] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 12:01:25.812] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 12:01:25.812] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 12:01:25.834] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 12:01:25.834] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 12:01:25.836] [INFO ] Cache initialized                                       | 📍 main.go:151 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-20 12:01:25.836] [INFO ] Creating authentication providers                       | auth_type: hybrid | 📍 provider.go:69 | environment: debug | fallback_to: jwt | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | keycloak_enabled: true | keycloak_issuer: https://auth.rssa.top/realms/Dev | service: service-general | static_tokens_len: 4
[2026-04-20 12:01:25.836] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-20 12:01:25.837] [INFO ] Application started successfully                        | 📍 main.go:409 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 12:01:25.837] [INFO ] gRPC Server running                                     | 📍 main.go:375 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-20 12:01:25.837] [INFO ] REST API running                                        | 📍 main.go:348 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-20 12:04:30.381] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.123.84 | latency: 466.93µs | method: GET | path: /api/v1/satusehat/reference/kyc/callback | request_id: 8db824db-b1f8-436c-bc62-778695af38c4 | service: service-general | status: 405 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-20 12:04:43.784] [WARNI] Webhook KYC gagal divalidasi: Token tidak cocok         | 📍 service.go:53 | environment: debug | ⚙️ service/internal/satusehat/reference/kyc.(*service).HandleCallback | received_token: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6IndvcmtlckBzYXR1c2VoYXQuY29tIiwiZXhwIjoxNzc2Njg3NzUzLCJuYW1lIjoiV29ya2VyIER1bW15Iiwicm9sZV9pZCI6IndvcmtlciIsInVzZXJfaWQiOiIxMDA0In0.IStnsI0e_R2bvdk0FVhxU3eg7OamLeyabnHa9CXCZug | service: service-general
[2026-04-20 12:04:43.784] [ERROR] HTTP error occurred                                     | 📍 http.go:116 | category: unauthorized | environment: debug | error_code: UNAUTHORIZED | ⚙️ service/pkg/errors.LogHTTPError | http_status: 401 | metadata: map[reason:map[severity:warning timestamp:2026-04-20T12:04:43Z] timestamp:2026-04-20T12:04:43Z] | method: POST | path: /api/v1/satusehat/reference/kyc/callback | service: service-general
[2026-04-20 12:04:43.785] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.123.84 | latency: 1.110202ms | method: POST | path: /api/v1/satusehat/reference/kyc/callback | request_id: 134509f5-c1b5-499a-b5e6-98cfe47f2c47 | service: service-general | status: 401 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-20 12:06:14.224] [INFO ] 🔑 SatuSehat Access Token refreshed successfully         | 📍 client.go:134 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).GetAccessToken | service: service-general
[2026-04-20 12:06:14.224] [INFO ] 🛫 SatuSehat API Request Sent                            | 📍 client.go:214 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).do | method: POST | service: service-general | target_url: https://api-satusehat.kemkes.go.id/kyc/v1/generate-url
[2026-04-20 12:06:14.459] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.123.84 | latency: 4.532592185s | method: POST | path: /api/v1/satusehat/reference/kyc/generate-url | request_id: 9a20d510-e5dd-4048-9e83-3919c8744099 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-20 12:19:58.786] [INFO ] Application starting                                    | 📍 main.go:91 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-20 12:19:58.786] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:106 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-20 12:19:58.786] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:118 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 12:19:58.786] [INFO ] Initializing database service with GORM as primary abstraction... | 📍 database.go:192 | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 12:19:58.795] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 12:19:58.795] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 12:19:58.802] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 12:19:58.802] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 12:19:58.803] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 12:19:58.803] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 12:19:58.822] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 12:19:58.822] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 12:19:58.834] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 12:19:58.834] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 12:19:58.836] [INFO ] Cache initialized                                       | 📍 main.go:151 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-20 12:19:58.836] [INFO ] Creating authentication providers                       | auth_type: hybrid | 📍 provider.go:69 | environment: debug | fallback_to: jwt | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | keycloak_enabled: true | keycloak_issuer: https://auth.rssa.top/realms/Dev | service: service-general | static_tokens_len: 4
[2026-04-20 12:19:58.836] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-20 12:19:58.837] [INFO ] Application started successfully                        | 📍 main.go:409 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 12:19:58.837] [INFO ] REST API running                                        | 📍 main.go:348 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-20 12:19:58.837] [INFO ] gRPC Server running                                     | 📍 main.go:375 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-20 12:21:04.759] [INFO ] Application starting                                    | 📍 main.go:91 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-20 12:21:04.759] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:106 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-20 12:21:04.759] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:118 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 12:21:04.759] [INFO ] Initializing database service with GORM as primary abstraction... | 📍 database.go:192 | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 12:21:04.768] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 12:21:04.768] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 12:21:04.777] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 12:21:04.777] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 12:21:04.784] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 12:21:04.784] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 12:21:04.785] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 12:21:04.785] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 12:21:04.805] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 12:21:04.805] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 12:21:04.806] [INFO ] Cache initialized                                       | 📍 main.go:151 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-20 12:21:04.807] [INFO ] Creating authentication providers                       | auth_type: hybrid | 📍 provider.go:69 | environment: debug | fallback_to: jwt | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | keycloak_enabled: true | keycloak_issuer: https://auth.rssa.top/realms/Dev | service: service-general | static_tokens_len: 4
[2026-04-20 12:21:04.807] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-20 12:21:04.808] [INFO ] Application started successfully                        | 📍 main.go:409 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 12:21:04.808] [INFO ] gRPC Server running                                     | 📍 main.go:375 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-20 12:21:04.808] [INFO ] REST API running                                        | 📍 main.go:348 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-20 12:26:11.721] [INFO ] Application starting                                    | 📍 main.go:91 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-20 12:26:11.721] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:106 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-20 12:26:11.721] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:118 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 12:26:11.721] [INFO ] Initializing database service with GORM as primary abstraction... | 📍 database.go:192 | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 12:26:11.723] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 12:26:11.723] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 12:26:11.743] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 12:26:11.743] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 12:26:11.754] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 12:26:11.755] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 12:26:11.764] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 12:26:11.764] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 12:26:11.773] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 12:26:11.773] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 12:26:11.775] [INFO ] Cache initialized                                       | 📍 main.go:151 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-20 12:26:11.775] [INFO ] Creating authentication providers                       | auth_type: hybrid | 📍 provider.go:69 | environment: debug | fallback_to: jwt | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | keycloak_enabled: true | keycloak_issuer: https://auth.rssa.top/realms/Dev | service: service-general | static_tokens_len: 4
[2026-04-20 12:26:11.775] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-20 12:26:11.776] [INFO ] Application started successfully                        | 📍 main.go:409 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 12:26:11.776] [INFO ] REST API running                                        | 📍 main.go:348 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-20 12:26:11.776] [INFO ] gRPC Server running                                     | 📍 main.go:375 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-20 12:26:16.379] [INFO ] Application starting                                    | 📍 main.go:91 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-20 12:26:16.379] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:106 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-20 12:26:16.379] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:118 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 12:26:16.379] [INFO ] Initializing database service with GORM as primary abstraction... | 📍 database.go:192 | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 12:26:16.388] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 12:26:16.388] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 12:26:16.396] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 12:26:16.396] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 12:26:16.402] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 12:26:16.402] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 12:26:16.404] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 12:26:16.404] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 12:26:16.423] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 12:26:16.423] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 12:26:16.424] [INFO ] Cache initialized                                       | 📍 main.go:151 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-20 12:26:16.425] [INFO ] Creating authentication providers                       | auth_type: hybrid | 📍 provider.go:69 | environment: debug | fallback_to: jwt | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | keycloak_enabled: true | keycloak_issuer: https://auth.rssa.top/realms/Dev | service: service-general | static_tokens_len: 4
[2026-04-20 12:26:16.425] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-20 12:26:16.426] [INFO ] Application started successfully                        | 📍 main.go:409 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 12:26:16.426] [INFO ] gRPC Server running                                     | 📍 main.go:375 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-20 12:26:16.426] [INFO ] REST API running                                        | 📍 main.go:348 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-20 12:26:20.724] [INFO ] Application starting                                    | 📍 main.go:91 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-20 12:26:20.724] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:106 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-20 12:26:20.724] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:118 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 12:26:20.724] [INFO ] Initializing database service with GORM as primary abstraction... | 📍 database.go:192 | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 12:26:20.732] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 12:26:20.733] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 12:26:20.740] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 12:26:20.740] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 12:26:20.747] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 12:26:20.747] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 12:26:20.748] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 12:26:20.748] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 12:26:20.767] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 12:26:20.767] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 12:26:20.769] [INFO ] Cache initialized                                       | 📍 main.go:151 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-20 12:26:20.770] [INFO ] Creating authentication providers                       | auth_type: hybrid | 📍 provider.go:69 | environment: debug | fallback_to: jwt | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | keycloak_enabled: true | keycloak_issuer: https://auth.rssa.top/realms/Dev | service: service-general | static_tokens_len: 4
[2026-04-20 12:26:20.770] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-20 12:26:20.771] [INFO ] Application started successfully                        | 📍 main.go:409 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 12:26:20.771] [INFO ] REST API running                                        | 📍 main.go:348 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-20 12:26:20.771] [INFO ] gRPC Server running                                     | 📍 main.go:375 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-20 12:32:43.989] [INFO ] Application starting                                    | 📍 main.go:91 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-20 12:32:43.989] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:106 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-20 12:32:43.989] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:118 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 12:32:43.989] [INFO ] Initializing database service with GORM as primary abstraction... | 📍 database.go:192 | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 12:32:43.999] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 12:32:43.999] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 12:32:44.007] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 12:32:44.007] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 12:32:44.009] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 12:32:44.009] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 12:32:44.029] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 12:32:44.029] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 12:32:44.039] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 12:32:44.039] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 12:32:44.041] [INFO ] Cache initialized                                       | 📍 main.go:151 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-20 12:32:44.041] [INFO ] Creating authentication providers                       | auth_type: hybrid | 📍 provider.go:69 | environment: debug | fallback_to: jwt | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | keycloak_enabled: true | keycloak_issuer: https://auth.rssa.top/realms/Dev | service: service-general | static_tokens_len: 4
[2026-04-20 12:32:44.041] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-20 12:32:44.042] [INFO ] Application started successfully                        | 📍 main.go:409 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 12:32:44.042] [INFO ] gRPC Server running                                     | 📍 main.go:375 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-20 12:32:44.043] [INFO ] REST API running                                        | 📍 main.go:348 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-20 12:33:07.581] [INFO ] Application starting                                    | 📍 main.go:91 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-20 12:33:07.581] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:106 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-20 12:33:07.581] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:118 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 12:33:07.581] [INFO ] Initializing database service with GORM as primary abstraction... | 📍 database.go:192 | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 12:33:07.602] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 12:33:07.602] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 12:33:07.612] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 12:33:07.612] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 12:33:07.619] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 12:33:07.619] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 12:33:07.626] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 12:33:07.626] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 12:33:07.627] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 12:33:07.627] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 12:33:07.629] [INFO ] Cache initialized                                       | 📍 main.go:151 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-20 12:33:07.629] [INFO ] Creating authentication providers                       | auth_type: hybrid | 📍 provider.go:69 | environment: debug | fallback_to: jwt | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | keycloak_enabled: true | keycloak_issuer: https://auth.rssa.top/realms/Dev | service: service-general | static_tokens_len: 4
[2026-04-20 12:33:07.629] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-20 12:33:07.630] [INFO ] Application started successfully                        | 📍 main.go:409 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 12:33:07.630] [INFO ] gRPC Server running                                     | 📍 main.go:375 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-20 12:33:07.630] [INFO ] REST API running                                        | 📍 main.go:348 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-20 12:33:13.269] [INFO ] Application starting                                    | 📍 main.go:91 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-20 12:33:13.269] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:106 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-20 12:33:13.269] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:118 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 12:33:13.269] [INFO ] Initializing database service with GORM as primary abstraction... | 📍 database.go:192 | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 12:33:13.277] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 12:33:13.277] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 12:33:13.283] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 12:33:13.283] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 12:33:13.285] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 12:33:13.285] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 12:33:13.304] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 12:33:13.304] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 12:33:13.313] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 12:33:13.313] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 12:33:13.314] [INFO ] Cache initialized                                       | 📍 main.go:151 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-20 12:33:13.315] [INFO ] Creating authentication providers                       | auth_type: hybrid | 📍 provider.go:69 | environment: debug | fallback_to: jwt | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | keycloak_enabled: true | keycloak_issuer: https://auth.rssa.top/realms/Dev | service: service-general | static_tokens_len: 4
[2026-04-20 12:33:13.315] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-20 12:33:13.316] [INFO ] Application started successfully                        | 📍 main.go:409 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 12:33:13.316] [INFO ] REST API running                                        | 📍 main.go:348 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-20 12:33:13.316] [INFO ] gRPC Server running                                     | 📍 main.go:375 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-20 12:33:19.227] [INFO ] Application starting                                    | 📍 main.go:91 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-20 12:33:19.228] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:106 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-20 12:33:19.228] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:118 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 12:33:19.228] [INFO ] Initializing database service with GORM as primary abstraction... | 📍 database.go:192 | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 12:33:19.237] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 12:33:19.237] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 12:33:19.246] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 12:33:19.246] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 12:33:19.253] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 12:33:19.253] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 12:33:19.254] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 12:33:19.254] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 12:33:19.276] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 12:33:19.276] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 12:33:19.278] [INFO ] Cache initialized                                       | 📍 main.go:151 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-20 12:33:19.278] [INFO ] Creating authentication providers                       | auth_type: hybrid | 📍 provider.go:69 | environment: debug | fallback_to: jwt | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | keycloak_enabled: true | keycloak_issuer: https://auth.rssa.top/realms/Dev | service: service-general | static_tokens_len: 4
[2026-04-20 12:33:19.278] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-20 12:33:19.279] [INFO ] Application started successfully                        | 📍 main.go:409 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 12:33:19.279] [INFO ] REST API running                                        | 📍 main.go:348 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-20 12:33:19.279] [INFO ] gRPC Server running                                     | 📍 main.go:375 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-20 12:33:22.203] [INFO ] Application starting                                    | 📍 main.go:91 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-20 12:33:22.203] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:106 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-20 12:33:22.203] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:118 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 12:33:22.203] [INFO ] Initializing database service with GORM as primary abstraction... | 📍 database.go:192 | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 12:33:22.213] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 12:33:22.213] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 12:33:22.215] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 12:33:22.215] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 12:33:22.242] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 12:33:22.243] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 12:33:22.255] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 12:33:22.255] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 12:33:22.262] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 12:33:22.262] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 12:33:22.264] [INFO ] Cache initialized                                       | 📍 main.go:151 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-20 12:33:22.265] [INFO ] Creating authentication providers                       | auth_type: hybrid | 📍 provider.go:69 | environment: debug | fallback_to: jwt | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | keycloak_enabled: true | keycloak_issuer: https://auth.rssa.top/realms/Dev | service: service-general | static_tokens_len: 4
[2026-04-20 12:33:22.265] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-20 12:33:22.265] [INFO ] Application started successfully                        | 📍 main.go:409 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 12:33:22.266] [INFO ] gRPC Server running                                     | 📍 main.go:375 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-20 12:33:22.266] [INFO ] REST API running                                        | 📍 main.go:348 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-20 12:33:27.124] [INFO ] Application starting                                    | 📍 main.go:91 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-20 12:33:27.124] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:106 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-20 12:33:27.124] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:118 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 12:33:27.124] [INFO ] Initializing database service with GORM as primary abstraction... | 📍 database.go:192 | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 12:33:27.131] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 12:33:27.132] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 12:33:27.133] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 12:33:27.133] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 12:33:27.152] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 12:33:27.152] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 12:33:27.161] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 12:33:27.161] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 12:33:27.169] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 12:33:27.169] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 12:33:27.170] [INFO ] Cache initialized                                       | 📍 main.go:151 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-20 12:33:27.171] [INFO ] Creating authentication providers                       | auth_type: hybrid | 📍 provider.go:69 | environment: debug | fallback_to: jwt | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | keycloak_enabled: true | keycloak_issuer: https://auth.rssa.top/realms/Dev | service: service-general | static_tokens_len: 4
[2026-04-20 12:33:27.171] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-20 12:33:27.172] [INFO ] Application started successfully                        | 📍 main.go:409 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 12:33:27.172] [INFO ] gRPC Server running                                     | 📍 main.go:375 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-20 12:33:27.172] [INFO ] REST API running                                        | 📍 main.go:348 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-20 12:33:30.822] [INFO ] Application starting                                    | 📍 main.go:91 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-20 12:33:30.822] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:106 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-20 12:33:30.822] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:118 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 12:33:30.822] [INFO ] Initializing database service with GORM as primary abstraction... | 📍 database.go:192 | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 12:33:30.830] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 12:33:30.830] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 12:33:30.839] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 12:33:30.839] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 12:33:30.840] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 12:33:30.841] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 12:33:30.860] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 12:33:30.860] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 12:33:30.868] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 12:33:30.868] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 12:33:30.869] [INFO ] Cache initialized                                       | 📍 main.go:151 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-20 12:33:30.870] [INFO ] Creating authentication providers                       | auth_type: hybrid | 📍 provider.go:69 | environment: debug | fallback_to: jwt | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | keycloak_enabled: true | keycloak_issuer: https://auth.rssa.top/realms/Dev | service: service-general | static_tokens_len: 4
[2026-04-20 12:33:30.870] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-20 12:33:30.871] [INFO ] REST API running                                        | 📍 main.go:348 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-20 12:33:30.871] [INFO ] Application started successfully                        | 📍 main.go:409 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 12:33:30.872] [INFO ] gRPC Server running                                     | 📍 main.go:375 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-20 12:37:56.922] [INFO ] Application starting                                    | 📍 main.go:91 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-20 12:37:56.922] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:106 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-20 12:37:56.923] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:118 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 12:37:56.923] [INFO ] Initializing database service with GORM as primary abstraction... | 📍 database.go:192 | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 12:37:56.932] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 12:37:56.932] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 12:37:56.940] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 12:37:56.940] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 12:37:56.947] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 12:37:56.947] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 12:37:56.948] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 12:37:56.948] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 12:37:56.967] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 12:37:56.967] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 12:37:56.969] [INFO ] Cache initialized                                       | 📍 main.go:151 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-20 12:37:56.969] [INFO ] Creating authentication providers                       | auth_type: hybrid | 📍 provider.go:69 | environment: debug | fallback_to: jwt | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | keycloak_enabled: true | keycloak_issuer: https://auth.rssa.top/realms/Dev | service: service-general | static_tokens_len: 4
[2026-04-20 12:37:56.969] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-20 12:37:56.970] [INFO ] Application started successfully                        | 📍 main.go:409 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 12:37:56.970] [INFO ] gRPC Server running                                     | 📍 main.go:375 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-20 12:37:56.970] [INFO ] REST API running                                        | 📍 main.go:348 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-20 12:45:57.159] [INFO ] Application starting                                    | 📍 main.go:92 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-20 12:45:57.160] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:107 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-20 12:45:57.160] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:119 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 12:45:57.160] [INFO ] Initializing database service with GORM as primary abstraction... | 📍 database.go:192 | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 12:45:57.175] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 12:45:57.175] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 12:45:57.184] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 12:45:57.184] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 12:45:57.192] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 12:45:57.192] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 12:45:57.194] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 12:45:57.194] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 12:45:57.217] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 12:45:57.217] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 12:45:57.220] [INFO ] Cache initialized                                       | 📍 main.go:152 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-20 12:45:57.220] [INFO ] Creating authentication providers                       | auth_type: hybrid | 📍 provider.go:69 | environment: debug | fallback_to: jwt | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | keycloak_enabled: true | keycloak_issuer: https://auth.rssa.top/realms/Dev | service: service-general | static_tokens_len: 4
[2026-04-20 12:45:57.220] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-20 12:45:57.222] [INFO ] REST API running                                        | 📍 main.go:354 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-20 12:45:57.222] [INFO ] Application started successfully                        | 📍 main.go:415 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 12:45:57.222] [INFO ] gRPC Server running                                     | 📍 main.go:381 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-20 12:50:10.348] [ERROR] HTTP error occurred                                     | 📍 http.go:116 | category: unauthorized | environment: debug | error_code: UNAUTHORIZED | ⚙️ service/pkg/errors.LogHTTPError | http_status: 401 | metadata: map[reason:map[provider_errors:map[jwt:invalid token keycloak:token expired] severity:warning timestamp:2026-04-20T12:50:10Z] timestamp:2026-04-20T12:50:10Z] | method: POST | path: /api/v1/satusehat/imagingstudy | service: service-general
[2026-04-20 12:50:10.348] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.26.0.9 | latency: 1.921495ms | method: POST | path: /api/v1/satusehat/imagingstudy | request_id: 504f17e8-eb6a-4ff8-9e9e-eff4e0c641d3 | service: service-general | status: 401 | user_agent: Go-http-client/1.1
[2026-04-20 12:50:10.350] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.26.0.9 | latency: 700.118µs | method: POST | path: /api/v1/auth/refresh | request_id: fa1fb5d2-bd09-44a4-972d-81984b7e1b59 | service: service-general | status: 200 | user_agent: Go-http-client/1.1
[2026-04-20 12:50:10.536] [INFO ] 🔑 SatuSehat Access Token refreshed successfully         | 📍 client.go:136 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).GetAccessToken | service: service-general
[2026-04-20 12:50:10.537] [INFO ] 🛫 SatuSehat API Request Sent                            | 📍 client.go:216 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).do | method: POST | service: service-general | target_url: https://api-satusehat.kemkes.go.id/fhir-r4/v1/ImagingStudy
[2026-04-20 12:50:10.748] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.26.0.9 | latency: 396.14879ms | method: POST | path: /api/v1/satusehat/imagingstudy | request_id: 9b3ab41e-df71-4658-83fa-949956f2924d | service: service-general | status: 201 | user_agent: Go-http-client/1.1
[2026-04-20 12:50:29.168] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.123.84 | latency: 433.423µs | method: GET | path: /api/v1/satusehat/dicom/studies | request_id: b00094b9-3fa1-40c4-9750-10627aee17ba | service: service-general | status: 405 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-20 13:00:45.249] [INFO ] Application starting                                    | 📍 main.go:92 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-20 13:00:45.250] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:107 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-20 13:00:45.250] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:119 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 13:00:45.250] [INFO ] Initializing database service with GORM as primary abstraction... | 📍 database.go:192 | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 13:00:45.252] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 13:00:45.252] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 13:00:45.275] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 13:00:45.275] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 13:00:45.289] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 13:00:45.289] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 13:00:45.297] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 13:00:45.297] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 13:00:45.303] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 13:00:45.303] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 13:00:45.306] [INFO ] Cache initialized                                       | 📍 main.go:152 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-20 13:00:45.306] [INFO ] Creating authentication providers                       | auth_type: hybrid | 📍 provider.go:69 | environment: debug | fallback_to: jwt | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | keycloak_enabled: true | keycloak_issuer: https://auth.rssa.top/realms/Dev | service: service-general | static_tokens_len: 4
[2026-04-20 13:00:45.307] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-20 13:00:45.308] [INFO ] REST API running                                        | 📍 main.go:354 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-20 13:00:45.308] [INFO ] Application started successfully                        | 📍 main.go:415 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 13:00:45.308] [INFO ] gRPC Server running                                     | 📍 main.go:381 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-20 13:01:16.002] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.123.84 | latency: 606.354µs | method: GET | path: /api/v1/satusehat/dicom/studies | request_id: 75e930a1-7bce-445f-ae26-319affd9be3f | service: service-general | status: 405 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-20 13:01:51.215] [ERROR] HTTP error occurred                                     | 📍 http.go:116 | category: unauthorized | environment: debug | error_code: UNAUTHORIZED | ⚙️ service/pkg/errors.LogHTTPError | http_status: 401 | metadata: map[reason:map[provider_errors:map[jwt:invalid token keycloak:token expired] severity:warning timestamp:2026-04-20T13:01:51Z] timestamp:2026-04-20T13:01:51Z] | method: POST | path: /api/v1/satusehat/dicom/studies | service: service-general
[2026-04-20 13:01:51.216] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.123.84 | latency: 1.302878ms | method: POST | path: /api/v1/satusehat/dicom/studies | request_id: 19efb2d6-c4d5-4747-9d23-0f3bf14ad095 | service: service-general | status: 401 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-20 13:01:57.980] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.123.84 | latency: 1.036825ms | method: POST | path: /api/v1/auth/login | request_id: d0fa7fb7-43a4-4b13-81dc-5538d7302a4a | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-20 13:02:00.199] [INFO ] Mempersiapkan upload DICOM                              | 📍 service.go:28 | environment: debug | file_size_bytes: 647462 | ⚙️ service/internal/satusehat/usecase/studies.(*service).UploadDICOM | service: service-general
[2026-04-20 13:02:00.613] [INFO ] 🔑 SatuSehat Access Token refreshed successfully         | 📍 client.go:136 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).GetAccessToken | service: service-general
[2026-04-20 13:02:00.613] [INFO ] 🛫 Mengirim DICOM ke SatuSehat                           | 📍 client.go:345 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).UploadDICOM | service: service-general | target_url: https://api-satusehat.kemkes.go.id/dicom/v1/dicomWeb/studies
[2026-04-20 13:02:01.183] [ERROR] SatuSehat DICOM API Error                               | 📍 client.go:359 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).UploadDICOM | response: {"00081198":{"vr":"SQ","Value":[{"00081197":{"vr":"US","Value":[272]},"00090010":{"vr":"LO","Value":["SATUSEHAT"]},"00091097":{"vr":"LT","Value":["Cannot parse DICOM file: invalid DICOM file: missing required tag: StudyInstanceUID(0020,000D)"]}}]}}
 | service: service-general | status_code: 409
[2026-04-20 13:02:01.183] [ERROR] HTTP error occurred                                     | 📍 http.go:116 | category: internal | environment: debug | error_code: INTERNAL_ERROR | ⚙️ service/pkg/errors.LogHTTPError | http_status: 500 | metadata: map[severity:error timestamp:2026-04-20T13:02:01Z] | method: POST | path: /api/v1/satusehat/dicom/studies | service: service-general
[2026-04-20 13:02:01.183] [ERROR] HTTP Request                                            | 📍 middleware.go:173 | environment: debug | ❌ ERROR: Error #01: Gagal meneruskan file DICOM ke SatuSehat: DICOM Upload Error (HTTP 409): {"00081198":{"vr":"SQ","Value":[{"00081197":{"vr":"US","Value":[272]},"00090010":{"vr":"LO","Value":["SATUSEHAT"]},"00091097":{"vr":"LT","Value":["Cannot parse DICOM file: invalid DICOM file: missing required tag: StudyInstanceUID(0020,000D)"]}}]}}

 | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.123.84 | latency: 1.29010106s | method: POST | path: /api/v1/satusehat/dicom/studies | request_id: 011b960e-9912-4087-b6c1-7d0c6aed184e | service: service-general | status: 500 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-20 13:02:01.183] [ERROR] HTTP error occurred                                     | 📍 middleware.go:235 | category: internal | environment: debug | error_code: INTERNAL_ERROR | ⚙️ service/pkg/errors.handleErrors | http_status: 500 | metadata: map[severity:error timestamp:2026-04-20T13:02:01Z] | method: POST | path: /api/v1/satusehat/dicom/studies | request_id: req_1776690119893496441 | service: service-general
[2026-04-20 13:08:28.149] [INFO ] 🛫 SatuSehat API Request Sent                            | 📍 client.go:216 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).do | method: GET | service: service-general | target_url: https://api-satusehat.kemkes.go.id/kfa-v2/products/all?page=100&product_type=farmasi&size=5
[2026-04-20 13:08:28.537] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.123.84 | latency: 388.074199ms | method: GET | path: /api/v1/satusehat/reference/kfa/products | query: page=100&size=5&product_type=farmasi&from_date=2026-01-01&to_date=2026-01-31&farmalkes_type=vaccine | request_id: f90aa1e2-bd87-4569-996b-c76515ad0be3 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-20 13:09:18.958] [INFO ] 🛫 SatuSehat API Request Sent                            | 📍 client.go:216 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).do | method: GET | service: service-general | target_url: https://api-satusehat.kemkes.go.id/kfa-v2/products?identifier=kfa&code=91000136
[2026-04-20 13:09:19.055] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.123.84 | latency: 96.983689ms | method: GET | path: /api/v1/satusehat/reference/kfa/products/91000136 | request_id: f6b972b9-9dcd-46e9-afcf-5e7b6e111439 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-20 13:09:45.232] [INFO ] 🛫 SatuSehat API Request Sent                            | 📍 client.go:216 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).do | method: GET | service: service-general | target_url: https://api-satusehat.kemkes.go.id/kfa-v2/products/all?page=100&product_type=farmasi&size=5
[2026-04-20 13:09:45.637] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.123.84 | latency: 405.594347ms | method: GET | path: /api/v1/satusehat/reference/kfa/products | query: page=100&size=5&product_type=farmasi&from_date=2026-01-01&to_date=2026-01-31&farmalkes_type=vaccine | request_id: 4c19765a-c806-499e-a1cf-91aadc0c6738 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-20 13:13:37.403] [INFO ] 🛫 SatuSehat API Request Sent                            | 📍 client.go:216 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).do | method: GET | service: service-general | target_url: https://api-satusehat.kemkes.go.id/kfa-v2/products/all?page=1&size=10
[2026-04-20 13:13:37.780] [ERROR] SatuSehat API Error                                     | 📍 client.go:266 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).do | response: {"status":400,"error":true,"message":"ProductType: cannot be blank.","data":null}
 | service: service-general | status_code: 400
[2026-04-20 13:13:37.780] [ERROR] Gagal mencari daftar produk KFA                         | 📍 repository.go:63 | environment: debug | ❌ ERROR: SatuSehat API Error (HTTP 400): {"status":400,"error":true,"message":"ProductType: cannot be blank.","data":null}
 | ⚙️ service/internal/satusehat/reference/kfa.(*repository).GetProducts | service: service-general
[2026-04-20 13:13:37.780] [ERROR] HTTP error occurred                                     | 📍 http.go:116 | category: internal | environment: debug | error_code: INTERNAL_ERROR | ⚙️ service/pkg/errors.LogHTTPError | http_status: 500 | metadata: map[reason:map[severity:error timestamp:2026-04-20T13:13:37Z] timestamp:2026-04-20T13:13:37Z] | method: GET | path: /api/v1/satusehat/reference/kfa/products | service: service-general
[2026-04-20 13:13:37.780] [ERROR] HTTP Request                                            | 📍 middleware.go:173 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.123.84 | latency: 378.25764ms | method: GET | path: /api/v1/satusehat/reference/kfa/products | query: identifier=kfa&code=93000469&template_code | request_id: 3eaec337-3df2-4c51-98ff-d91152cce9fa | service: service-general | status: 500 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-20 13:13:45.167] [INFO ] 🛫 SatuSehat API Request Sent                            | 📍 client.go:216 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).do | method: GET | service: service-general | target_url: https://api-satusehat.kemkes.go.id/kfa-v2/products/all?page=1&size=10
[2026-04-20 13:13:45.237] [ERROR] SatuSehat API Error                                     | 📍 client.go:266 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).do | response: {"status":400,"error":true,"message":"ProductType: cannot be blank.","data":null}
 | service: service-general | status_code: 400
[2026-04-20 13:13:45.237] [ERROR] Gagal mencari daftar produk KFA                         | 📍 repository.go:63 | environment: debug | ❌ ERROR: SatuSehat API Error (HTTP 400): {"status":400,"error":true,"message":"ProductType: cannot be blank.","data":null}
 | ⚙️ service/internal/satusehat/reference/kfa.(*repository).GetProducts | service: service-general
[2026-04-20 13:13:45.237] [ERROR] HTTP error occurred                                     | 📍 http.go:116 | category: internal | environment: debug | error_code: INTERNAL_ERROR | ⚙️ service/pkg/errors.LogHTTPError | http_status: 500 | metadata: map[reason:map[severity:error timestamp:2026-04-20T13:13:45Z] timestamp:2026-04-20T13:13:45Z] | method: GET | path: /api/v1/satusehat/reference/kfa/products | service: service-general
[2026-04-20 13:13:45.237] [ERROR] HTTP Request                                            | 📍 middleware.go:173 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.123.84 | latency: 71.115446ms | method: GET | path: /api/v1/satusehat/reference/kfa/products | query: identifier=kfa&code=93000469 | request_id: f21719b4-1589-42b1-a0e4-4299d39331b1 | service: service-general | status: 500 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-20 13:16:02.517] [INFO ] 🛫 SatuSehat API Request Sent                            | 📍 client.go:216 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).do | method: GET | service: service-general | target_url: https://api-satusehat.kemkes.go.id/kfa-v2/products?identifier=kfa&code=93000469
[2026-04-20 13:16:02.667] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.123.84 | latency: 150.229797ms | method: GET | path: /api/v1/satusehat/reference/kfa/products/93000469 | request_id: 80db57c3-5098-4ce3-87b3-5082322098d1 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-20 13:16:38.200] [INFO ] Application starting                                    | 📍 main.go:92 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-20 13:16:38.200] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:107 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-20 13:16:38.200] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:119 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 13:16:38.200] [INFO ] Initializing database service with GORM as primary abstraction... | 📍 database.go:192 | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 13:16:38.207] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 13:16:38.207] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 13:16:38.209] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 13:16:38.209] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 13:16:38.230] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 13:16:38.230] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 13:16:38.241] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 13:16:38.241] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 13:16:38.249] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-20 13:16:38.249] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-20 13:16:38.251] [INFO ] Cache initialized                                       | 📍 main.go:152 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-20 13:16:38.251] [INFO ] Creating authentication providers                       | auth_type: hybrid | 📍 provider.go:69 | environment: debug | fallback_to: jwt | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | keycloak_enabled: true | keycloak_issuer: https://auth.rssa.top/realms/Dev | service: service-general | static_tokens_len: 4
[2026-04-20 13:16:38.251] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-20 13:16:38.252] [INFO ] Application started successfully                        | 📍 main.go:415 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-20 13:16:38.252] [INFO ] REST API running                                        | 📍 main.go:354 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-20 13:16:38.252] [INFO ] gRPC Server running                                     | 📍 main.go:381 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-20 13:16:46.346] [INFO ] 🔑 SatuSehat Access Token refreshed successfully         | 📍 client.go:136 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).GetAccessToken | service: service-general
[2026-04-20 13:16:46.346] [INFO ] 🛫 SatuSehat API Request Sent                            | 📍 client.go:216 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).do | method: GET | service: service-general | target_url: https://api-satusehat.kemkes.go.id/kfa-v2/products/all?page=100&product_type=farmasi&size=5
[2026-04-20 13:16:46.649] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.123.84 | latency: 542.300904ms | method: GET | path: /api/v1/satusehat/reference/kfa/products | query: page=100&size=5&product_type=farmasi&from_date=2026-01-01&to_date=2026-01-31&farmalkes_type=vaccine | request_id: fcbaf06d-9b9f-4a60-a9e1-25cdd0101028 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-20 15:00:13.884] [ERROR] HTTP error occurred                                     | 📍 http.go:116 | category: unauthorized | environment: debug | error_code: UNAUTHORIZED | ⚙️ service/pkg/errors.LogHTTPError | http_status: 401 | metadata: map[reason:map[provider_errors:map[jwt:invalid token keycloak:token expired] severity:warning timestamp:2026-04-20T15:00:13Z] timestamp:2026-04-20T15:00:13Z] | method: POST | path: /api/v1/satusehat/imagingstudy | service: service-general
[2026-04-20 15:00:13.884] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.26.0.9 | latency: 1.735947ms | method: POST | path: /api/v1/satusehat/imagingstudy | request_id: e1c7abe8-80b2-4ce3-a79b-cf159ecb1949 | service: service-general | status: 401 | user_agent: Go-http-client/1.1
[2026-04-20 15:00:13.885] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.26.0.9 | latency: 595.794µs | method: POST | path: /api/v1/auth/refresh | request_id: 196425df-6689-4dbc-a5e4-803548afdfdf | service: service-general | status: 200 | user_agent: Go-http-client/1.1
[2026-04-20 15:00:13.886] [INFO ] 🛫 SatuSehat API Request Sent                            | 📍 client.go:216 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).do | method: POST | service: service-general | target_url: https://api-satusehat.kemkes.go.id/fhir-r4/v1/ImagingStudy
[2026-04-20 15:00:14.227] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.26.0.9 | latency: 342.004387ms | method: POST | path: /api/v1/satusehat/imagingstudy | request_id: fc1b515c-f2e9-47eb-8f5e-3a0f91174929 | service: service-general | status: 201 | user_agent: Go-http-client/1.1
