[2026-04-14 05:41:59.766] [INFO ] Application starting                                    | 📍 main.go:76 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-14 05:41:59.766] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:91 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-14 05:41:59.767] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:103 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 05:41:59.767] [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-14 05:41:59.769] [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-14 05:41:59.769] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 05:41:59.789] [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-14 05:41:59.789] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 05:41:59.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-14 05:41:59.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-14 05:41:59.807] [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-14 05:41:59.808] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 05:41:59.814] [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-14 05:41:59.814] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 05:41:59.817] [INFO ] Cache initialized                                       | 📍 main.go:136 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-14 05:41:59.817] [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-14 05:41:59.817] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-14 05:41:59.818] [INFO ] REST API running                                        | 📍 main.go:267 | environment: debug | ⚙️ main.main.func2 | port: 8096 | service: service-general
[2026-04-14 05:41:59.818] [INFO ] Application started successfully                        | 📍 main.go:328 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 05:41:59.818] [INFO ] gRPC Server running                                     | 📍 main.go:294 | environment: debug | ⚙️ main.main.func3 | port: 8097 | service: service-general
[2026-04-14 05:42:19.551] [INFO ] Application starting                                    | 📍 main.go:76 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-14 05:42:19.551] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:91 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-14 05:42:19.551] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:103 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 05:42:19.551] [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-14 05:42:19.552] [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-14 05:42:19.552] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 05:42:19.571] [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-14 05:42:19.571] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 05:42:19.579] [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-14 05:42:19.579] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 05:42:19.587] [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-14 05:42:19.587] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 05:42:19.594] [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-14 05:42:19.594] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 05:42:19.595] [INFO ] Cache initialized                                       | 📍 main.go:136 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-14 05:42:19.596] [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-14 05:42:19.596] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-14 05:42:19.596] [INFO ] Application started successfully                        | 📍 main.go:328 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 05:42:19.596] [INFO ] gRPC Server running                                     | 📍 main.go:294 | environment: debug | ⚙️ main.main.func3 | port: 8097 | service: service-general
[2026-04-14 05:42:19.597] [INFO ] REST API running                                        | 📍 main.go:267 | environment: debug | ⚙️ main.main.func2 | port: 8096 | service: service-general
[2026-04-14 05:42:39.938] [INFO ] Application starting                                    | 📍 main.go:76 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-14 05:42:39.938] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:91 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-14 05:42:39.939] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:103 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 05:42:39.939] [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-14 05:42:39.953] [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-14 05:42:39.953] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 05:42:39.961] [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-14 05:42:39.962] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 05:42:39.969] [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-14 05:42:39.969] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 05:42:39.976] [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-14 05:42:39.976] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 05:42:39.977] [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-14 05:42:39.978] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 05:42:39.979] [INFO ] Cache initialized                                       | 📍 main.go:136 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-14 05:42:39.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-14 05:42:39.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-14 05:42:39.979] [INFO ] Application started successfully                        | 📍 main.go:328 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 05:42:39.980] [INFO ] REST API running                                        | 📍 main.go:267 | environment: debug | ⚙️ main.main.func2 | port: 8096 | service: service-general
[2026-04-14 05:42:39.980] [INFO ] gRPC Server running                                     | 📍 main.go:294 | environment: debug | ⚙️ main.main.func3 | port: 8097 | service: service-general
[2026-04-14 05:42:57.251] [INFO ] Application starting                                    | 📍 main.go:74 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-14 05:42:57.251] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:89 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-14 05:42:57.251] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:101 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 05:42:57.251] [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-14 05:42:57.260] [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-14 05:42:57.260] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 05:42:57.267] [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-14 05:42:57.267] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 05:42:57.274] [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-14 05:42:57.274] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 05:42:57.276] [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-14 05:42:57.276] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 05:42:57.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-14 05:42:57.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-14 05:42:57.300] [INFO ] Cache initialized                                       | 📍 main.go:134 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-14 05:42:57.301] [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-14 05:42:57.301] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-14 05:42:57.301] [INFO ] REST API running                                        | 📍 main.go:265 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-14 05:42:57.301] [INFO ] Application started successfully                        | 📍 main.go:326 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 05:42:57.302] [INFO ] gRPC Server running                                     | 📍 main.go:292 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-14 05:47:42.668] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 974.715µs | method: GET | path: /api/v1/satusehat/reference/auth/token | request_id: d7a300db-2b60-4ff5-9f7c-80f3844e9157 | service: service-general | status: 401 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-14 05:49:06.112] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 1.451461ms | method: POST | path: /api/v1/auth/login | request_id: 271c516a-11dd-40c1-96d0-5353726a66ee | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-14 05:49:11.210] [INFO ] 🔑 SatuSehat Access Token refreshed successfully         | 📍 client.go:124 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).GetAccessToken | service: service-general
[2026-04-14 05:49:11.211] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 186.616612ms | method: GET | path: /api/v1/satusehat/reference/auth/token | request_id: 1516322c-0d75-4538-a923-bcf94636f5c8 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-14 05:49:15.306] [INFO ] 🔑 SatuSehat Access Token refreshed successfully         | 📍 client.go:124 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).GetAccessToken | service: service-general
[2026-04-14 05:49:15.307] [INFO ] 🔄 Token Satu Sehat berhasil di-refresh secara manual    | 📍 service.go:81 | environment: debug | ⚙️ service/internal/satusehat/reference/auth.(*service).RefreshToken | service: service-general
[2026-04-14 05:49:15.307] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 107.302133ms | method: POST | path: /api/v1/satusehat/reference/auth/token/refresh | request_id: f8fcb547-01fe-44ca-89b7-9f95c0aaf0ab | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-14 05:49:19.253] [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/Patient?identifier=https://fhir.kemkes.go.id/id/nik|0341099978952210
[2026-04-14 05:49:19.400] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 147.731818ms | method: GET | path: /api/v1/satusehat/reference/patient/nik/0341099978952210 | request_id: 0cf8dcd6-7c67-4341-b8eb-c1439d38ce9c | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-14 05:49:22.966] [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/Patient?
[2026-04-14 05:49:23.099] [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: 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-14 05:49:23.099] [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-14 05:49:23.099] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 133.83088ms | method: GET | path: /api/v1/satusehat/reference/patient | request_id: d60f00d9-3eac-466f-b2c9-ff51d9d29894 | service: service-general | status: 400 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-14 05:49:28.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/Patient/P01021422990
[2026-04-14 05:49:28.874] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 157.675882ms | method: GET | path: /api/v1/satusehat/reference/patient/P01021422990 | request_id: 81847b40-dce9-4499-b323-da5a4186ee0f | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-14 05:49:45.157] [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/Organization?identifier=http%3A%2F%2Fsys-ids.kemkes.go.id%2Forganization%2F%7B%7Borganization%7D%7D
[2026-04-14 05:49:45.380] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 223.473721ms | method: GET | path: /api/v1/satusehat/reference/organization | query: identifier=http://sys-ids.kemkes.go.id/organization/{{organization}} | request_id: 80db1dc8-e84d-42e6-b165-92dd0e26bea0 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-14 05:51:10.940] [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/Organization?identifier=http%3A%2F%2Fsys-ids.kemkes.go.id%2Forganization%2F100026555
[2026-04-14 05:51:11.102] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 162.494872ms | method: GET | path: /api/v1/satusehat/reference/organization | query: identifier=http://sys-ids.kemkes.go.id/organization/100026555 | request_id: 3843ddaf-85f7-48e8-9ced-aa43b29da530 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-14 05:51:14.180] [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/Organization?identifier=http%3A%2F%2Fsys-ids.kemkes.go.id%2Forganization%2F100026555
[2026-04-14 05:51:14.450] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 270.96456ms | method: GET | path: /api/v1/satusehat/reference/organization | query: identifier=http://sys-ids.kemkes.go.id/organization/100026555 | request_id: 7d7a563f-09fd-49f6-80ce-fde8aa6eb47f | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-14 05:51:56.980] [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/Organization?identifier=http%3A%2F%2Fsys-ids.kemkes.go.id%2Forganization%2F100026555
[2026-04-14 05:51:57.115] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 135.905274ms | method: GET | path: /api/v1/satusehat/reference/organization | query: identifier=http://sys-ids.kemkes.go.id/organization/100026555 | request_id: 0e379536-3ab4-4dc6-8db5-dfaee3487b06 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-14 05:52:06.679] [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/Organization?partof=100026555
[2026-04-14 05:52:06.899] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 220.516481ms | method: GET | path: /api/v1/satusehat/reference/organization | query: partof=100026555 | request_id: 543be4a2-3976-40bf-91fe-6ebaabb1c28f | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-14 05:53:40.612] [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/Organization?identifier=http%3A%2F%2Fsys-ids.kemkes.go.id%2Forganization%2F
[2026-04-14 05:53:40.854] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 242.666765ms | method: GET | path: /api/v1/satusehat/reference/organization | query: identifier=http://sys-ids.kemkes.go.id/organization/ | request_id: bc7dd15d-312f-4aa8-9328-f05c6f5716e8 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-14 05:53:54.171] [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/Organization?partof=100026555
[2026-04-14 05:53:54.384] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 213.703725ms | method: GET | path: /api/v1/satusehat/reference/organization | query: partof=100026555 | request_id: a6f44584-324b-40a8-9922-0ee5060b73a1 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-14 05:54:19.722] [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/Organization?identifier=http%3A%2F%2Fsys-ids.kemkes.go.id%2Forganization%2Fe1ac8d76-6d86-4463-bebf-6d5a80bda8c6
[2026-04-14 05:54:19.867] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 144.959381ms | method: GET | path: /api/v1/satusehat/reference/organization | query: identifier=http://sys-ids.kemkes.go.id/organization/e1ac8d76-6d86-4463-bebf-6d5a80bda8c6 | request_id: a2c40e58-86b9-4471-9160-c7a7f4bb6f4b | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-14 05:54:29.156] [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/Organization?partof=100026555
[2026-04-14 05:54:29.360] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 203.569362ms | method: GET | path: /api/v1/satusehat/reference/organization | query: partof=100026555 | request_id: 8d92a977-f4f8-4a72-a291-5f770cb619c9 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-14 05:54:57.326] [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-14 05:54:57.435] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 109.897749ms | method: GET | path: /api/v1/satusehat/reference/location/e95ef6c7-21fe-4aff-86ad-d279984e380d | request_id: 7f08be20-5bf9-4055-9b6c-0634d68cbecc | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-14 05:55:30.668] [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?
[2026-04-14 05:55:30.926] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 258.470519ms | method: GET | path: /api/v1/satusehat/reference/location | request_id: ea2928af-9ab0-4cf2-aa1d-b4b17e22ec93 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-14 05:55:45.277] [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/Practitioner?identifier=https%3A%2F%2Ffhir.kemkes.go.id%2Fid%2Fnik%7C3573032410890003
[2026-04-14 05:55:45.497] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 220.509956ms | method: GET | path: /api/v1/satusehat/reference/practitioner | query: nik=3573032410890003 | request_id: ba31194f-ee41-4a5e-8a82-56483731eaf0 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-14 05:55:52.776] [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/Practitioner/10005043489
[2026-04-14 05:55:52.922] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 146.939192ms | method: GET | path: /api/v1/satusehat/reference/practitioner/10005043489 | request_id: 2a71ed52-c834-4de6-8860-9ceef7945557 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-14 05:56:10.303] [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/kfa-v2/products/all?page=100&product_type=farmasi&size=5
[2026-04-14 05:56:10.605] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 302.559871ms | 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: 713b1cd1-7494-4bd5-8415-8c8e6b04a70a | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-14 05:56:14.031] [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/kfa-v2/products?identifier=kfa&code=93000469
[2026-04-14 05:56:14.136] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 105.56839ms | method: GET | path: /api/v1/satusehat/reference/kfa/products/93000469 | request_id: faa7057a-3e7b-42ae-9fd4-b28f917a674e | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-14 05:58:05.453] [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-14 05:58:05.641] [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-14 05:58:05.641] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ❌ ERROR: Error #01: SatuSehat API Error (HTTP 400)
 | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 189.68158ms | method: GET | path: /api/v1/satusehat/encounter | request_id: 9580db34-d181-4810-bca9-384d032c5146 | service: service-general | status: 400 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-14 05:58:05.642] [ERROR] HTTP error occurred                                     | 📍 middleware.go:235 | category: internal | environment: debug | error_code: INTERNAL_ERROR | ⚙️ service/pkg/errors.handleErrors | http_status: 500 | metadata: map[] | method: GET | path: /api/v1/satusehat/encounter | request_id: req_1776146285452158587 | service: service-general
[2026-04-14 06:00:36.008] [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-14 06:00:40.274] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 4.265918161s | method: GET | path: /api/v1/satusehat/encounter/5c75c49a-3727-4669-bff6-fbdf0cac81bc | request_id: 849e73c5-1355-4f63-825f-7c8f37c2ba35 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-14 08:09:33.604] [INFO ] Application starting                                    | 📍 main.go:74 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-14 08:09:33.604] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:89 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-14 08:09:33.604] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:101 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 08:09:33.604] [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-14 08:09:33.607] [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-14 08:09:33.607] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 08:09:33.626] [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-14 08:09:33.626] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 08:09:33.635] [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-14 08:09:33.635] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 08:09:33.642] [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-14 08:09:33.642] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 08:09:33.649] [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-14 08:09:33.650] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 08:09:33.652] [INFO ] Cache initialized                                       | 📍 main.go:134 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-14 08:09:33.652] [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-14 08:09:33.652] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-14 08:09:33.653] [INFO ] Application started successfully                        | 📍 main.go:326 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 08:09:33.653] [INFO ] gRPC Server running                                     | 📍 main.go:292 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-14 08:09:33.653] [INFO ] REST API running                                        | 📍 main.go:265 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-14 08:10:55.874] [INFO ] Application starting                                    | 📍 main.go:90 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-14 08:10:55.874] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:105 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-14 08:10:55.874] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:117 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 08:10:55.874] [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-14 08:10:55.884] [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-14 08:10:55.884] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 08:10:55.893] [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-14 08:10:55.893] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 08:10:55.900] [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-14 08:10:55.900] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 08:10:55.902] [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-14 08:10:55.902] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 08:10:55.922] [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-14 08:10:55.922] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 08:10:55.924] [INFO ] Cache initialized                                       | 📍 main.go:150 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-14 08:10:55.925] [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-14 08:10:55.925] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-14 08:10:55.926] [INFO ] REST API running                                        | 📍 main.go:343 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-14 08:10:55.926] [INFO ] Application started successfully                        | 📍 main.go:404 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 08:10:55.927] [INFO ] gRPC Server running                                     | 📍 main.go:370 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-14 08:38:42.535] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 1.318014ms | method: POST | path: /api/v1/satusehat/imagingstudy | request_id: 758c335d-c045-49a2-8d8a-fc0ef25f5061 | service: service-general | status: 401 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-14 08:38:56.009] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 1.198441ms | method: POST | path: /api/v1/auth/login | request_id: 6d5eeb52-7446-48b4-910f-7ebc9d0686a3 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-14 08:38:59.149] [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-14 08:38:59.149] [ERROR] HTTP Request                                            | 📍 middleware.go:173 | environment: debug | ❌ ERROR: Error #01: failed to get SatuSehat access token: SatuSehat Auth failed with status 429: 
                {
                    "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/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 151.121898ms | method: POST | path: /api/v1/satusehat/imagingstudy | request_id: c67a3f9f-4120-4ada-a312-2b85d06176f2 | service: service-general | status: 500 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-14 08:38:59.149] [ERROR] HTTP error occurred                                     | 📍 middleware.go:235 | category: internal | environment: debug | error_code: INTERNAL_ERROR | ⚙️ service/pkg/errors.handleErrors | http_status: 500 | metadata: map[] | method: POST | path: /api/v1/satusehat/imagingstudy | request_id: req_1776155938998534183 | service: service-general
[2026-04-14 08:40:38.438] [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-14 08:40:38.439] [ERROR] HTTP Request                                            | 📍 middleware.go:173 | environment: debug | ❌ ERROR: Error #01: failed to get SatuSehat access token: SatuSehat Auth failed with status 429: 
                {
                    "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/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 118.051301ms | method: POST | path: /api/v1/satusehat/imagingstudy | request_id: aa949e01-9ad3-46ea-80d7-d3bcbd095d2a | service: service-general | status: 500 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-14 08:40:38.439] [ERROR] HTTP error occurred                                     | 📍 middleware.go:235 | category: internal | environment: debug | error_code: INTERNAL_ERROR | ⚙️ service/pkg/errors.handleErrors | http_status: 500 | metadata: map[] | method: POST | path: /api/v1/satusehat/imagingstudy | request_id: req_1776156038321089427 | service: service-general
[2026-04-14 08:44:43.299] [INFO ] 🔑 SatuSehat Access Token refreshed successfully         | 📍 client.go:124 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).GetAccessToken | service: service-general
[2026-04-14 08:44:43.299] [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/fhir-r4/v1/ImagingStudy
[2026-04-14 08:44:43.434] [ERROR] SatuSehat API Error                                     | 📍 client.go:244 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).do | response: {"resourceType":"OperationOutcome","text":{"status":"generated"},"issue":[{"severity":"error","code":"value","details":{"text":"Element not found: ImagingStudy.identifier (RuleNumber: 10150)"},"expression":["ImagingStudy.identifier"]},{"severity":"error","code":"value","details":{"text":"Element not found: ImagingStudy.modality (RuleNumber: 10152)"},"expression":["ImagingStudy.modality"]},{"severity":"error","code":"value","details":{"text":"Reference is mandatory : ImagingStudy.basedOn (RuleNumber: 10154)"},"expression":["ImagingStudy.basedOn"]},{"severity":"error","code":"value","details":{"text":"Invalid date time value : 0001-01-01T00:00:00Z (RuleNumber: 10424) Not Allowed : Future Date or Past Date before 3rd June 2014"},"expression":["ImagingStudy.started"]}]} | service: service-general | status_code: 400
[2026-04-14 08:44:43.435] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ❌ ERROR: Error #01: SatuSehat API Error (HTTP 400)
 | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 306.111907ms | method: POST | path: /api/v1/satusehat/imagingstudy | request_id: ab915073-ede5-4cf0-bfa1-c38d7467ff64 | service: service-general | status: 400 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-14 08:44:43.435] [ERROR] HTTP error occurred                                     | 📍 middleware.go:235 | category: internal | environment: debug | error_code: INTERNAL_ERROR | ⚙️ service/pkg/errors.handleErrors | http_status: 500 | metadata: map[] | method: POST | path: /api/v1/satusehat/imagingstudy | request_id: req_1776156283128841632 | service: service-general
[2026-04-14 09:12:50.781] [INFO ] Application starting                                    | 📍 main.go:90 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-14 09:12:50.781] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:105 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-14 09:12:50.781] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:117 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 09:12:50.782] [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-14 09:12:50.904] [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-14 09:12:50.904] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 09:12:50.999] [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-14 09:12:50.999] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 09:12:51.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-14 09:12:51.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-14 09:12:51.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-14 09:12:51.195] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 09:12:51.284] [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-14 09:12:51.284] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 09:12:51.286] [INFO ] Cache initialized                                       | 📍 main.go:150 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-14 09:12:51.287] [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-14 09:12:51.287] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-14 09:12:51.288] [INFO ] REST API running                                        | 📍 main.go:343 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-14 09:12:51.289] [INFO ] Application started successfully                        | 📍 main.go:404 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 09:12:51.289] [INFO ] gRPC Server running                                     | 📍 main.go:370 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-14 09:16:22.747] [INFO ] Application starting                                    | 📍 main.go:90 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-14 09:16:22.747] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:105 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-14 09:16:22.747] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:117 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 09:16:22.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-14 09:16:22.787] [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-14 09:16:22.787] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 09:16:22.797] [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-14 09:16:22.797] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 09:16:22.806] [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-14 09:16:22.806] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 09:16:22.813] [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-14 09:16:22.813] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 09:16:22.815] [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-14 09:16:22.815] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 09:16:22.817] [INFO ] Cache initialized                                       | 📍 main.go:150 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-14 09:16:22.818] [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-14 09:16:22.818] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-14 09:16:22.819] [INFO ] REST API running                                        | 📍 main.go:343 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-14 09:16:22.820] [INFO ] Application started successfully                        | 📍 main.go:404 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 09:16:22.820] [INFO ] gRPC Server running                                     | 📍 main.go:370 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-14 09:20:02.601] [INFO ] 🔑 SatuSehat Access Token refreshed successfully         | 📍 client.go:124 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).GetAccessToken | service: service-general
[2026-04-14 09:20:02.602] [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/fhir-r4/v1/ImagingStudy
[2026-04-14 09:20:02.953] [ERROR] SatuSehat API Error                                     | 📍 client.go:244 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).do | response: {"issue":[{"code":"value","details":{"text":"reference_not_found"},"diagnostics":"reference target(s) not found: Encounter/5fa23d13-0943-4318-b295-eb1ecfa7384a (and 2 more)","severity":"error"}],"resourceType":"OperationOutcome"} | service: service-general | status_code: 400
[2026-04-14 09:20:02.953] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ❌ ERROR: Error #01: SatuSehat API Error (HTTP 400)
 | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 575.197035ms | method: POST | path: /api/v1/satusehat/imagingstudy | request_id: 595e1ebc-66ef-4ca9-835c-1b734b52c1e4 | service: service-general | status: 400 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-14 09:20:02.954] [ERROR] HTTP error occurred                                     | 📍 middleware.go:235 | category: internal | environment: debug | error_code: INTERNAL_ERROR | ⚙️ service/pkg/errors.handleErrors | http_status: 500 | metadata: map[] | method: POST | path: /api/v1/satusehat/imagingstudy | request_id: req_1776158402378639531 | service: service-general
[2026-04-14 09:22:03.114] [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/fhir-r4/v1/ImagingStudy
[2026-04-14 09:22:03.366] [ERROR] SatuSehat API Error                                     | 📍 client.go:244 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).do | response: {"issue":[{"code":"value","details":{"text":"reference_not_found"},"diagnostics":"reference target(s) not found: Encounter/5fa23d13-0943-4318-b295-eb1ecfa7384a (and 2 more)","severity":"error"}],"resourceType":"OperationOutcome"} | service: service-general | status_code: 400
[2026-04-14 09:22:03.366] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ❌ ERROR: Error #01: SatuSehat API Error (HTTP 400)
 | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 252.757109ms | method: POST | path: /api/v1/satusehat/imagingstudy | request_id: 220a4a4c-1d1e-4483-8cb9-e26c6f2c6ce8 | service: service-general | status: 400 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-14 09:22:03.366] [ERROR] HTTP error occurred                                     | 📍 middleware.go:235 | category: internal | environment: debug | error_code: INTERNAL_ERROR | ⚙️ service/pkg/errors.handleErrors | http_status: 500 | metadata: map[] | method: POST | path: /api/v1/satusehat/imagingstudy | request_id: req_1776158523113630660 | service: service-general
[2026-04-14 09:28:25.798] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ❌ ERROR: Error #01: invalid character '/' looking for beginning of object key string
 | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 961.046µs | method: POST | path: /api/v1/satusehat/imagingstudy | request_id: 1df0df33-925c-464b-9972-9a3be7629371 | service: service-general | status: 400 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-14 09:28:25.799] [ERROR] HTTP error occurred                                     | 📍 middleware.go:235 | category: internal | environment: debug | error_code: INTERNAL_ERROR | ⚙️ service/pkg/errors.handleErrors | http_status: 500 | metadata: map[] | method: POST | path: /api/v1/satusehat/imagingstudy | request_id: req_1776158905797874674 | service: service-general
[2026-04-14 09:28:47.327] [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/fhir-r4/v1/ImagingStudy
[2026-04-14 09:28:47.602] [ERROR] SatuSehat API Error                                     | 📍 client.go:244 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).do | response: {"issue":[{"code":"value","details":{"text":"reference_not_found"},"diagnostics":"reference target(s) not found: Encounter/5fa23d13-0943-4318-b295-eb1ecfa7384a (and 2 more)","severity":"error"}],"resourceType":"OperationOutcome"} | service: service-general | status_code: 400
[2026-04-14 09:28:47.602] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ❌ ERROR: Error #01: SatuSehat API Error (HTTP 400)
 | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 276.064463ms | method: POST | path: /api/v1/satusehat/imagingstudy | request_id: 542cbca8-31d0-42d2-bb0a-212e6e8a4be0 | service: service-general | status: 400 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-14 09:28:47.602] [ERROR] HTTP error occurred                                     | 📍 middleware.go:235 | category: internal | environment: debug | error_code: INTERNAL_ERROR | ⚙️ service/pkg/errors.handleErrors | http_status: 500 | metadata: map[] | method: POST | path: /api/v1/satusehat/imagingstudy | request_id: req_1776158927326556982 | service: service-general
[2026-04-14 09:31:19.476] [INFO ] Application starting                                    | 📍 main.go:90 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-14 09:31:19.477] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:105 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-14 09:31:19.477] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:117 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 09:31:19.477] [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-14 09:31:19.487] [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-14 09:31:19.487] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 09:31:19.494] [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-14 09:31:19.494] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 09:31:19.501] [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-14 09:31:19.501] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 09:31:19.502] [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-14 09:31:19.502] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 09:31:19.524] [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-14 09:31:19.524] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 09:31:19.526] [INFO ] Cache initialized                                       | 📍 main.go:150 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-14 09:31:19.526] [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-14 09:31:19.527] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-14 09:31:19.528] [INFO ] Application started successfully                        | 📍 main.go:404 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 09:31:19.528] [INFO ] gRPC Server running                                     | 📍 main.go:370 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-14 09:31:19.528] [INFO ] REST API running                                        | 📍 main.go:343 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-14 09:31:24.511] [INFO ] Application starting                                    | 📍 main.go:90 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-14 09:31:24.511] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:105 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-14 09:31:24.511] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:117 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 09:31:24.511] [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-14 09:31:24.522] [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-14 09:31:24.522] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 09:31:24.530] [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-14 09:31:24.530] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 09:31:24.539] [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-14 09:31:24.539] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 09:31:24.540] [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-14 09:31:24.541] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 09:31:24.561] [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-14 09:31:24.561] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 09:31:24.563] [INFO ] Cache initialized                                       | 📍 main.go:150 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-14 09:31:24.564] [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-14 09:31:24.564] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-14 09:31:24.566] [INFO ] REST API running                                        | 📍 main.go:343 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-14 09:31:24.566] [INFO ] Application started successfully                        | 📍 main.go:404 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 09:31:24.566] [INFO ] gRPC Server running                                     | 📍 main.go:370 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-14 09:32:16.438] [INFO ] 🔑 SatuSehat Access Token refreshed successfully         | 📍 client.go:124 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).GetAccessToken | service: service-general
[2026-04-14 09:32:16.438] [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/fhir-r4/v1/ImagingStudy
[2026-04-14 09:32:16.671] [ERROR] SatuSehat API Error                                     | 📍 client.go:244 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).do | response: {"issue":[{"code":"value","details":{"text":"reference_not_found"},"diagnostics":"reference target(s) not found: Encounter/5fa23d13-0943-4318-b295-eb1ecfa7384a (and 2 more)","severity":"error"}],"resourceType":"OperationOutcome"} | service: service-general | status_code: 400
[2026-04-14 09:32:16.671] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ❌ ERROR: Error #01: SatuSehat API Error (HTTP 400)
 | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 429.708169ms | method: POST | path: /api/v1/satusehat/imagingstudy | request_id: c500da67-fa54-4319-952a-8c846c1e07b7 | service: service-general | status: 400 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-14 09:32:16.672] [ERROR] HTTP error occurred                                     | 📍 middleware.go:235 | category: internal | environment: debug | error_code: INTERNAL_ERROR | ⚙️ service/pkg/errors.handleErrors | http_status: 500 | metadata: map[] | method: POST | path: /api/v1/satusehat/imagingstudy | request_id: req_1776159136241908847 | service: service-general
[2026-04-14 19:30:45.517] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 2.040727ms | method: POST | path: /api/v1/satusehat/imagingstudy | request_id: 23ab4e5c-f2e1-4bd3-b7d8-93c10edf58ae | service: service-general | status: 401 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-14 19:30:50.614] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 1.807876ms | method: POST | path: /api/v1/auth/login | request_id: 099fb494-f613-4d77-b6a6-b3e3e70e4ff2 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-14 19:30:54.624] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 264.711µs | method: GET | path: /api/v1/bpjs/vclaim/peserta/nik/3573015008830004 | request_id: 7dc3168f-b3b3-4820-bdba-845d6506b0e5 | service: service-general | status: 404 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-14 19:31:13.821] [INFO ] 🔑 SatuSehat Access Token refreshed successfully         | 📍 client.go:124 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).GetAccessToken | service: service-general
[2026-04-14 19:31:13.822] [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/fhir-r4/v1/ImagingStudy
[2026-04-14 19:31:14.003] [ERROR] SatuSehat API Error                                     | 📍 client.go:244 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).do | response: {"issue":[{"code":"value","details":{"text":"reference_not_found"},"diagnostics":"reference target(s) not found: Encounter/5fa23d13-0943-4318-b295-eb1ecfa7384a (and 2 more)","severity":"error"}],"resourceType":"OperationOutcome"} | service: service-general | status_code: 400
[2026-04-14 19:31:14.003] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ❌ ERROR: Error #01: SatuSehat API Error (HTTP 400)
 | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 348.825355ms | method: POST | path: /api/v1/satusehat/imagingstudy | request_id: 3ec159a3-5f28-4b09-bc31-b5c09fb8fb8e | service: service-general | status: 400 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-14 19:31:14.003] [ERROR] HTTP error occurred                                     | 📍 middleware.go:235 | category: internal | environment: debug | error_code: INTERNAL_ERROR | ⚙️ service/pkg/errors.handleErrors | http_status: 500 | metadata: map[] | method: POST | path: /api/v1/satusehat/imagingstudy | request_id: req_1776195073654639445 | service: service-general
[2026-04-14 19:38:03.382] [INFO ] Application starting                                    | 📍 main.go:90 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-14 19:38:03.383] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:105 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-14 19:38:03.383] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:117 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 19:38:03.383] [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-14 19:38:03.394] [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-14 19:38:03.394] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 19:38:03.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-14 19:38:03.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-14 19:38:03.406] [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-14 19:38:03.406] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 19:38:03.429] [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-14 19:38:03.429] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 19:38:03.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-14 19:38:03.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-14 19:38:03.449] [INFO ] Cache initialized                                       | 📍 main.go:150 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-14 19:38:03.450] [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-14 19:38:03.450] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-14 19:38:03.451] [INFO ] REST API running                                        | 📍 main.go:343 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-14 19:38:03.451] [INFO ] Application started successfully                        | 📍 main.go:404 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 19:38:03.452] [INFO ] gRPC Server running                                     | 📍 main.go:370 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-14 19:38:04.856] [INFO ] 🔑 SatuSehat Access Token refreshed successfully         | 📍 client.go:124 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).GetAccessToken | service: service-general
[2026-04-14 19:38:04.857] [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/fhir-r4/v1/ImagingStudy
[2026-04-14 19:38:05.052] [ERROR] SatuSehat API Error                                     | 📍 client.go:244 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).do | response: {"issue":[{"code":"value","details":{"text":"reference_not_found"},"diagnostics":"reference target(s) not found: Encounter/5fa23d13-0943-4318-b295-eb1ecfa7384a (and 2 more)","severity":"error"}],"resourceType":"OperationOutcome"} | service: service-general | status_code: 400
[2026-04-14 19:38:05.053] [ERROR] HTTP Request                                            | 📍 middleware.go:173 | environment: debug | ❌ ERROR: Error #01: Internal server error
 | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 403.977346ms | method: POST | path: /api/v1/satusehat/imagingstudy | request_id: 052a6672-8b4d-42f3-ae84-759cd65cf27c | service: service-general | status: 500 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-14 19:38:05.053] [ERROR] HTTP error occurred                                     | 📍 middleware.go:235 | category: internal | environment: debug | error_code: INTERNAL_ERROR | ⚙️ service/pkg/errors.handleErrors | http_status: 500 | metadata: map[] | method: POST | path: /api/v1/satusehat/imagingstudy | request_id: req_1776195484649086357 | service: service-general
[2026-04-14 19:43:08.668] [INFO ] Application starting                                    | 📍 main.go:90 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-14 19:43:08.668] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:105 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-14 19:43:08.668] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:117 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 19:43:08.668] [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-14 19:43:08.670] [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-14 19:43:08.670] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 19:43:08.692] [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-14 19:43:08.692] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 19:43:08.700] [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-14 19:43:08.700] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 19:43:08.709] [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-14 19:43:08.709] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 19:43:08.716] [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-14 19:43:08.716] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 19:43:08.718] [INFO ] Cache initialized                                       | 📍 main.go:150 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-14 19:43:08.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-14 19:43:08.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-14 19:43:08.719] [INFO ] Application started successfully                        | 📍 main.go:404 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 19:43:08.719] [INFO ] gRPC Server running                                     | 📍 main.go:370 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-14 19:43:08.719] [INFO ] REST API running                                        | 📍 main.go:343 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-14 19:44:25.976] [INFO ] Application starting                                    | 📍 main.go:90 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-14 19:44:25.976] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:105 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-14 19:44:25.976] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:117 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 19:44:25.976] [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-14 19:44:25.983] [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-14 19:44:25.983] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 19:44:25.985] [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-14 19:44:25.985] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 19:44:26.006] [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-14 19:44:26.006] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 19:44:26.013] [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-14 19:44:26.014] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 19:44:26.021] [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-14 19:44:26.021] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 19:44:26.023] [INFO ] Cache initialized                                       | 📍 main.go:150 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-14 19:44:26.024] [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-14 19:44:26.024] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-14 19:44:26.025] [INFO ] Application started successfully                        | 📍 main.go:404 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 19:44:26.025] [INFO ] gRPC Server running                                     | 📍 main.go:370 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-14 19:44:26.025] [INFO ] REST API running                                        | 📍 main.go:343 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-14 19:46:15.318] [INFO ] Application starting                                    | 📍 main.go:90 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-14 19:46:15.318] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:105 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-14 19:46:15.318] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:117 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 19:46:15.318] [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-14 19:46:15.327] [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-14 19:46:15.327] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 19:46:15.329] [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-14 19:46:15.329] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 19:46:15.349] [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-14 19:46:15.349] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 19:46:15.357] [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-14 19:46:15.357] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 19:46:15.364] [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-14 19:46:15.364] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 19:46:15.367] [INFO ] Cache initialized                                       | 📍 main.go:150 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-14 19:46:15.368] [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-14 19:46:15.368] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-14 19:46:15.369] [INFO ] REST API running                                        | 📍 main.go:343 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-14 19:46:15.369] [INFO ] Application started successfully                        | 📍 main.go:404 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 19:46:15.369] [INFO ] gRPC Server running                                     | 📍 main.go:370 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-14 19:46:16.193] [INFO ] 🔑 SatuSehat Access Token refreshed successfully         | 📍 client.go:124 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).GetAccessToken | service: service-general
[2026-04-14 19:46:16.194] [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/fhir-r4/v1/ImagingStudy
[2026-04-14 19:46:16.348] [ERROR] SatuSehat API Error                                     | 📍 client.go:244 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).do | response: {"issue":[{"code":"value","details":{"text":"reference_not_found"},"diagnostics":"reference target(s) not found: Encounter/5fa23d13-0943-4318-b295-eb1ecfa7384a (and 2 more)","severity":"error"}],"resourceType":"OperationOutcome"} | service: service-general | status_code: 400
[2026-04-14 19:46:16.348] [ERROR] HTTP Request                                            | 📍 middleware.go:173 | environment: debug | ❌ ERROR: Error #01: Internal server error
 | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 336.673573ms | method: POST | path: /api/v1/satusehat/imagingstudy | request_id: 1e5d0c70-1a25-4534-9ab4-cfcbe4b21d92 | service: service-general | status: 500 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-14 19:46:16.348] [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-14T19:46:16Z] | method: POST | path: /api/v1/satusehat/imagingstudy | request_id: req_1776195976011977504 | service: service-general
[2026-04-14 19:50:27.828] [INFO ] Application starting                                    | 📍 main.go:90 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-14 19:50:27.828] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:105 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-14 19:50:27.828] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:117 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 19:50:27.828] [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-14 19:50:27.840] [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-14 19:50:27.840] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 19:50:27.848] [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-14 19:50:27.848] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 19:50:27.850] [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-14 19:50:27.850] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 19:50:27.872] [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-14 19:50:27.872] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 19:50:27.880] [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-14 19:50:27.880] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 19:50:27.883] [INFO ] Cache initialized                                       | 📍 main.go:150 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-14 19:50:27.884] [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-14 19:50:27.884] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-14 19:50:27.886] [INFO ] REST API running                                        | 📍 main.go:343 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-14 19:50:27.886] [INFO ] Application started successfully                        | 📍 main.go:404 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 19:50:27.886] [INFO ] gRPC Server running                                     | 📍 main.go:370 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-14 19:50:30.594] [INFO ] Application starting                                    | 📍 main.go:90 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-14 19:50:30.595] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:105 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-14 19:50:30.595] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:117 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 19:50:30.595] [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-14 19:50:30.606] [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-14 19:50:30.606] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 19:50:30.614] [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-14 19:50:30.615] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 19:50:30.622] [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-14 19:50:30.622] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 19:50:30.624] [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-14 19:50:30.624] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 19:50:30.644] [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-14 19:50:30.644] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 19:50:30.647] [INFO ] Cache initialized                                       | 📍 main.go:150 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-14 19:50:30.647] [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-14 19:50:30.647] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-14 19:50:30.649] [INFO ] REST API running                                        | 📍 main.go:343 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-14 19:50:30.649] [INFO ] Application started successfully                        | 📍 main.go:404 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 19:50:30.649] [INFO ] gRPC Server running                                     | 📍 main.go:370 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-14 19:50:32.507] [INFO ] Application starting                                    | 📍 main.go:90 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-14 19:50:32.507] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:105 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-14 19:50:32.507] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:117 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 19:50:32.508] [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-14 19:50:32.517] [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-14 19:50:32.517] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 19:50:32.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-14 19:50:32.524] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 19:50:32.525] [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-14 19:50:32.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-14 19:50:32.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-14 19:50:32.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-14 19:50:32.556] [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-14 19:50:32.556] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 19:50:32.558] [INFO ] Cache initialized                                       | 📍 main.go:150 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-14 19:50:32.559] [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-14 19:50:32.559] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-14 19:50:32.560] [INFO ] REST API running                                        | 📍 main.go:343 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-14 19:50:32.561] [INFO ] Application started successfully                        | 📍 main.go:404 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 19:50:32.561] [INFO ] gRPC Server running                                     | 📍 main.go:370 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-14 19:50:33.076] [INFO ] 🔑 SatuSehat Access Token refreshed successfully         | 📍 client.go:124 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).GetAccessToken | service: service-general
[2026-04-14 19:50:33.077] [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/fhir-r4/v1/ImagingStudy
[2026-04-14 19:50:33.233] [ERROR] SatuSehat API Error                                     | 📍 client.go:244 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).do | response: {"issue":[{"code":"value","details":{"text":"reference_not_found"},"diagnostics":"reference target(s) not found: Encounter/5fa23d13-0943-4318-b295-eb1ecfa7384a (and 2 more)","severity":"error"}],"resourceType":"OperationOutcome"} | service: service-general | status_code: 400
[2026-04-14 19:50:33.234] [ERROR] HTTP Request                                            | 📍 middleware.go:173 | environment: debug | ❌ ERROR: Error #01: Internal server error
 | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 387.970154ms | method: POST | path: /api/v1/satusehat/imagingstudy | request_id: dcf54565-672f-4f86-9a21-b88eeffea12e | service: service-general | status: 500 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-14 19:50:33.234] [ERROR] HTTP error occurred                                     | 📍 middleware.go:235 | category: internal | environment: debug | error_code: INTERNAL_ERROR | ⚙️ service/pkg/errors.handleErrors | http_status: 500 | metadata: map[] | method: POST | path: /api/v1/satusehat/imagingstudy | request_id: req_1776196232846509312 | service: service-general
[2026-04-14 19:59:01.522] [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/Organization?partof=100026555
[2026-04-14 19:59:01.932] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 410.711165ms | method: GET | path: /api/v1/satusehat/reference/organization | query: partof=100026555 | request_id: 90255437-b9a2-4a98-ac49-1e3ad18cef5e | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-14 19:59:59.248] [INFO ] Application starting                                    | 📍 main.go:90 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-14 19:59:59.248] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:105 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-14 19:59:59.249] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:117 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 19:59:59.249] [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-14 19:59:59.259] [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-14 19:59:59.259] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 19:59:59.265] [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-14 19:59:59.265] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 19:59:59.267] [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-14 19:59:59.267] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 19:59:59.289] [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-14 19:59:59.289] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 19:59:59.298] [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-14 19:59:59.298] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 19:59:59.300] [INFO ] Cache initialized                                       | 📍 main.go:150 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-14 19:59:59.301] [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-14 19:59:59.301] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-14 19:59:59.302] [INFO ] REST API running                                        | 📍 main.go:343 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-14 19:59:59.302] [INFO ] Application started successfully                        | 📍 main.go:404 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 19:59:59.302] [INFO ] gRPC Server running                                     | 📍 main.go:370 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-14 20:00:11.681] [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-14 20:00:11.682] [ERROR] HTTP error occurred                                     | 📍 http.go:116 | category: internal | environment: debug | error_code: INTERNAL_ERROR | ⚙️ service/pkg/errors.LogHTTPError | http_status: 500 | metadata: map[] | method: POST | path: /api/v1/satusehat/imagingstudy | service: service-general
[2026-04-14 20:00:11.682] [ERROR] HTTP Request                                            | 📍 middleware.go:173 | environment: debug | ❌ ERROR: Error #01: Internal server error
 | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 168.931065ms | method: POST | path: /api/v1/satusehat/imagingstudy | request_id: d0a6f58c-6ef3-4fb5-a794-72a879c5347e | service: service-general | status: 500 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-14 20:00:11.682] [ERROR] HTTP error occurred                                     | 📍 middleware.go:235 | category: internal | environment: debug | error_code: INTERNAL_ERROR | ⚙️ service/pkg/errors.handleErrors | http_status: 500 | metadata: map[] | method: POST | path: /api/v1/satusehat/imagingstudy | request_id: req_1776196811513157650 | service: service-general
[2026-04-14 20:01:15.390] [INFO ] 🔑 SatuSehat Access Token refreshed successfully         | 📍 client.go:124 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).GetAccessToken | service: service-general
[2026-04-14 20:01:15.390] [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/fhir-r4/v1/ImagingStudy
[2026-04-14 20:01:15.591] [ERROR] SatuSehat API Error                                     | 📍 client.go:244 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).do | response: {"issue":[{"code":"value","details":{"text":"reference_not_found"},"diagnostics":"reference target(s) not found: Encounter/5fa23d13-0943-4318-b295-eb1ecfa7384a (and 2 more)","severity":"error"}],"resourceType":"OperationOutcome"} | service: service-general | status_code: 400
[2026-04-14 20:01:15.591] [ERROR] HTTP error occurred                                     | 📍 http.go:116 | category: internal | environment: debug | error_code: INTERNAL_ERROR | ⚙️ service/pkg/errors.LogHTTPError | http_status: 500 | metadata: map[] | method: POST | path: /api/v1/satusehat/imagingstudy | service: service-general
[2026-04-14 20:01:15.591] [ERROR] HTTP Request                                            | 📍 middleware.go:173 | environment: debug | ❌ ERROR: Error #01: Internal server error
 | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 323.892811ms | method: POST | path: /api/v1/satusehat/imagingstudy | request_id: 220a6c42-c3a5-4a6c-8f11-94bc8acf0766 | service: service-general | status: 500 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-14 20:01:15.591] [ERROR] HTTP error occurred                                     | 📍 middleware.go:235 | category: internal | environment: debug | error_code: INTERNAL_ERROR | ⚙️ service/pkg/errors.handleErrors | http_status: 500 | metadata: map[] | method: POST | path: /api/v1/satusehat/imagingstudy | request_id: req_1776196875267602537 | service: service-general
[2026-04-14 20:02:58.167] [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/fhir-r4/v1/ImagingStudy
[2026-04-14 20:02:58.392] [ERROR] SatuSehat API Error                                     | 📍 client.go:244 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).do | response: {"issue":[{"code":"value","details":{"text":"reference_not_found"},"diagnostics":"reference target(s) not found: Encounter/5fa23d13-0943-4318-b295-eb1ecfa7384a (and 2 more)","severity":"error"}],"resourceType":"OperationOutcome"} | service: service-general | status_code: 400
[2026-04-14 20:02:58.392] [ERROR] HTTP error occurred                                     | 📍 http.go:116 | category: internal | environment: debug | error_code: INTERNAL_ERROR | ⚙️ service/pkg/errors.LogHTTPError | http_status: 500 | metadata: map[] | method: POST | path: /api/v1/satusehat/imagingstudy | service: service-general
[2026-04-14 20:02:58.392] [ERROR] HTTP Request                                            | 📍 middleware.go:173 | environment: debug | ❌ ERROR: Error #01: Internal server error
 | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 226.445618ms | method: POST | path: /api/v1/satusehat/imagingstudy | request_id: 2c49d98a-ed40-46aa-aa29-50ede4924626 | service: service-general | status: 500 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-14 20:02:58.392] [ERROR] HTTP error occurred                                     | 📍 middleware.go:235 | category: internal | environment: debug | error_code: INTERNAL_ERROR | ⚙️ service/pkg/errors.handleErrors | http_status: 500 | metadata: map[] | method: POST | path: /api/v1/satusehat/imagingstudy | request_id: req_1776196978166362499 | service: service-general
[2026-04-14 20:11:38.594] [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/fhir-r4/v1/ImagingStudy
[2026-04-14 20:11:38.834] [ERROR] SatuSehat API Error                                     | 📍 client.go:244 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).do | response: {"issue":[{"code":"value","details":{"text":"reference_not_found"},"diagnostics":"reference target(s) not found: Encounter/5fa23d13-0943-4318-b295-eb1ecfa7384a (and 2 more)","severity":"error"}],"resourceType":"OperationOutcome"} | service: service-general | status_code: 400
[2026-04-14 20:11:38.834] [ERROR] HTTP error occurred                                     | 📍 http.go:116 | category: internal | environment: debug | error_code: INTERNAL_ERROR | ⚙️ service/pkg/errors.LogHTTPError | http_status: 500 | metadata: map[] | method: POST | path: /api/v1/satusehat/imagingstudy | service: service-general
[2026-04-14 20:11:38.834] [ERROR] HTTP Request                                            | 📍 middleware.go:173 | environment: debug | ❌ ERROR: Error #01: Internal server error
 | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 241.205543ms | method: POST | path: /api/v1/satusehat/imagingstudy | request_id: beec774c-6231-4609-a5c9-be6497335f20 | service: service-general | status: 500 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-14 20:11:38.834] [ERROR] HTTP error occurred                                     | 📍 middleware.go:235 | category: internal | environment: debug | error_code: INTERNAL_ERROR | ⚙️ service/pkg/errors.handleErrors | http_status: 500 | metadata: map[] | method: POST | path: /api/v1/satusehat/imagingstudy | request_id: req_1776197498593563537 | service: service-general
[2026-04-14 20:11:41.328] [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/fhir-r4/v1/ImagingStudy
[2026-04-14 20:11:41.506] [ERROR] SatuSehat API Error                                     | 📍 client.go:244 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).do | response: {"issue":[{"code":"value","details":{"text":"reference_not_found"},"diagnostics":"reference target(s) not found: Encounter/5fa23d13-0943-4318-b295-eb1ecfa7384a (and 2 more)","severity":"error"}],"resourceType":"OperationOutcome"} | service: service-general | status_code: 400
[2026-04-14 20:11:41.506] [ERROR] HTTP error occurred                                     | 📍 http.go:116 | category: internal | environment: debug | error_code: INTERNAL_ERROR | ⚙️ service/pkg/errors.LogHTTPError | http_status: 500 | metadata: map[] | method: POST | path: /api/v1/satusehat/imagingstudy | service: service-general
[2026-04-14 20:11:41.506] [ERROR] HTTP Request                                            | 📍 middleware.go:173 | environment: debug | ❌ ERROR: Error #01: Internal server error
 | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 178.137894ms | method: POST | path: /api/v1/satusehat/imagingstudy | request_id: 4dcf5a4c-e7fe-4721-bd83-2e5557cf8ab8 | service: service-general | status: 500 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-14 20:11:41.506] [ERROR] HTTP error occurred                                     | 📍 middleware.go:235 | category: internal | environment: debug | error_code: INTERNAL_ERROR | ⚙️ service/pkg/errors.handleErrors | http_status: 500 | metadata: map[] | method: POST | path: /api/v1/satusehat/imagingstudy | request_id: req_1776197501328397786 | service: service-general
[2026-04-14 20:14:11.449] [INFO ] Application starting                                    | 📍 main.go:90 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-14 20:14:11.449] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:105 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-14 20:14:11.450] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:117 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 20:14:11.450] [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-14 20:14:11.452] [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-14 20:14:11.452] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:14:11.474] [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-14 20:14:11.474] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:14:11.482] [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-14 20:14:11.482] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:14:11.490] [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-14 20:14:11.490] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:14:11.497] [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-14 20:14:11.497] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:14:11.499] [INFO ] Cache initialized                                       | 📍 main.go:150 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-14 20:14:11.500] [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-14 20:14:11.500] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-14 20:14:11.501] [INFO ] REST API running                                        | 📍 main.go:343 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-14 20:14:11.501] [INFO ] Application started successfully                        | 📍 main.go:404 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 20:14:11.501] [INFO ] gRPC Server running                                     | 📍 main.go:370 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-14 20:14:15.472] [INFO ] 🔑 SatuSehat Access Token refreshed successfully         | 📍 client.go:124 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).GetAccessToken | service: service-general
[2026-04-14 20:14:15.472] [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/fhir-r4/v1/ImagingStudy
[2026-04-14 20:14:15.637] [ERROR] SatuSehat API Error                                     | 📍 client.go:244 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).do | response: {"issue":[{"code":"value","details":{"text":"reference_not_found"},"diagnostics":"reference target(s) not found: Encounter/5fa23d13-0943-4318-b295-eb1ecfa7384a (and 2 more)","severity":"error"}],"resourceType":"OperationOutcome"} | service: service-general | status_code: 400
[2026-04-14 20:14:15.637] [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: 354.221612ms | method: POST | path: /api/v1/satusehat/imagingstudy | request_id: 50753c15-1fe7-4a01-9b83-0e559200616e | service: service-general | status: 400 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-14 20:14:15.637] [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-14T20:14:15Z] | method: POST | path: /api/v1/satusehat/imagingstudy | request_id: req_1776197655283462625 | service: service-general
[2026-04-14 20:15:06.122] [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/fhir-r4/v1/ImagingStudy
[2026-04-14 20:15:06.295] [ERROR] SatuSehat API Error                                     | 📍 client.go:244 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).do | response: {"issue":[{"code":"value","details":{"text":"reference_not_found"},"diagnostics":"reference target(s) not found: Encounter/5fa23d13-0943-4318-b295-eb1ecfa7384a (and 2 more)","severity":"error"}],"resourceType":"OperationOutcome"} | service: service-general | status_code: 400
[2026-04-14 20:15:06.295] [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: 174.352973ms | method: POST | path: /api/v1/satusehat/imagingstudy | request_id: ab274a18-bd4e-4ac9-a5a1-886c2b1562ed | service: service-general | status: 400 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-14 20:15:06.296] [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-14T20:15:06Z] | method: POST | path: /api/v1/satusehat/imagingstudy | request_id: req_1776197706121535036 | service: service-general
[2026-04-14 20:15:28.338] [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/fhir-r4/v1/ImagingStudy
[2026-04-14 20:15:28.489] [ERROR] SatuSehat API Error                                     | 📍 client.go:244 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).do | response: {"issue":[{"code":"value","details":{"text":"reference_not_found"},"diagnostics":"reference target(s) not found: Encounter/5fa23d13-0943-4318-b295-eb1ecfa7384a (and 2 more)","severity":"error"}],"resourceType":"OperationOutcome"} | service: service-general | status_code: 400
[2026-04-14 20:15:28.489] [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: 151.762615ms | method: POST | path: /api/v1/satusehat/imagingstudy | request_id: 08a7236b-6884-428d-8e13-d6216c75d783 | service: service-general | status: 400 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-14 20:15:28.489] [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-14T20:15:28Z] | method: POST | path: /api/v1/satusehat/imagingstudy | request_id: req_1776197728337640872 | service: service-general
[2026-04-14 20:18:01.394] [INFO ] Application starting                                    | 📍 main.go:90 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-14 20:18:01.394] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:105 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-14 20:18:01.394] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:117 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 20:18:01.394] [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-14 20:18:01.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-14 20:18:01.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-14 20:18:01.419] [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-14 20:18:01.419] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:18:01.428] [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-14 20:18:01.428] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:18:01.435] [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-14 20:18:01.435] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:18:01.442] [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-14 20:18:01.442] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:18:01.445] [INFO ] Cache initialized                                       | 📍 main.go:150 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-14 20:18:01.446] [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-14 20:18:01.446] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-14 20:18:01.447] [INFO ] REST API running                                        | 📍 main.go:343 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-14 20:18:01.447] [INFO ] Application started successfully                        | 📍 main.go:404 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 20:18:01.447] [INFO ] gRPC Server running                                     | 📍 main.go:370 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-14 20:18:04.067] [INFO ] 🔑 SatuSehat Access Token refreshed successfully         | 📍 client.go:124 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).GetAccessToken | service: service-general
[2026-04-14 20:18:04.067] [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/fhir-r4/v1/ImagingStudy
[2026-04-14 20:18:04.203] [ERROR] SatuSehat API Error                                     | 📍 client.go:244 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).do | response: {"issue":[{"code":"value","details":{"text":"reference_not_found"},"diagnostics":"reference target(s) not found: Encounter/5fa23d13-0943-4318-b295-eb1ecfa7384a (and 2 more)","severity":"error"}],"resourceType":"OperationOutcome"} | service: service-general | status_code: 400
[2026-04-14 20:18:04.203] [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: 319.067886ms | method: POST | path: /api/v1/satusehat/imagingstudy | request_id: 77cd1c6b-5007-4041-b19c-263e44e32454 | service: service-general | status: 400 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-14 20:18:04.203] [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-14T20:18:04Z] | method: POST | path: /api/v1/satusehat/imagingstudy | request_id: req_1776197883884530119 | service: service-general
[2026-04-14 20:19:54.616] [INFO ] Application starting                                    | 📍 main.go:90 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-14 20:19:54.616] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:105 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-14 20:19:54.616] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:117 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 20:19:54.616] [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-14 20:19:54.625] [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-14 20:19:54.625] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:19:54.632] [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-14 20:19:54.632] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:19:54.634] [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-14 20:19:54.634] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:19:54.655] [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-14 20:19:54.655] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:19:54.661] [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-14 20:19:54.661] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:19:54.662] [INFO ] Cache initialized                                       | 📍 main.go:150 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-14 20:19:54.663] [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-14 20:19:54.663] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-14 20:19:54.664] [INFO ] Application started successfully                        | 📍 main.go:404 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 20:19:54.664] [INFO ] gRPC Server running                                     | 📍 main.go:370 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-14 20:19:54.665] [INFO ] REST API running                                        | 📍 main.go:343 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-14 20:20:13.247] [INFO ] Application starting                                    | 📍 main.go:90 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-14 20:20:13.247] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:105 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-14 20:20:13.247] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:117 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 20:20:13.248] [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-14 20:20:13.257] [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-14 20:20:13.257] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:20:13.264] [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-14 20:20:13.264] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:20:13.266] [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-14 20:20:13.266] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:20:13.290] [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-14 20:20:13.290] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:20:13.299] [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-14 20:20:13.299] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:20:13.302] [INFO ] Cache initialized                                       | 📍 main.go:150 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-14 20:20:13.303] [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-14 20:20:13.303] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-14 20:20:13.304] [INFO ] Application started successfully                        | 📍 main.go:404 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 20:20:13.304] [INFO ] REST API running                                        | 📍 main.go:343 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-14 20:20:13.304] [INFO ] gRPC Server running                                     | 📍 main.go:370 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-14 20:20:15.026] [INFO ] Application starting                                    | 📍 main.go:90 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-14 20:20:15.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-14 20:20:15.027] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:117 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 20:20:15.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-14 20:20:15.035] [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-14 20:20:15.035] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:20:15.043] [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-14 20:20:15.043] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:20:15.052] [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-14 20:20:15.052] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:20:15.054] [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-14 20:20:15.054] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:20:15.075] [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-14 20:20:15.075] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:20:15.077] [INFO ] Cache initialized                                       | 📍 main.go:150 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-14 20:20:15.078] [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-14 20:20:15.078] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-14 20:20:15.079] [INFO ] REST API running                                        | 📍 main.go:343 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-14 20:20:15.080] [INFO ] Application started successfully                        | 📍 main.go:404 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 20:20:15.080] [INFO ] gRPC Server running                                     | 📍 main.go:370 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-14 20:20:21.222] [INFO ] 🔑 SatuSehat Access Token refreshed successfully         | 📍 client.go:124 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).GetAccessToken | service: service-general
[2026-04-14 20:20:21.222] [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/fhir-r4/v1/ImagingStudy
[2026-04-14 20:20:21.394] [ERROR] SatuSehat API Error                                     | 📍 client.go:244 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).do | response: {"issue":[{"code":"value","details":{"text":"reference_not_found"},"diagnostics":"reference target(s) not found: Encounter/5fa23d13-0943-4318-b295-eb1ecfa7384a (and 2 more)","severity":"error"}],"resourceType":"OperationOutcome"} | service: service-general | status_code: 400
[2026-04-14 20:20:21.395] [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: 405.03062ms | method: POST | path: /api/v1/satusehat/imagingstudy | request_id: 6ca4cabf-7a1f-4ab3-b677-076629f26f6f | service: service-general | status: 400 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-14 20:20:21.395] [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-14T20:20:21Z] | method: POST | path: /api/v1/satusehat/imagingstudy | request_id: req_1776198020989940082 | service: service-general
[2026-04-14 20:20:47.673] [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-14 20:20:47.832] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 159.547015ms | method: GET | path: /api/v1/satusehat/encounter/5c75c49a-3727-4669-bff6-fbdf0cac81bc | request_id: 6d7ea8d9-da49-4a3f-bc44-c7fd976c97d8 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-14 20:21:00.194] [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/Patient?identifier=https://fhir.kemkes.go.id/id/nik|0341099978952210
[2026-04-14 20:21:00.339] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 144.98746ms | method: GET | path: /api/v1/satusehat/reference/patient/nik/0341099978952210 | request_id: 89471ba2-b2f6-4886-bb94-6212d29f019c | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-14 20:21:09.038] [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/Patient/P01021422990
[2026-04-14 20:21:09.186] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 147.927638ms | method: GET | path: /api/v1/satusehat/reference/patient/P01021422990 | request_id: 3c30e1f7-3942-4901-b80c-d8e8809f375c | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-14 20:21:30.247] [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/Patient?identifier=https%3A%2F%2Ffhir.kemkes.go.id%2Fid%2Fnik%7C3504041508700003
[2026-04-14 20:21:30.422] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 175.190777ms | method: GET | path: /api/v1/satusehat/reference/patient | query: nik=3504041508700003 | request_id: 17b048cd-8336-494a-9ea0-8e1ca14aebe3 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-14 20:21:39.757] [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/Patient?identifier=https://fhir.kemkes.go.id/id/nik|3504041508700003
[2026-04-14 20:21:39.901] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 144.748529ms | method: GET | path: /api/v1/satusehat/reference/patient/nik/3504041508700003 | request_id: 8983923a-4bfc-487f-8cda-bbc25d272622 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-14 20:22:13.877] [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/Patient?identifier=https%3A%2F%2Ffhir.kemkes.go.id%2Fid%2Fnik-ibu%7C0341099978952210
[2026-04-14 20:22:14.022] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 145.232445ms | method: GET | path: /api/v1/satusehat/reference/patient | query: nik_ibu=0341099978952210 | request_id: d018c8cb-f9ca-4db6-aabf-df2d65fb11dc | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-14 20:22:20.250] [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/Patient?identifier=https%3A%2F%2Ffhir.kemkes.go.id%2Fid%2Fnik-ibu%7C0341099978952210&name=KABUL+AHMADI
[2026-04-14 20:22:20.442] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 192.125592ms | method: GET | path: /api/v1/satusehat/reference/patient | query: nik_ibu=0341099978952210&name=KABUL%20AHMADI | request_id: 294baca4-0b41-4108-a9e5-e1627bbdb410 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-14 20:22:24.319] [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/Patient?identifier=https%3A%2F%2Ffhir.kemkes.go.id%2Fid%2Fnik-ibu%7C0341099978952210&name=KABUL+AHMADI
[2026-04-14 20:22:24.491] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 172.859742ms | method: GET | path: /api/v1/satusehat/reference/patient | query: nik_ibu=0341099978952210&name=KABUL%20AHMADI&birthdate= | request_id: e9ea339e-18e2-4e4b-bbf8-38d1d2af06b5 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-14 20:22:29.007] [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/Patient?identifier=https%3A%2F%2Ffhir.kemkes.go.id%2Fid%2Fnik-ibu%7C0341099978952210&name=KABUL+AHMADI
[2026-04-14 20:22:29.220] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 213.634272ms | method: GET | path: /api/v1/satusehat/reference/patient | query: nik_ibu=0341099978952210&name=KABUL%20AHMADI&birthdate=&gender | request_id: 8ec7144d-c010-46e8-a752-9e1a43a0bb75 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-14 20:27:02.773] [INFO ] Application starting                                    | 📍 main.go:90 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-14 20:27:02.773] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:105 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-14 20:27:02.773] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:117 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 20:27:02.774] [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-14 20:27:02.797] [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-14 20:27:02.797] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:27:02.806] [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-14 20:27:02.806] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:27:02.814] [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-14 20:27:02.814] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:27:02.821] [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-14 20:27:02.821] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:27:02.823] [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-14 20:27:02.823] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:27:02.825] [INFO ] Cache initialized                                       | 📍 main.go:150 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-14 20:27:02.826] [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-14 20:27:02.826] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-14 20:27:02.827] [INFO ] REST API running                                        | 📍 main.go:343 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-14 20:27:02.828] [INFO ] Application started successfully                        | 📍 main.go:404 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 20:27:02.828] [INFO ] gRPC Server running                                     | 📍 main.go:370 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-14 20:27:07.818] [INFO ] 🔑 SatuSehat Access Token refreshed successfully         | 📍 client.go:124 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).GetAccessToken | service: service-general
[2026-04-14 20:27:07.819] [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/fhir-r4/v1/ImagingStudy
[2026-04-14 20:27:07.965] [ERROR] SatuSehat API Error                                     | 📍 client.go:244 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).do | response: {"issue":[{"code":"value","details":{"text":"reference_not_found"},"diagnostics":"reference target(s) not found: Encounter/5fa23d13-0943-4318-b295-eb1ecfa7384a (and 2 more)","severity":"error"}],"resourceType":"OperationOutcome"} | service: service-general | status_code: 400
[2026-04-14 20:27:07.965] [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: 387.802568ms | method: POST | path: /api/v1/satusehat/imagingstudy | request_id: e8a6d9fa-14f3-4470-881d-62c89dcd65ba | service: service-general | status: 400 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-14 20:27:07.965] [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-14T20:27:07Z] | method: POST | path: /api/v1/satusehat/imagingstudy | request_id: req_1776198427577762889 | service: service-general
[2026-04-14 20:30:31.548] [INFO ] Application starting                                    | 📍 main.go:90 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-14 20:30:31.548] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:105 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-14 20:30:31.549] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:117 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 20:30:31.549] [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-14 20:30:31.557] [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-14 20:30:31.557] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:30:31.565] [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-14 20:30:31.565] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:30:31.572] [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-14 20:30:31.572] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:30:31.573] [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-14 20:30:31.573] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:30:31.596] [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-14 20:30:31.596] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:30:31.598] [INFO ] Cache initialized                                       | 📍 main.go:150 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-14 20:30:31.598] [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-14 20:30:31.598] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-14 20:30:31.599] [INFO ] REST API running                                        | 📍 main.go:343 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-14 20:30:31.600] [INFO ] gRPC Server running                                     | 📍 main.go:370 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-14 20:30:31.600] [INFO ] Application started successfully                        | 📍 main.go:404 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 20:30:34.682] [INFO ] Application starting                                    | 📍 main.go:90 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-14 20:30:34.682] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:105 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-14 20:30:34.682] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:117 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 20:30:34.682] [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-14 20:30:34.690] [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-14 20:30:34.690] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:30:34.691] [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-14 20:30:34.691] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:30:34.711] [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-14 20:30:34.711] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:30:34.720] [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-14 20:30:34.720] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:30:34.728] [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-14 20:30:34.728] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:30:34.730] [INFO ] Cache initialized                                       | 📍 main.go:150 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-14 20:30:34.730] [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-14 20:30:34.730] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-14 20:30:34.731] [INFO ] Application started successfully                        | 📍 main.go:404 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 20:30:34.731] [INFO ] gRPC Server running                                     | 📍 main.go:370 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-14 20:30:34.731] [INFO ] REST API running                                        | 📍 main.go:343 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-14 20:32:24.610] [INFO ] Application starting                                    | 📍 main.go:90 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-14 20:32:24.610] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:105 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-14 20:32:24.610] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:117 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 20:32:24.610] [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-14 20:32:24.632] [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-14 20:32:24.632] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:32:24.641] [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-14 20:32:24.641] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:32:24.649] [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-14 20:32:24.649] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:32:24.656] [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-14 20:32:24.656] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:32:24.657] [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-14 20:32:24.657] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:32:24.659] [INFO ] Cache initialized                                       | 📍 main.go:150 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-14 20:32:24.660] [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-14 20:32:24.660] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-14 20:32:24.660] [INFO ] Application started successfully                        | 📍 main.go:404 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 20:32:24.660] [INFO ] gRPC Server running                                     | 📍 main.go:370 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-14 20:32:24.661] [INFO ] REST API running                                        | 📍 main.go:343 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-14 20:32:26.576] [INFO ] Application starting                                    | 📍 main.go:90 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-14 20:32:26.577] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:105 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-14 20:32:26.577] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:117 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 20:32:26.577] [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-14 20:32:26.584] [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-14 20:32:26.584] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:32:26.593] [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-14 20:32:26.593] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:32:26.601] [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-14 20:32:26.601] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:32:26.602] [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-14 20:32:26.602] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:32:26.622] [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-14 20:32:26.622] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:32:26.623] [INFO ] Cache initialized                                       | 📍 main.go:150 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-14 20:32:26.624] [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-14 20:32:26.624] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-14 20:32:26.625] [INFO ] Application started successfully                        | 📍 main.go:404 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 20:32:26.625] [INFO ] REST API running                                        | 📍 main.go:343 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-14 20:32:26.625] [INFO ] gRPC Server running                                     | 📍 main.go:370 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-14 20:34:46.429] [INFO ] Application starting                                    | 📍 main.go:90 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-14 20:34:46.430] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:105 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-14 20:34:46.430] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:117 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 20:34:46.430] [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-14 20:34:46.438] [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-14 20:34:46.438] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:34:46.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-14 20:34:46.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-14 20:34:46.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-14 20:34:46.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-14 20:34:46.465] [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-14 20:34:46.465] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:34:46.472] [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-14 20:34:46.472] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:34:46.473] [INFO ] Cache initialized                                       | 📍 main.go:150 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-14 20:34:46.474] [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-14 20:34:46.474] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-14 20:34:46.475] [INFO ] Application started successfully                        | 📍 main.go:404 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 20:34:46.475] [INFO ] REST API running                                        | 📍 main.go:343 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-14 20:34:46.476] [INFO ] gRPC Server running                                     | 📍 main.go:370 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-14 20:35:33.865] [INFO ] Application starting                                    | 📍 main.go:90 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-14 20:35:33.865] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:105 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-14 20:35:33.865] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:117 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 20:35:33.865] [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-14 20:35:33.874] [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-14 20:35:33.874] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:35:33.882] [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-14 20:35:33.882] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:35:33.889] [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-14 20:35:33.889] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:35:33.890] [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-14 20:35:33.890] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:35:33.910] [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-14 20:35:33.910] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:35:33.911] [INFO ] Cache initialized                                       | 📍 main.go:150 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-14 20:35:33.912] [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-14 20:35:33.912] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-14 20:35:33.912] [INFO ] Application started successfully                        | 📍 main.go:404 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 20:35:33.913] [INFO ] gRPC Server running                                     | 📍 main.go:370 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-14 20:35:33.913] [INFO ] REST API running                                        | 📍 main.go:343 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-14 20:35:39.706] [INFO ] Application starting                                    | 📍 main.go:90 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-14 20:35:39.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-14 20:35:39.707] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:117 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 20:35:39.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-14 20:35:39.714] [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-14 20:35:39.714] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:35:39.721] [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-14 20:35:39.721] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:35:39.728] [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-14 20:35:39.728] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:35:39.730] [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-14 20:35:39.730] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:35:39.750] [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-14 20:35:39.750] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:35:39.751] [INFO ] Cache initialized                                       | 📍 main.go:150 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-14 20:35:39.752] [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-14 20:35:39.752] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-14 20:35:39.752] [INFO ] Application started successfully                        | 📍 main.go:404 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 20:35:39.753] [INFO ] gRPC Server running                                     | 📍 main.go:370 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-14 20:35:39.753] [INFO ] REST API running                                        | 📍 main.go:343 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-14 20:35:52.645] [INFO ] Application starting                                    | 📍 main.go:90 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-14 20:35:52.645] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:105 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-14 20:35:52.645] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:117 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 20:35:52.645] [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-14 20:35:52.652] [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-14 20:35:52.653] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:35:52.660] [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-14 20:35:52.660] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:35:52.668] [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-14 20:35:52.668] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:35:52.670] [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-14 20:35:52.670] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:35:52.692] [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-14 20:35:52.692] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:35:52.694] [INFO ] Cache initialized                                       | 📍 main.go:150 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-14 20:35:52.694] [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-14 20:35:52.694] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-14 20:35:52.695] [INFO ] Application started successfully                        | 📍 main.go:404 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 20:35:52.695] [INFO ] gRPC Server running                                     | 📍 main.go:370 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-14 20:35:52.695] [INFO ] REST API running                                        | 📍 main.go:343 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-14 20:36:05.622] [INFO ] Application starting                                    | 📍 main.go:90 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-14 20:36:05.623] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:105 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-14 20:36:05.623] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:117 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 20:36:05.623] [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-14 20:36:05.630] [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-14 20:36:05.630] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:36:05.632] [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-14 20:36:05.632] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:36:05.651] [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-14 20:36:05.651] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:36:05.657] [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-14 20:36:05.657] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:36:05.665] [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-14 20:36:05.665] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:36:05.666] [INFO ] Cache initialized                                       | 📍 main.go:150 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-14 20:36:05.667] [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-14 20:36:05.667] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-14 20:36:05.668] [INFO ] Application started successfully                        | 📍 main.go:404 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 20:36:05.668] [INFO ] gRPC Server running                                     | 📍 main.go:370 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-14 20:36:05.668] [INFO ] REST API running                                        | 📍 main.go:343 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-14 20:36:13.638] [INFO ] Application starting                                    | 📍 main.go:90 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-14 20:36:13.638] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:105 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-14 20:36:13.638] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:117 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 20:36:13.638] [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-14 20:36:13.646] [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-14 20:36:13.647] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:36:13.648] [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-14 20:36:13.649] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:36:13.668] [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-14 20:36:13.668] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:36:13.675] [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-14 20:36:13.675] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:36:13.685] [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-14 20:36:13.685] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:36:13.686] [INFO ] Cache initialized                                       | 📍 main.go:150 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-14 20:36:13.687] [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-14 20:36:13.687] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-14 20:36:13.688] [INFO ] Application started successfully                        | 📍 main.go:404 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 20:36:13.688] [INFO ] gRPC Server running                                     | 📍 main.go:370 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-14 20:36:13.689] [INFO ] REST API running                                        | 📍 main.go:343 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-14 20:41:49.627] [INFO ] Application starting                                    | 📍 main.go:90 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-14 20:41:49.627] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:105 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-14 20:41:49.627] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:117 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 20:41:49.627] [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-14 20:41:49.635] [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-14 20:41:49.636] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:41:49.643] [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-14 20:41:49.643] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:41:49.650] [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-14 20:41:49.650] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:41:49.651] [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-14 20:41:49.651] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:41:49.672] [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-14 20:41:49.672] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:41:49.673] [INFO ] Cache initialized                                       | 📍 main.go:150 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-14 20:41:49.673] [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-14 20:41:49.674] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-14 20:41:49.674] [INFO ] REST API running                                        | 📍 main.go:343 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-14 20:41:49.674] [INFO ] Application started successfully                        | 📍 main.go:404 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 20:41:49.675] [INFO ] gRPC Server running                                     | 📍 main.go:370 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-14 20:41:52.381] [INFO ] Application starting                                    | 📍 main.go:90 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-14 20:41:52.381] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:105 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-14 20:41:52.381] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:117 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 20:41:52.382] [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-14 20:41:52.389] [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-14 20:41:52.389] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:41:52.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-14 20:41:52.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-14 20:41:52.404] [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-14 20:41:52.404] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:41:52.405] [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-14 20:41:52.405] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:41:52.426] [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-14 20:41:52.426] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:41:52.427] [INFO ] Cache initialized                                       | 📍 main.go:150 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-14 20:41:52.428] [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-14 20:41:52.428] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-14 20:41:52.429] [INFO ] Application started successfully                        | 📍 main.go:404 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 20:41:52.429] [INFO ] gRPC Server running                                     | 📍 main.go:370 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-14 20:41:52.429] [INFO ] REST API running                                        | 📍 main.go:343 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-14 20:41:54.698] [INFO ] Application starting                                    | 📍 main.go:90 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-14 20:41:54.698] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:105 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-14 20:41:54.698] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:117 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 20:41:54.698] [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-14 20:41:54.700] [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-14 20:41:54.700] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:41:54.718] [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-14 20:41:54.718] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:41:54.727] [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-14 20:41:54.727] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:41:54.734] [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-14 20:41:54.734] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:41:54.741] [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-14 20:41:54.741] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:41:54.742] [INFO ] Cache initialized                                       | 📍 main.go:150 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-14 20:41:54.743] [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-14 20:41:54.743] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-14 20:41:54.744] [INFO ] Application started successfully                        | 📍 main.go:404 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 20:41:54.744] [INFO ] gRPC Server running                                     | 📍 main.go:370 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-14 20:41:54.744] [INFO ] REST API running                                        | 📍 main.go:343 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-14 20:41:57.882] [INFO ] Application starting                                    | 📍 main.go:90 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-14 20:41:57.882] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:105 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-14 20:41:57.882] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:117 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 20:41:57.882] [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-14 20:41:57.892] [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-14 20:41:57.892] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:41:57.894] [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-14 20:41:57.894] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:41:57.915] [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-14 20:41:57.916] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:41:57.922] [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-14 20:41:57.922] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:41:57.929] [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-14 20:41:57.929] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:41:57.931] [INFO ] Cache initialized                                       | 📍 main.go:150 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-14 20:41:57.931] [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-14 20:41:57.932] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-14 20:41:57.933] [INFO ] Application started successfully                        | 📍 main.go:404 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 20:41:57.933] [INFO ] REST API running                                        | 📍 main.go:343 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-14 20:41:57.933] [INFO ] gRPC Server running                                     | 📍 main.go:370 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-14 20:41:59.996] [INFO ] Application starting                                    | 📍 main.go:90 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-14 20:41:59.996] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:105 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-14 20:41:59.996] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:117 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 20:41:59.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-14 20:42:00.017] [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-14 20:42:00.018] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:42:00.025] [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-14 20:42:00.025] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:42:00.032] [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-14 20:42:00.032] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:42:00.039] [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-14 20:42:00.039] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:42:00.040] [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-14 20:42:00.040] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:42:00.041] [INFO ] Cache initialized                                       | 📍 main.go:150 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-14 20:42:00.042] [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-14 20:42:00.042] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-14 20:42:00.043] [INFO ] Application started successfully                        | 📍 main.go:404 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 20:42:00.043] [INFO ] REST API running                                        | 📍 main.go:343 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-14 20:42:00.043] [INFO ] gRPC Server running                                     | 📍 main.go:370 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-14 20:42:02.902] [INFO ] Application starting                                    | 📍 main.go:90 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-14 20:42:02.902] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:105 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-14 20:42:02.902] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:117 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 20:42:02.902] [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-14 20:42:02.903] [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-14 20:42:02.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-14 20:42:02.923] [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-14 20:42:02.923] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:42:02.931] [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-14 20:42:02.931] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:42:02.939] [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-14 20:42:02.939] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:42:02.946] [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-14 20:42:02.946] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:42:02.948] [INFO ] Cache initialized                                       | 📍 main.go:150 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-14 20:42:02.948] [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-14 20:42:02.948] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-14 20:42:02.949] [INFO ] Application started successfully                        | 📍 main.go:404 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 20:42:02.949] [INFO ] REST API running                                        | 📍 main.go:343 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-14 20:42:02.949] [INFO ] gRPC Server running                                     | 📍 main.go:370 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-14 20:42:05.111] [INFO ] Application starting                                    | 📍 main.go:90 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-14 20:42:05.112] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:105 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-14 20:42:05.112] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:117 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 20:42:05.112] [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-14 20:42:05.119] [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-14 20:42:05.119] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:42:05.121] [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-14 20:42:05.121] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:42:05.143] [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-14 20:42:05.143] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:42:05.150] [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-14 20:42:05.150] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:42:05.160] [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-14 20:42:05.160] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:42:05.162] [INFO ] Cache initialized                                       | 📍 main.go:150 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-14 20:42:05.162] [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-14 20:42:05.162] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-14 20:42:05.163] [INFO ] Application started successfully                        | 📍 main.go:404 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 20:42:05.163] [INFO ] gRPC Server running                                     | 📍 main.go:370 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-14 20:42:05.164] [INFO ] REST API running                                        | 📍 main.go:343 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-14 20:42:07.933] [INFO ] Application starting                                    | 📍 main.go:90 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-14 20:42:07.934] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:105 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-14 20:42:07.934] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:117 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 20:42:07.934] [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-14 20:42:07.937] [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-14 20:42:07.937] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:42:07.957] [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-14 20:42:07.958] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:42:07.966] [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-14 20:42:07.966] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:42:07.974] [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-14 20:42:07.974] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:42:07.981] [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-14 20:42:07.981] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:42:07.983] [INFO ] Cache initialized                                       | 📍 main.go:150 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-14 20:42:07.983] [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-14 20:42:07.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-14 20:42:07.985] [INFO ] Application started successfully                        | 📍 main.go:404 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 20:42:07.985] [INFO ] REST API running                                        | 📍 main.go:343 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-14 20:42:07.985] [INFO ] gRPC Server running                                     | 📍 main.go:370 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-14 20:42:10.112] [INFO ] Application starting                                    | 📍 main.go:90 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-14 20:42:10.112] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:105 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-14 20:42:10.112] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:117 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 20:42:10.112] [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-14 20:42:10.119] [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-14 20:42:10.120] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:42:10.127] [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-14 20:42:10.127] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:42:10.128] [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-14 20:42:10.128] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:42:10.147] [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-14 20:42:10.147] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:42:10.157] [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-14 20:42:10.157] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:42:10.159] [INFO ] Cache initialized                                       | 📍 main.go:150 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-14 20:42:10.159] [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-14 20:42:10.159] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-14 20:42:10.161] [INFO ] REST API running                                        | 📍 main.go:343 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-14 20:42:10.161] [INFO ] Application started successfully                        | 📍 main.go:404 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 20:42:10.161] [INFO ] gRPC Server running                                     | 📍 main.go:370 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-14 20:42:12.824] [INFO ] Application starting                                    | 📍 main.go:90 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-14 20:42:12.825] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:105 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-14 20:42:12.825] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:117 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 20:42:12.825] [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-14 20:42:12.832] [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-14 20:42:12.832] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:42:12.840] [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-14 20:42:12.840] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:42:12.846] [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-14 20:42:12.846] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:42:12.848] [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-14 20:42:12.848] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:42:12.868] [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-14 20:42:12.868] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:42:12.871] [INFO ] Cache initialized                                       | 📍 main.go:150 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-14 20:42:12.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-14 20:42:12.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-14 20:42:12.874] [INFO ] Application started successfully                        | 📍 main.go:404 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 20:42:12.874] [INFO ] gRPC Server running                                     | 📍 main.go:370 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-14 20:42:12.874] [INFO ] REST API running                                        | 📍 main.go:343 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-14 20:42:15.000] [INFO ] Application starting                                    | 📍 main.go:90 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-14 20:42:15.000] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:105 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-14 20:42:15.000] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:117 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 20:42:15.000] [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-14 20:42:15.008] [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-14 20:42:15.008] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:42:15.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-14 20:42:15.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-14 20:42:15.027] [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-14 20:42:15.028] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:42:15.035] [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-14 20:42:15.035] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:42:15.043] [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-14 20:42:15.043] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:42:15.044] [INFO ] Cache initialized                                       | 📍 main.go:150 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-14 20:42:15.045] [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-14 20:42:15.045] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-14 20:42:15.046] [INFO ] Application started successfully                        | 📍 main.go:404 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 20:42:15.046] [INFO ] REST API running                                        | 📍 main.go:343 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-14 20:42:15.046] [INFO ] gRPC Server running                                     | 📍 main.go:370 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-14 20:42:17.014] [INFO ] Application starting                                    | 📍 main.go:90 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-14 20:42:17.015] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:105 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-14 20:42:17.015] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:117 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 20:42:17.015] [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-14 20:42:17.034] [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-14 20:42:17.034] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:42:17.043] [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-14 20:42:17.043] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:42:17.052] [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-14 20:42:17.052] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:42:17.073] [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-14 20:42:17.073] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:42:17.079] [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-14 20:42:17.079] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:42:17.082] [INFO ] Cache initialized                                       | 📍 main.go:150 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-14 20:42:17.083] [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-14 20:42:17.083] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-14 20:42:17.084] [INFO ] REST API running                                        | 📍 main.go:343 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-14 20:42:17.085] [INFO ] Application started successfully                        | 📍 main.go:404 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 20:42:17.085] [INFO ] gRPC Server running                                     | 📍 main.go:370 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-14 20:51:13.283] [INFO ] Application starting                                    | 📍 main.go:90 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-14 20:51:13.283] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:105 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-14 20:51:13.283] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:117 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 20:51:13.283] [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-14 20:51:13.305] [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-14 20:51:13.305] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:51:13.312] [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-14 20:51:13.312] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:51:13.314] [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-14 20:51:13.314] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:51:13.334] [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-14 20:51:13.334] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:51:13.343] [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-14 20:51:13.343] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:51:13.344] [INFO ] Cache initialized                                       | 📍 main.go:150 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-14 20:51:13.344] [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-14 20:51:13.345] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-14 20:51:13.345] [INFO ] Application started successfully                        | 📍 main.go:404 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 20:51:13.345] [INFO ] gRPC Server running                                     | 📍 main.go:370 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-14 20:51:13.346] [INFO ] REST API running                                        | 📍 main.go:343 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-14 20:51:16.402] [INFO ] Application starting                                    | 📍 main.go:90 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-14 20:51:16.402] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:105 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-14 20:51:16.402] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:117 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 20:51:16.402] [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-14 20:51:16.421] [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-14 20:51:16.421] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:51:16.430] [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-14 20:51:16.430] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:51:16.437] [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-14 20:51:16.437] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:51:16.445] [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-14 20:51:16.445] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:51:16.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-14 20:51:16.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-14 20:51:16.448] [INFO ] Cache initialized                                       | 📍 main.go:150 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-14 20:51:16.448] [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-14 20:51:16.448] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-14 20:51:16.449] [INFO ] Application started successfully                        | 📍 main.go:404 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 20:51:16.449] [INFO ] gRPC Server running                                     | 📍 main.go:370 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-14 20:51:16.449] [INFO ] REST API running                                        | 📍 main.go:343 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-14 20:51:19.257] [INFO ] Application starting                                    | 📍 main.go:90 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-14 20:51:19.257] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:105 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-14 20:51:19.257] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:117 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 20:51:19.257] [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-14 20:51:19.266] [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-14 20:51:19.266] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:51:19.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-14 20:51:19.272] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:51:19.279] [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-14 20:51:19.280] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:51:19.281] [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-14 20:51:19.281] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:51:19.300] [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-14 20:51:19.300] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:51:19.301] [INFO ] Cache initialized                                       | 📍 main.go:150 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-14 20:51:19.302] [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-14 20:51:19.302] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-14 20:51:19.303] [INFO ] Application started successfully                        | 📍 main.go:404 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 20:51:19.303] [INFO ] REST API running                                        | 📍 main.go:343 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-14 20:51:19.303] [INFO ] gRPC Server running                                     | 📍 main.go:370 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-14 20:51:22.595] [INFO ] Application starting                                    | 📍 main.go:90 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-14 20:51:22.596] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:105 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-14 20:51:22.596] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:117 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 20:51:22.596] [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-14 20:51:22.604] [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-14 20:51:22.604] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:51:22.605] [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-14 20:51:22.605] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:51:22.625] [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-14 20:51:22.625] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:51:22.632] [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-14 20:51:22.632] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:51:22.640] [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-14 20:51:22.640] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:51:22.641] [INFO ] Cache initialized                                       | 📍 main.go:150 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-14 20:51:22.642] [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-14 20:51:22.642] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-14 20:51:22.643] [INFO ] Application started successfully                        | 📍 main.go:404 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 20:51:22.643] [INFO ] gRPC Server running                                     | 📍 main.go:370 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-14 20:51:22.643] [INFO ] REST API running                                        | 📍 main.go:343 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-14 20:51:25.657] [INFO ] Application starting                                    | 📍 main.go:90 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-14 20:51:25.657] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:105 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-14 20:51:25.657] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:117 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 20:51:25.657] [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-14 20:51:25.676] [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-14 20:51:25.677] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:51:25.686] [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-14 20:51:25.686] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:51:25.694] [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-14 20:51:25.694] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:51:25.702] [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-14 20:51:25.702] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:51:25.704] [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-14 20:51:25.704] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:51:25.705] [INFO ] Cache initialized                                       | 📍 main.go:150 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-14 20:51:25.706] [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-14 20:51:25.706] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-14 20:51:25.706] [INFO ] Application started successfully                        | 📍 main.go:404 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 20:51:25.706] [INFO ] gRPC Server running                                     | 📍 main.go:370 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-14 20:51:25.707] [INFO ] REST API running                                        | 📍 main.go:343 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-14 20:51:28.306] [INFO ] Application starting                                    | 📍 main.go:90 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-14 20:51:28.306] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:105 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-14 20:51:28.306] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:117 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 20:51:28.306] [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-14 20:51:28.313] [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-14 20:51:28.313] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:51:28.314] [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-14 20:51:28.314] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:51:28.334] [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-14 20:51:28.334] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:51:28.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-14 20:51:28.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-14 20:51:28.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-14 20:51:28.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-14 20:51:28.350] [INFO ] Cache initialized                                       | 📍 main.go:150 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-14 20:51:28.350] [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-14 20:51:28.350] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-14 20:51:28.351] [INFO ] Application started successfully                        | 📍 main.go:404 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 20:51:28.351] [INFO ] gRPC Server running                                     | 📍 main.go:370 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-14 20:51:28.352] [INFO ] REST API running                                        | 📍 main.go:343 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-14 20:51:31.731] [INFO ] Application starting                                    | 📍 main.go:90 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-14 20:51:31.731] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:105 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-14 20:51:31.731] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:117 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 20:51:31.731] [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-14 20:51:31.751] [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-14 20:51:31.751] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:51:31.758] [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-14 20:51:31.758] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:51:31.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-14 20:51:31.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-14 20:51:31.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-14 20:51:31.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-14 20:51:31.775] [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-14 20:51:31.775] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:51:31.777] [INFO ] Cache initialized                                       | 📍 main.go:150 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-14 20:51:31.777] [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-14 20:51:31.777] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-14 20:51:31.778] [INFO ] Application started successfully                        | 📍 main.go:404 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 20:51:31.778] [INFO ] gRPC Server running                                     | 📍 main.go:370 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-14 20:51:31.778] [INFO ] REST API running                                        | 📍 main.go:343 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-14 20:51:34.422] [INFO ] Application starting                                    | 📍 main.go:90 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-14 20:51:34.422] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:105 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-14 20:51:34.422] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:117 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 20:51:34.422] [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-14 20:51:34.430] [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-14 20:51:34.430] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:51:34.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-14 20:51:34.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-14 20:51:34.441] [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-14 20:51:34.441] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:51:34.462] [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-14 20:51:34.462] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:51:34.472] [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-14 20:51:34.472] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:51:34.473] [INFO ] Cache initialized                                       | 📍 main.go:150 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-14 20:51:34.474] [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-14 20:51:34.474] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-14 20:51:34.475] [INFO ] Application started successfully                        | 📍 main.go:404 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 20:51:34.475] [INFO ] REST API running                                        | 📍 main.go:343 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-14 20:51:34.475] [INFO ] gRPC Server running                                     | 📍 main.go:370 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-14 20:51:37.113] [INFO ] Application starting                                    | 📍 main.go:90 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-14 20:51:37.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-14 20:51:37.114] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:117 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 20:51:37.114] [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-14 20:51:37.134] [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-14 20:51:37.134] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:51:37.143] [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-14 20:51:37.143] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:51:37.151] [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-14 20:51:37.151] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:51:37.158] [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-14 20:51:37.158] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:51:37.160] [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-14 20:51:37.160] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:51:37.161] [INFO ] Cache initialized                                       | 📍 main.go:150 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-14 20:51:37.161] [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-14 20:51:37.161] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-14 20:51:37.162] [INFO ] Application started successfully                        | 📍 main.go:404 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 20:51:37.162] [INFO ] REST API running                                        | 📍 main.go:343 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-14 20:51:37.162] [INFO ] gRPC Server running                                     | 📍 main.go:370 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-14 20:51:41.044] [INFO ] Application starting                                    | 📍 main.go:90 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-14 20:51:41.044] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:105 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-14 20:51:41.044] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:117 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 20:51:41.044] [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-14 20:51:41.051] [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-14 20:51:41.051] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:51:41.053] [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-14 20:51:41.053] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:51:41.073] [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-14 20:51:41.073] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:51:41.081] [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-14 20:51:41.082] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:51:41.089] [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-14 20:51:41.089] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:51:41.091] [INFO ] Cache initialized                                       | 📍 main.go:150 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-14 20:51:41.092] [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-14 20:51:41.092] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-14 20:51:41.093] [INFO ] Application started successfully                        | 📍 main.go:404 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 20:51:41.093] [INFO ] REST API running                                        | 📍 main.go:343 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-14 20:51:41.093] [INFO ] gRPC Server running                                     | 📍 main.go:370 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-14 20:51:44.071] [INFO ] Application starting                                    | 📍 main.go:90 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-14 20:51:44.071] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:105 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-14 20:51:44.071] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:117 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 20:51:44.071] [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-14 20:51:44.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-14 20:51:44.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-14 20:51:44.100] [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-14 20:51:44.100] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:51:44.108] [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-14 20:51:44.108] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:51:44.115] [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-14 20:51:44.115] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:51:44.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-14 20:51:44.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-14 20:51:44.120] [INFO ] Cache initialized                                       | 📍 main.go:150 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-14 20:51:44.121] [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-14 20:51:44.121] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-14 20:51:44.122] [INFO ] Application started successfully                        | 📍 main.go:404 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 20:51:44.122] [INFO ] REST API running                                        | 📍 main.go:343 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-14 20:51:44.123] [INFO ] gRPC Server running                                     | 📍 main.go:370 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-14 20:51:47.558] [INFO ] Application starting                                    | 📍 main.go:90 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-14 20:51:47.558] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:105 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-14 20:51:47.558] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:117 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 20:51:47.558] [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-14 20:51:47.566] [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-14 20:51:47.566] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:51:47.573] [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-14 20:51:47.573] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:51:47.574] [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-14 20:51:47.574] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:51:47.594] [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-14 20:51:47.594] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:51:47.601] [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-14 20:51:47.602] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:51:47.603] [INFO ] Cache initialized                                       | 📍 main.go:150 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-14 20:51:47.603] [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-14 20:51:47.604] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-14 20:51:47.605] [INFO ] Application started successfully                        | 📍 main.go:404 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 20:51:47.605] [INFO ] gRPC Server running                                     | 📍 main.go:370 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-14 20:51:47.605] [INFO ] REST API running                                        | 📍 main.go:343 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-14 20:51:50.029] [INFO ] Application starting                                    | 📍 main.go:90 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-14 20:51:50.029] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:105 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-14 20:51:50.029] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:117 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 20:51:50.029] [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-14 20:51:50.036] [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-14 20:51:50.036] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:51:50.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-14 20:51:50.043] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:51:50.045] [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-14 20:51:50.045] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:51:50.064] [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-14 20:51:50.064] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:51:50.072] [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-14 20:51:50.072] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:51:50.074] [INFO ] Cache initialized                                       | 📍 main.go:150 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-14 20:51:50.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-14 20:51:50.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-14 20:51:50.076] [INFO ] Application started successfully                        | 📍 main.go:404 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 20:51:50.076] [INFO ] gRPC Server running                                     | 📍 main.go:370 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-14 20:51:50.076] [INFO ] REST API running                                        | 📍 main.go:343 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-14 20:51:52.789] [INFO ] Application starting                                    | 📍 main.go:90 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-14 20:51:52.789] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:105 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-14 20:51:52.789] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:117 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 20:51:52.790] [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-14 20:51:52.811] [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-14 20:51:52.811] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:51:52.822] [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-14 20:51:52.822] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:51:52.831] [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-14 20:51:52.831] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:51:52.838] [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-14 20:51:52.838] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:51:52.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-14 20:51:52.840] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:51:52.842] [INFO ] Cache initialized                                       | 📍 main.go:150 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-14 20:51:52.843] [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-14 20:51:52.843] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-14 20:51:52.844] [INFO ] Application started successfully                        | 📍 main.go:404 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 20:51:52.844] [INFO ] gRPC Server running                                     | 📍 main.go:370 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-14 20:51:52.844] [INFO ] REST API running                                        | 📍 main.go:343 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-14 20:51:56.290] [INFO ] Application starting                                    | 📍 main.go:90 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-14 20:51:56.290] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:105 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-14 20:51:56.290] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:117 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 20:51:56.290] [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-14 20:51:56.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-14 20:51:56.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-14 20:51:56.305] [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-14 20:51:56.305] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:51:56.307] [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-14 20:51:56.307] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:51:56.325] [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-14 20:51:56.325] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:51:56.334] [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-14 20:51:56.334] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:51:56.335] [INFO ] Cache initialized                                       | 📍 main.go:150 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-14 20:51:56.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-14 20:51:56.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-14 20:51:56.336] [INFO ] Application started successfully                        | 📍 main.go:404 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 20:51:56.336] [INFO ] gRPC Server running                                     | 📍 main.go:370 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-14 20:51:56.336] [INFO ] REST API running                                        | 📍 main.go:343 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-14 20:52:00.016] [INFO ] Application starting                                    | 📍 main.go:90 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-14 20:52:00.016] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:105 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-14 20:52:00.016] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:117 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 20:52:00.016] [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-14 20:52:00.018] [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-14 20:52:00.018] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:52:00.035] [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-14 20:52:00.035] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:52:00.044] [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-14 20:52:00.044] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:52:00.054] [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-14 20:52:00.054] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:52:00.061] [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-14 20:52:00.061] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:52:00.062] [INFO ] Cache initialized                                       | 📍 main.go:150 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-14 20:52:00.063] [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-14 20:52:00.063] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-14 20:52:00.064] [INFO ] Application started successfully                        | 📍 main.go:404 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 20:52:00.064] [INFO ] gRPC Server running                                     | 📍 main.go:370 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-14 20:52:00.064] [INFO ] REST API running                                        | 📍 main.go:343 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-14 20:52:03.684] [INFO ] Application starting                                    | 📍 main.go:90 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-14 20:52:03.684] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:105 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-14 20:52:03.684] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:117 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 20:52:03.684] [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-14 20:52:03.703] [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-14 20:52:03.703] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:52:03.713] [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-14 20:52:03.713] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:52:03.720] [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-14 20:52:03.720] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:52:03.727] [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-14 20:52:03.727] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:52:03.728] [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-14 20:52:03.728] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:52:03.729] [INFO ] Cache initialized                                       | 📍 main.go:150 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-14 20:52:03.730] [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-14 20:52:03.730] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-14 20:52:03.731] [INFO ] Application started successfully                        | 📍 main.go:404 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 20:52:03.731] [INFO ] gRPC Server running                                     | 📍 main.go:370 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-14 20:52:03.731] [INFO ] REST API running                                        | 📍 main.go:343 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-14 20:52:13.953] [INFO ] Application starting                                    | 📍 main.go:90 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-14 20:52:13.953] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:105 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-14 20:52:13.954] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:117 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 20:52:13.954] [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-14 20:52:13.961] [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-14 20:52:13.961] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:52:13.968] [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-14 20:52:13.968] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:52:13.969] [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-14 20:52:13.969] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:52:13.989] [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-14 20:52:13.989] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:52:13.997] [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-14 20:52:13.997] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:52:13.999] [INFO ] Cache initialized                                       | 📍 main.go:150 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-14 20:52:14.000] [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-14 20:52:14.000] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-14 20:52:14.001] [INFO ] REST API running                                        | 📍 main.go:343 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-14 20:52:14.001] [INFO ] Application started successfully                        | 📍 main.go:404 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 20:52:14.001] [INFO ] gRPC Server running                                     | 📍 main.go:370 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-14 20:52:18.323] [INFO ] Application starting                                    | 📍 main.go:90 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-14 20:52:18.323] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:105 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-14 20:52:18.323] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:117 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 20:52:18.323] [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-14 20:52:18.325] [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-14 20:52:18.325] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:52:18.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-14 20:52:18.346] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:52:18.355] [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-14 20:52:18.355] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:52:18.362] [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-14 20:52:18.362] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:52:18.368] [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-14 20:52:18.368] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:52:18.370] [INFO ] Cache initialized                                       | 📍 main.go:150 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-14 20:52:18.370] [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-14 20:52:18.370] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-14 20:52:18.371] [INFO ] Application started successfully                        | 📍 main.go:404 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 20:52:18.371] [INFO ] gRPC Server running                                     | 📍 main.go:370 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-14 20:52:18.371] [INFO ] REST API running                                        | 📍 main.go:343 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-14 20:52:24.765] [INFO ] Application starting                                    | 📍 main.go:90 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-14 20:52:24.766] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:105 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-14 20:52:24.766] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:117 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 20:52:24.766] [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-14 20:52:24.773] [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-14 20:52:24.773] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:52:24.780] [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-14 20:52:24.780] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:52:24.787] [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-14 20:52:24.787] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:52:24.788] [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-14 20:52:24.788] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:52:24.807] [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-14 20:52:24.808] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:52:24.809] [INFO ] Cache initialized                                       | 📍 main.go:150 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-14 20:52:24.809] [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-14 20:52:24.809] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-14 20:52:24.810] [INFO ] Application started successfully                        | 📍 main.go:404 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 20:52:24.810] [INFO ] gRPC Server running                                     | 📍 main.go:370 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-14 20:52:24.810] [INFO ] REST API running                                        | 📍 main.go:343 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-14 20:52:30.517] [INFO ] Application starting                                    | 📍 main.go:90 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-14 20:52:30.517] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:105 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-14 20:52:30.517] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:117 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 20:52:30.517] [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-14 20:52:30.525] [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-14 20:52:30.525] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:52:30.533] [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-14 20:52:30.533] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:52:30.540] [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-14 20:52:30.540] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:52:30.541] [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-14 20:52:30.541] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:52:30.562] [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-14 20:52:30.562] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:52:30.563] [INFO ] Cache initialized                                       | 📍 main.go:150 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-14 20:52:30.564] [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-14 20:52:30.564] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-14 20:52:30.565] [INFO ] REST API running                                        | 📍 main.go:343 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-14 20:52:30.565] [INFO ] Application started successfully                        | 📍 main.go:404 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 20:52:30.565] [INFO ] gRPC Server running                                     | 📍 main.go:370 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-14 20:52:58.982] [INFO ] Application starting                                    | 📍 main.go:90 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-14 20:52:58.983] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:105 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-14 20:52:58.983] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:117 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 20:52:58.983] [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-14 20:52:59.006] [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-14 20:52:59.006] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:52:59.016] [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-14 20:52:59.016] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:52:59.025] [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-14 20:52:59.025] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:52:59.034] [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-14 20:52:59.034] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:52:59.035] [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-14 20:52:59.035] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:52:59.038] [INFO ] Cache initialized                                       | 📍 main.go:150 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-14 20:52:59.038] [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-14 20:52:59.038] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-14 20:52:59.039] [INFO ] Application started successfully                        | 📍 main.go:404 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 20:52:59.039] [INFO ] REST API running                                        | 📍 main.go:343 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-14 20:52:59.039] [INFO ] gRPC Server running                                     | 📍 main.go:370 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-14 20:53:03.564] [INFO ] Application starting                                    | 📍 main.go:90 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-14 20:53:03.565] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:105 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-14 20:53:03.565] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:117 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 20:53:03.565] [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-14 20:53:03.575] [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-14 20:53:03.575] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:53:03.585] [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-14 20:53:03.585] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:53:03.595] [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-14 20:53:03.595] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:53:03.596] [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-14 20:53:03.596] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:53:03.618] [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-14 20:53:03.618] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:53:03.620] [INFO ] Cache initialized                                       | 📍 main.go:150 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-14 20:53:03.621] [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-14 20:53:03.621] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-14 20:53:03.622] [INFO ] Application started successfully                        | 📍 main.go:404 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 20:53:03.622] [INFO ] gRPC Server running                                     | 📍 main.go:370 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-14 20:53:03.622] [INFO ] REST API running                                        | 📍 main.go:343 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-14 20:53:11.401] [INFO ] Application starting                                    | 📍 main.go:90 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-14 20:53:11.401] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:105 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-14 20:53:11.401] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:117 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 20:53:11.401] [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-14 20:53:11.409] [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-14 20:53:11.409] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:53:11.416] [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-14 20:53:11.416] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:53:11.423] [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-14 20:53:11.423] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:53:11.424] [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-14 20:53:11.424] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:53:11.446] [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-14 20:53:11.446] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:53:11.447] [INFO ] Cache initialized                                       | 📍 main.go:150 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-14 20:53:11.448] [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-14 20:53:11.448] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-14 20:53:11.449] [INFO ] Application started successfully                        | 📍 main.go:404 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 20:53:11.449] [INFO ] gRPC Server running                                     | 📍 main.go:370 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-14 20:53:11.449] [INFO ] REST API running                                        | 📍 main.go:343 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-14 20:53:16.810] [INFO ] Application starting                                    | 📍 main.go:90 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-14 20:53:16.810] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:105 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-14 20:53:16.810] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:117 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 20:53:16.810] [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-14 20:53:16.829] [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-14 20:53:16.829] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:53:16.837] [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-14 20:53:16.837] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:53:16.844] [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-14 20:53:16.844] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:53:16.850] [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-14 20:53:16.850] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:53:16.852] [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-14 20:53:16.852] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:53:16.853] [INFO ] Cache initialized                                       | 📍 main.go:150 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-14 20:53:16.854] [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-14 20:53:16.854] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-14 20:53:16.854] [INFO ] Application started successfully                        | 📍 main.go:404 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 20:53:16.855] [INFO ] gRPC Server running                                     | 📍 main.go:370 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-14 20:53:16.855] [INFO ] REST API running                                        | 📍 main.go:343 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-14 20:53:20.764] [INFO ] Application starting                                    | 📍 main.go:90 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-14 20:53:20.764] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:105 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-14 20:53:20.764] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:117 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 20:53:20.764] [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-14 20:53:20.766] [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-14 20:53:20.766] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:53:20.785] [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-14 20:53:20.785] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:53:20.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-14 20:53:20.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-14 20:53:20.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-14 20:53:20.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-14 20:53:20.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-14 20:53:20.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-14 20:53:20.810] [INFO ] Cache initialized                                       | 📍 main.go:150 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-14 20:53:20.810] [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-14 20:53:20.810] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-14 20:53:20.811] [INFO ] Application started successfully                        | 📍 main.go:404 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 20:53:20.811] [INFO ] gRPC Server running                                     | 📍 main.go:370 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-14 20:53:20.811] [INFO ] REST API running                                        | 📍 main.go:343 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-14 20:53:25.491] [INFO ] Application starting                                    | 📍 main.go:90 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-14 20:53:25.491] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:105 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-14 20:53:25.491] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:117 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 20:53:25.491] [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-14 20:53:25.499] [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-14 20:53:25.499] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:53:25.507] [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-14 20:53:25.507] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:53:25.514] [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-14 20:53:25.514] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:53:25.516] [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-14 20:53:25.516] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:53:25.535] [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-14 20:53:25.535] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 20:53:25.536] [INFO ] Cache initialized                                       | 📍 main.go:150 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-14 20:53:25.537] [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-14 20:53:25.537] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-14 20:53:25.538] [INFO ] Application started successfully                        | 📍 main.go:404 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 20:53:25.539] [INFO ] gRPC Server running                                     | 📍 main.go:370 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-14 20:53:25.539] [INFO ] REST API running                                        | 📍 main.go:343 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-14 20:57:17.059] [ERROR] HTTP error occurred                                     | 📍 http.go:116 | category: internal | environment: debug | error_code: INTERNAL_ERROR | ⚙️ service/pkg/errors.LogHTTPError | http_status: 500 | metadata: map[] | method: POST | path: /api/v1/satusehat/imagingstudy | service: service-general
[2026-04-14 20:57:17.059] [ERROR] HTTP Request                                            | 📍 middleware.go:173 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 1.209676ms | method: POST | path: /api/v1/satusehat/imagingstudy | request_id: 70b18a01-8f59-4b16-a760-9e60b398f17e | service: service-general | status: 500 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-14 20:58:07.536] [ERROR] HTTP error occurred                                     | 📍 http.go:116 | category: internal | environment: debug | error_code: INTERNAL_ERROR | ⚙️ service/pkg/errors.LogHTTPError | http_status: 500 | metadata: map[] | method: POST | path: /api/v1/satusehat/imagingstudy | service: service-general
[2026-04-14 20:58:07.536] [ERROR] HTTP Request                                            | 📍 middleware.go:173 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 963.124µs | method: POST | path: /api/v1/satusehat/imagingstudy | request_id: 7c12379f-fc28-4673-aa84-359dc0395f93 | service: service-general | status: 500 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-14 20:58:09.208] [ERROR] HTTP error occurred                                     | 📍 http.go:116 | category: internal | environment: debug | error_code: INTERNAL_ERROR | ⚙️ service/pkg/errors.LogHTTPError | http_status: 500 | metadata: map[] | method: POST | path: /api/v1/satusehat/imagingstudy | service: service-general
[2026-04-14 20:58:09.208] [ERROR] HTTP Request                                            | 📍 middleware.go:173 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 834.196µs | method: POST | path: /api/v1/satusehat/imagingstudy | request_id: 8cc3c8f6-3135-4040-b49e-af84167c3178 | service: service-general | status: 500 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-14 20:59:12.408] [ERROR] HTTP error occurred                                     | 📍 http.go:116 | category: internal | environment: debug | error_code: INTERNAL_ERROR | ⚙️ service/pkg/errors.LogHTTPError | http_status: 500 | metadata: map[] | method: POST | path: /api/v1/satusehat/imagingstudy | service: service-general
[2026-04-14 20:59:12.408] [ERROR] HTTP Request                                            | 📍 middleware.go:173 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 1.034358ms | method: POST | path: /api/v1/satusehat/imagingstudy | request_id: f76ddfb0-93ee-40aa-8654-26740fa21dca | service: service-general | status: 500 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-14 20:59:13.626] [ERROR] HTTP error occurred                                     | 📍 http.go:116 | category: internal | environment: debug | error_code: INTERNAL_ERROR | ⚙️ service/pkg/errors.LogHTTPError | http_status: 500 | metadata: map[] | method: POST | path: /api/v1/satusehat/imagingstudy | service: service-general
[2026-04-14 20:59:13.626] [ERROR] HTTP Request                                            | 📍 middleware.go:173 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 910.593µs | method: POST | path: /api/v1/satusehat/imagingstudy | request_id: 314fc3f5-04eb-4dcc-a509-d58018dc9e47 | service: service-general | status: 500 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-14 20:59:14.997] [ERROR] HTTP error occurred                                     | 📍 http.go:116 | category: internal | environment: debug | error_code: INTERNAL_ERROR | ⚙️ service/pkg/errors.LogHTTPError | http_status: 500 | metadata: map[] | method: POST | path: /api/v1/satusehat/imagingstudy | service: service-general
[2026-04-14 20:59:14.997] [ERROR] HTTP Request                                            | 📍 middleware.go:173 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 657.084µs | method: POST | path: /api/v1/satusehat/imagingstudy | request_id: 529213b5-3035-4947-893f-032cbe47befc | service: service-general | status: 500 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-14 20:59:16.136] [ERROR] HTTP error occurred                                     | 📍 http.go:116 | category: internal | environment: debug | error_code: INTERNAL_ERROR | ⚙️ service/pkg/errors.LogHTTPError | http_status: 500 | metadata: map[] | method: POST | path: /api/v1/satusehat/imagingstudy | service: service-general
[2026-04-14 20:59:16.136] [ERROR] HTTP Request                                            | 📍 middleware.go:173 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 770.88µs | method: POST | path: /api/v1/satusehat/imagingstudy | request_id: 19506af9-731f-4139-b0df-93cd84b60442 | service: service-general | status: 500 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-14 20:59:17.326] [ERROR] HTTP error occurred                                     | 📍 http.go:116 | category: internal | environment: debug | error_code: INTERNAL_ERROR | ⚙️ service/pkg/errors.LogHTTPError | http_status: 500 | metadata: map[] | method: POST | path: /api/v1/satusehat/imagingstudy | service: service-general
[2026-04-14 20:59:17.326] [ERROR] HTTP Request                                            | 📍 middleware.go:173 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 676.82µs | method: POST | path: /api/v1/satusehat/imagingstudy | request_id: 7dc66c6f-84ac-4a02-84b9-505bd1288134 | service: service-general | status: 500 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-14 20:59:18.348] [ERROR] HTTP error occurred                                     | 📍 http.go:116 | category: internal | environment: debug | error_code: INTERNAL_ERROR | ⚙️ service/pkg/errors.LogHTTPError | http_status: 500 | metadata: map[] | method: POST | path: /api/v1/satusehat/imagingstudy | service: service-general
[2026-04-14 20:59:18.348] [ERROR] HTTP Request                                            | 📍 middleware.go:173 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 871.113µs | method: POST | path: /api/v1/satusehat/imagingstudy | request_id: 1eaa638d-16a6-4984-991b-aa2ac8df6f84 | service: service-general | status: 500 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-14 20:59:39.735] [ERROR] HTTP error occurred                                     | 📍 http.go:116 | category: internal | environment: debug | error_code: INTERNAL_ERROR | ⚙️ service/pkg/errors.LogHTTPError | http_status: 500 | metadata: map[] | method: GET | path: /api/v1/satusehat/reference/patient/nik/3504041508700003 | service: service-general
[2026-04-14 20:59:39.735] [ERROR] HTTP Request                                            | 📍 middleware.go:173 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 862.228µs | method: GET | path: /api/v1/satusehat/reference/patient/nik/3504041508700003 | request_id: 57159d14-3267-481f-8a33-de0880a7130e | service: service-general | status: 500 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-14 20:59:47.607] [ERROR] HTTP error occurred                                     | 📍 http.go:116 | category: internal | environment: debug | error_code: INTERNAL_ERROR | ⚙️ service/pkg/errors.LogHTTPError | http_status: 500 | metadata: map[] | method: GET | path: /api/v1/satusehat/reference/patient | service: service-general
[2026-04-14 20:59:47.607] [ERROR] HTTP Request                                            | 📍 middleware.go:173 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 686.822µs | method: GET | path: /api/v1/satusehat/reference/patient | query: nik_ibu=0341099978952210 | request_id: 97d33e86-42a2-45fa-8bb2-3da4aff8d5ab | service: service-general | status: 500 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-14 21:00:59.756] [INFO ] Application starting                                    | 📍 main.go:90 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-14 21:00:59.756] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:105 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-14 21:00:59.756] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:117 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 21:00:59.756] [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-14 21:00:59.765] [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-14 21:00:59.766] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 21:00:59.768] [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-14 21:00:59.768] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 21:00:59.791] [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-14 21:00:59.791] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 21:00:59.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-14 21:00:59.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-14 21:00:59.808] [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-14 21:00:59.809] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 21:00:59.811] [INFO ] Cache initialized                                       | 📍 main.go:150 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-14 21:00:59.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-14 21:00:59.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-14 21:00:59.813] [INFO ] REST API running                                        | 📍 main.go:343 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-14 21:00:59.813] [INFO ] Application started successfully                        | 📍 main.go:404 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 21:00:59.813] [INFO ] gRPC Server running                                     | 📍 main.go:370 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-14 21:01:05.954] [ERROR] HTTP error occurred                                     | 📍 http.go:116 | category: internal | environment: debug | error_code: INTERNAL_ERROR | ⚙️ service/pkg/errors.LogHTTPError | http_status: 500 | metadata: map[] | method: POST | path: /api/v1/satusehat/imagingstudy | service: service-general
[2026-04-14 21:01:05.955] [ERROR] HTTP Request                                            | 📍 middleware.go:173 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 1.537948ms | method: POST | path: /api/v1/satusehat/imagingstudy | request_id: b22aa402-6904-4351-a614-0eb4b14b4706 | service: service-general | status: 500 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-14 21:03:45.061] [INFO ] Application starting                                    | 📍 main.go:90 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-14 21:03:45.062] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:105 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-14 21:03:45.062] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:117 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 21:03:45.062] [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-14 21:03:45.074] [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-14 21:03:45.074] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 21:03:45.084] [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-14 21:03:45.084] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 21:03:45.091] [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-14 21:03:45.091] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 21:03:45.093] [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-14 21:03:45.093] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 21:03:45.119] [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-14 21:03:45.119] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 21:03:45.122] [INFO ] Cache initialized                                       | 📍 main.go:150 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-14 21:03:45.123] [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-14 21:03:45.123] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-14 21:03:45.124] [INFO ] REST API running                                        | 📍 main.go:343 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-14 21:03:45.125] [INFO ] Application started successfully                        | 📍 main.go:404 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 21:03:45.125] [INFO ] gRPC Server running                                     | 📍 main.go:370 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-14 21:03:45.388] [INFO ] Application starting                                    | 📍 main.go:90 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-14 21:03:45.388] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:105 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-14 21:03:45.389] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:117 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 21:03:45.389] [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-14 21:03:45.391] [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-14 21:03:45.391] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 21:03:45.410] [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-14 21:03:45.410] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 21:03:45.419] [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-14 21:03:45.419] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 21:03:45.427] [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-14 21:03:45.427] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 21:03:45.434] [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-14 21:03:45.434] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 21:03:45.437] [INFO ] Cache initialized                                       | 📍 main.go:150 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-14 21:03:45.437] [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-14 21:03:45.437] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-14 21:03:45.438] [INFO ] REST API running                                        | 📍 main.go:343 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-14 21:03:45.439] [INFO ] Application started successfully                        | 📍 main.go:404 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 21:03:45.439] [INFO ] gRPC Server running                                     | 📍 main.go:370 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-14 21:03:48.938] [INFO ] Application starting                                    | 📍 main.go:90 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-14 21:03:48.939] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:105 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-14 21:03:48.939] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:117 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 21:03:48.939] [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-14 21:03:48.960] [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-14 21:03:48.960] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 21:03:48.969] [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-14 21:03:48.969] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 21:03:48.976] [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-14 21:03:48.976] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 21:03:48.983] [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-14 21:03:48.983] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 21:03:48.985] [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-14 21:03:48.985] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 21:03:48.987] [INFO ] Cache initialized                                       | 📍 main.go:150 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-14 21:03:48.988] [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-14 21:03:48.988] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-14 21:03:48.989] [INFO ] REST API running                                        | 📍 main.go:343 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-14 21:03:48.989] [INFO ] Application started successfully                        | 📍 main.go:404 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 21:03:48.989] [INFO ] gRPC Server running                                     | 📍 main.go:370 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-14 21:03:51.831] [ERROR] HTTP error occurred                                     | 📍 http.go:116 | category: internal | environment: debug | error_code: INTERNAL_ERROR | ⚙️ service/pkg/errors.LogHTTPError | http_status: 500 | metadata: map[] | method: POST | path: /api/v1/satusehat/imagingstudy | service: service-general
[2026-04-14 21:03:51.833] [ERROR] HTTP Request                                            | 📍 middleware.go:173 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 3.751416ms | method: POST | path: /api/v1/satusehat/imagingstudy | request_id: 73de6261-8c89-4500-9c8d-949a1295e3ae | service: service-general | status: 500 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-14 21:03:57.824] [ERROR] HTTP error occurred                                     | 📍 http.go:116 | category: internal | environment: debug | error_code: INTERNAL_ERROR | ⚙️ service/pkg/errors.LogHTTPError | http_status: 500 | metadata: map[] | method: GET | path: /api/v1/satusehat/reference/patient/nik/3504041508700003 | service: service-general
[2026-04-14 21:03:57.825] [ERROR] HTTP Request                                            | 📍 middleware.go:173 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 2.161052ms | method: GET | path: /api/v1/satusehat/reference/patient/nik/3504041508700003 | request_id: c3f3bfec-a350-464a-80f7-fc910afcad12 | service: service-general | status: 500 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-14 21:04:01.876] [ERROR] HTTP error occurred                                     | 📍 http.go:116 | category: internal | environment: debug | error_code: INTERNAL_ERROR | ⚙️ service/pkg/errors.LogHTTPError | http_status: 500 | metadata: map[] | method: GET | path: /api/v1/satusehat/reference/patient/P01021422990 | service: service-general
[2026-04-14 21:04:01.876] [ERROR] HTTP Request                                            | 📍 middleware.go:173 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 812.371µs | method: GET | path: /api/v1/satusehat/reference/patient/P01021422990 | request_id: 3462facd-6483-4955-bc29-979a854f276c | service: service-general | status: 500 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-14 21:04:08.918] [ERROR] HTTP error occurred                                     | 📍 http.go:116 | category: internal | environment: debug | error_code: INTERNAL_ERROR | ⚙️ service/pkg/errors.LogHTTPError | http_status: 500 | metadata: map[] | method: GET | path: /api/v1/satusehat/reference/location/e95ef6c7-21fe-4aff-86ad-d279984e380d | service: service-general
[2026-04-14 21:04:08.919] [ERROR] HTTP Request                                            | 📍 middleware.go:173 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 802.301µs | method: GET | path: /api/v1/satusehat/reference/location/e95ef6c7-21fe-4aff-86ad-d279984e380d | request_id: 5c40c891-6e53-477a-8812-89815ef22d0e | service: service-general | status: 500 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-14 21:09:41.975] [INFO ] Application starting                                    | 📍 main.go:90 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-14 21:09:41.976] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:105 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-14 21:09:41.976] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:117 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 21:09:41.976] [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-14 21:09:41.988] [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-14 21:09:41.989] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 21:09:41.995] [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-14 21:09:41.996] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 21:09:41.997] [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-14 21:09:41.998] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 21:09:42.025] [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-14 21:09:42.025] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 21:09:42.034] [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-14 21:09:42.034] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 21:09:42.036] [INFO ] Cache initialized                                       | 📍 main.go:150 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-14 21:09:42.037] [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-14 21:09:42.037] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-14 21:09:42.039] [INFO ] REST API running                                        | 📍 main.go:343 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-14 21:09:42.039] [INFO ] gRPC Server running                                     | 📍 main.go:370 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-14 21:09:42.039] [INFO ] Application started successfully                        | 📍 main.go:404 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 21:09:44.162] [ERROR] HTTP error occurred                                     | 📍 http.go:116 | category: internal | environment: debug | error_code: INTERNAL_ERROR | ⚙️ service/pkg/errors.LogHTTPError | http_status: 401 | metadata: map[timestamp:2026-04-14T21:09:44Z] | method: GET | path: /api/v1/satusehat/reference/location/e95ef6c7-21fe-4aff-86ad-d279984e380d | service: service-general
[2026-04-14 21:09:44.163] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 1.628725ms | method: GET | path: /api/v1/satusehat/reference/location/e95ef6c7-21fe-4aff-86ad-d279984e380d | request_id: 94e42a7a-6e30-43d9-bf35-334852306c61 | service: service-general | status: 401 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-14 21:09:56.585] [ERROR] HTTP error occurred                                     | 📍 http.go:116 | category: internal | environment: debug | error_code: INTERNAL_ERROR | ⚙️ service/pkg/errors.LogHTTPError | http_status: 401 | metadata: map[timestamp:2026-04-14T21:09:56Z] | method: GET | path: /api/v1/satusehat/reference/patient/nik/3504041508700003 | service: service-general
[2026-04-14 21:09:56.585] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 826.629µs | method: GET | path: /api/v1/satusehat/reference/patient/nik/3504041508700003 | request_id: fc2ebc47-3b90-4d91-a96e-7cbbf5a407b6 | service: service-general | status: 401 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-14 21:10:03.851] [ERROR] HTTP error occurred                                     | 📍 http.go:116 | category: internal | environment: debug | error_code: INTERNAL_ERROR | ⚙️ service/pkg/errors.LogHTTPError | http_status: 401 | metadata: map[timestamp:2026-04-14T21:10:03Z] | method: POST | path: /api/v1/satusehat/imagingstudy | service: service-general
[2026-04-14 21:10:03.851] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 676.838µs | method: POST | path: /api/v1/satusehat/imagingstudy | request_id: 33e329bd-943d-46e2-9765-d839863c4cbb | service: service-general | status: 401 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-14 21:14:16.187] [INFO ] Application starting                                    | 📍 main.go:90 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-14 21:14:16.187] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:105 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-14 21:14:16.188] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:117 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 21:14:16.188] [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-14 21:14:16.198] [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-14 21:14:16.198] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 21:14:16.206] [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-14 21:14:16.206] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 21:14:16.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-14 21:14:16.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-14 21:14:16.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-14 21:14:16.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-14 21:14:16.239] [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-14 21:14:16.239] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 21:14:16.241] [INFO ] Cache initialized                                       | 📍 main.go:150 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-14 21:14:16.242] [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-14 21:14:16.242] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-14 21:14:16.243] [INFO ] REST API running                                        | 📍 main.go:343 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-14 21:14:16.244] [INFO ] Application started successfully                        | 📍 main.go:404 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 21:14:16.244] [INFO ] gRPC Server running                                     | 📍 main.go:370 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-14 21:14:16.399] [ERROR] HTTP error occurred                                     | 📍 http.go:116 | category: unauthorized | environment: debug | error_code: UNAUTHORIZED | ⚙️ service/pkg/errors.LogHTTPError | http_status: 401 | metadata: map[timestamp:2026-04-14T21:14:16Z] | method: POST | path: /api/v1/satusehat/imagingstudy | service: service-general
[2026-04-14 21:14:16.399] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 1.619106ms | method: POST | path: /api/v1/satusehat/imagingstudy | request_id: 8b79af78-a8df-4b94-8851-efb2fb5fbe22 | service: service-general | status: 401 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-14 21:15:06.208] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 867.784µs | method: POST | path: /api/v1/auth/login | request_id: eab60942-91cd-44cc-b8fd-69a82c0d3752 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-14 21:15:08.750] [INFO ] 🔑 SatuSehat Access Token refreshed successfully         | 📍 client.go:124 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).GetAccessToken | service: service-general
[2026-04-14 21:15:08.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/Patient?identifier=https://fhir.kemkes.go.id/id/nik|3504041508700003
[2026-04-14 21:15:08.867] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 362.783206ms | method: GET | path: /api/v1/satusehat/reference/patient/nik/3504041508700003 | request_id: e83a3366-0a4b-4e7b-a691-0380201e57c0 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-14 21:16:21.341] [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/fhir-r4/v1/ImagingStudy
[2026-04-14 21:16:21.484] [ERROR] SatuSehat API Error                                     | 📍 client.go:244 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).do | response: {"issue":[{"code":"value","details":{"text":"reference_not_found"},"diagnostics":"reference target(s) not found: Encounter/5fa23d13-0943-4318-b295-eb1ecfa7384a (and 2 more)","severity":"error"}],"resourceType":"OperationOutcome"} | service: service-general | status_code: 400
[2026-04-14 21:16:21.485] [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: 147.103119ms | method: POST | path: /api/v1/satusehat/imagingstudy | request_id: 435f2944-27cc-40f9-ab94-343b21ec9bc6 | service: service-general | status: 400 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-14 21:16:21.486] [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-14T21:16:21Z] | method: POST | path: /api/v1/satusehat/imagingstudy | request_id: req_1776201381338544642 | service: service-general
[2026-04-14 21:16:32.096] [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/Patient?identifier=https%3A%2F%2Ffhir.kemkes.go.id%2Fid%2Fnik-ibu%7C0341099978952210
[2026-04-14 21:16:32.212] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 116.550774ms | method: GET | path: /api/v1/satusehat/reference/patient | query: nik_ibu=0341099978952210 | request_id: 416da371-71dc-4a27-98ee-8b5e63e47e27 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-14 21:16:40.091] [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/Patient?identifier=https://fhir.kemkes.go.id/id/nik|3504041508700003
[2026-04-14 21:16:40.213] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 122.634775ms | method: GET | path: /api/v1/satusehat/reference/patient/nik/3504041508700003 | request_id: f30ac4c4-1189-4542-9e73-772d4ef2cee5 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-14 21:16:48.093] [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/Patient?identifier=https%3A%2F%2Ffhir.kemkes.go.id%2Fid%2Fnik%7C3504041508700003
[2026-04-14 21:16:48.214] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 121.864187ms | method: GET | path: /api/v1/satusehat/reference/patient | query: nik=3504041508700003 | request_id: b06427d5-d363-4997-893a-b8b0f360b5b2 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-14 21:17:24.415] [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/Patient/P01021422990
[2026-04-14 21:17:24.566] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 152.395111ms | method: GET | path: /api/v1/satusehat/reference/patient/P01021422990 | request_id: 1581e229-9b75-42d5-a418-3339ba62bc7f | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-14 21:20:12.307] [INFO ] Application starting                                    | 📍 main.go:90 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-14 21:20:12.307] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:105 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-14 21:20:12.307] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:117 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 21:20:12.308] [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-14 21:20:12.317] [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-14 21:20:12.317] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 21:20:12.318] [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-14 21:20:12.318] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 21:20:12.342] [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-14 21:20:12.342] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 21:20:12.351] [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-14 21:20:12.351] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 21:20:12.359] [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-14 21:20:12.359] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-14 21:20:12.362] [INFO ] Cache initialized                                       | 📍 main.go:150 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-14 21:20:12.363] [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-14 21:20:12.363] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-14 21:20:12.364] [INFO ] Application started successfully                        | 📍 main.go:404 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-14 21:20:12.364] [INFO ] REST API running                                        | 📍 main.go:343 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-14 21:20:12.364] [INFO ] gRPC Server running                                     | 📍 main.go:370 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-14 21:20:12.987] [INFO ] 🔑 SatuSehat Access Token refreshed successfully         | 📍 client.go:124 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).GetAccessToken | service: service-general
[2026-04-14 21:20:12.987] [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/Patient/P01021422990
[2026-04-14 21:20:13.165] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 541.321743ms | method: GET | path: /api/v1/satusehat/reference/patient/P01021422990 | request_id: faf91da1-37b3-4c9f-b89a-c355b9c47c3b | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-14 21:20:15.984] [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/fhir-r4/v1/ImagingStudy
[2026-04-14 21:20:16.152] [ERROR] SatuSehat API Error                                     | 📍 client.go:244 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).do | response: {"issue":[{"code":"value","details":{"text":"reference_not_found"},"diagnostics":"reference target(s) not found: Encounter/5fa23d13-0943-4318-b295-eb1ecfa7384a (and 2 more)","severity":"error"}],"resourceType":"OperationOutcome"} | service: service-general | status_code: 400
[2026-04-14 21:20:16.153] [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: 170.637327ms | method: POST | path: /api/v1/satusehat/imagingstudy | request_id: 5acb9b75-9578-456e-a4b7-40e87ddf0a0f | service: service-general | status: 400 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-14 21:20:16.153] [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-14T21:20:16Z] | method: POST | path: /api/v1/satusehat/imagingstudy | request_id: req_1776201615982809436 | service: service-general
[2026-04-14 21:20:25.240] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 269.076µs | method: POST | path: /api/v1/satusehat/imagingstudy | request_id: 3a7793d0-a4cf-4aa3-8af6-e8d982bc24b8 | service: service-general | status: 401 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-14 21:20:38.139] [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/fhir-r4/v1/ImagingStudy
[2026-04-14 21:20:38.291] [ERROR] SatuSehat API Error                                     | 📍 client.go:244 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).do | response: {"issue":[{"code":"value","details":{"text":"reference_not_found"},"diagnostics":"reference target(s) not found: Encounter/5fa23d13-0943-4318-b295-eb1ecfa7384a (and 2 more)","severity":"error"}],"resourceType":"OperationOutcome"} | service: service-general | status_code: 400
[2026-04-14 21:20:38.291] [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: 152.347985ms | method: POST | path: /api/v1/satusehat/imagingstudy | request_id: 0b13b987-668e-40bd-bdf7-2cb3c1e90b16 | service: service-general | status: 400 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-14 21:20:38.291] [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-14T21:20:38Z] | method: POST | path: /api/v1/satusehat/imagingstudy | request_id: req_1776201638139232313 | service: service-general
[2026-04-14 21:29:21.345] [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/fhir-r4/v1/ImagingStudy
[2026-04-14 21:29:21.635] [ERROR] SatuSehat API Error                                     | 📍 client.go:244 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).do | response: {"issue":[{"code":"value","details":{"text":"reference_not_found"},"diagnostics":"reference target(s) not found: Encounter/5fa23d13-0943-4318-b295-eb1ecfa7384a (and 2 more)","severity":"error"}],"resourceType":"OperationOutcome"} | service: service-general | status_code: 400
[2026-04-14 21:29:21.636] [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: 300.919713ms | method: POST | path: /api/v1/satusehat/imagingstudy | request_id: 1f505ac3-f2ce-4a73-9996-500ca9dcf00b | service: service-general | status: 400 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-14 21:29:21.637] [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-14T21:29:21Z] | method: POST | path: /api/v1/satusehat/imagingstudy | request_id: req_1776202161335326965 | service: service-general
