[2026-04-23 03:01:10.407] [INFO ] Application starting                                    | 📍 main.go:92 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-23 03:01:10.408] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:107 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-23 03:01:10.408] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:119 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-23 03:01:10.408] [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-23 03:01:10.436] [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-23 03:01:10.436] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-23 03:01:10.475] [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-23 03:01:10.475] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-23 03:01:10.526] [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-23 03:01:10.526] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-23 03:01:10.537] [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-23 03:01:10.538] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-23 03:01:10.549] [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-23 03:01:10.549] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-23 03:01:10.552] [INFO ] Cache initialized                                       | 📍 main.go:152 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-23 03:01:10.553] [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-23 03:01:10.553] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-23 03:01:10.554] [INFO ] REST API running                                        | 📍 main.go:354 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-23 03:01:10.554] [INFO ] Application started successfully                        | 📍 main.go:415 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-23 03:01:10.555] [INFO ] gRPC Server running                                     | 📍 main.go:381 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-23 03:17:45.332] [INFO ] Application starting                                    | 📍 main.go:92 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-23 03:17:45.332] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:107 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-23 03:17:45.332] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:119 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-23 03:17:45.333] [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-23 03:17:45.336] [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-23 03:17:45.336] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-23 03:17:45.357] [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-23 03:17:45.357] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-23 03:17:45.368] [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-23 03:17:45.368] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-23 03:17:45.377] [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-23 03:17:45.377] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-23 03:17:45.384] [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-23 03:17:45.384] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-23 03:17:45.386] [INFO ] Cache initialized                                       | 📍 main.go:152 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-23 03:17:45.387] [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-23 03:17:45.387] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-23 03:17:45.388] [INFO ] REST API running                                        | 📍 main.go:354 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-23 03:17:45.388] [INFO ] Application started successfully                        | 📍 main.go:415 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-23 03:17:45.389] [INFO ] gRPC Server running                                     | 📍 main.go:381 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-23 03:25:43.260] [INFO ] Application starting                                    | 📍 main.go:92 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-23 03:25:43.261] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:107 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-23 03:25:43.261] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:119 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-23 03:25:43.261] [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-23 03:25:43.275] [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-23 03:25:43.275] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-23 03:25:43.283] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-23 03:25:43.284] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-23 03:25:43.291] [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-23 03:25:43.291] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-23 03:25:43.293] [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-23 03:25:43.293] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-23 03:25:43.307] [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-23 03:25:43.308] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-23 03:25:43.310] [INFO ] Cache initialized                                       | 📍 main.go:152 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-23 03:25:43.311] [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-23 03:25:43.311] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-23 03:25:43.312] [INFO ] REST API running                                        | 📍 main.go:354 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-23 03:25:43.312] [INFO ] Application started successfully                        | 📍 main.go:415 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-23 03:25:43.312] [INFO ] gRPC Server running                                     | 📍 main.go:381 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-23 03:35:03.856] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 1.03792ms | method: POST | path: /api/v1/satusehat/medication | request_id: f49df1e9-f804-4625-b4c9-bbcb1be7b6fa | service: service-general | status: 401 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-23 03:35:08.715] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 1.080353ms | method: POST | path: /api/v1/auth/login | request_id: f9c542e1-4fe5-4d71-ad84-7306a8e4e0cd | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-23 03:35:10.926] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 271.615µs | method: POST | path: /api/v1/satusehat/medication | request_id: e05d3aca-4d00-4c86-b3b5-0ab0fc75c711 | service: service-general | status: 401 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-23 03:36:31.669] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 592.577µs | method: POST | path: /api/v1/auth/login | request_id: b33b92e5-1584-4513-a788-860be0c0ba75 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-23 03:36:42.289] [ERROR] HTTP error occurred                                     | 📍 http.go:116 | category: validation | environment: debug | error_code: INVALID_INPUT | ⚙️ service/pkg/errors.LogHTTPError | http_status: 400 | metadata: map[additional_details:invalid character '/' looking for beginning of object key string reason:invalid character '/' looking for beginning of object key string timestamp:2026-04-23T03:36:42Z] | method: POST | path: /api/v1/satusehat/medication | service: service-general
[2026-04-23 03:36:42.290] [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: 1.473239ms | method: POST | path: /api/v1/satusehat/medication | request_id: 707a1f7b-958f-47b4-9525-9f392654b8b0 | service: service-general | status: 400 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-23 03:36:42.290] [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/medication | request_id: req_1776915402288586164 | service: service-general
[2026-04-23 03:36:51.518] [ERROR] HTTP error occurred                                     | 📍 http.go:116 | category: validation | environment: debug | error_code: INVALID_INPUT | ⚙️ service/pkg/errors.LogHTTPError | http_status: 400 | metadata: map[additional_details:unexpected EOF reason:unexpected EOF timestamp:2026-04-23T03:36:51Z] | method: POST | path: /api/v1/satusehat/medication | service: service-general
[2026-04-23 03:36:51.518] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ❌ ERROR: Error #01: unexpected EOF
 | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 909.301µs | method: POST | path: /api/v1/satusehat/medication | request_id: 185c2ff5-0293-4d00-9601-ac2aef11fdb1 | service: service-general | status: 400 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-23 03:36:51.518] [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/medication | request_id: req_1776915411517373659 | service: service-general
[2026-04-23 03:40:55.787] [ERROR] HTTP error occurred                                     | 📍 http.go:116 | category: validation | environment: debug | error_code: INVALID_INPUT | ⚙️ service/pkg/errors.LogHTTPError | http_status: 400 | metadata: map[additional_details:unexpected EOF reason:unexpected EOF timestamp:2026-04-23T03:40:55Z] | method: POST | path: /api/v1/satusehat/medication | service: service-general
[2026-04-23 03:40:55.787] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ❌ ERROR: Error #01: unexpected EOF
 | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 980.614µs | method: POST | path: /api/v1/satusehat/medication | request_id: 36e68520-f9ce-46e3-995f-3359d9abd854 | service: service-general | status: 400 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-23 03:40:55.788] [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/medication | request_id: req_1776915655786960299 | service: service-general
[2026-04-23 03:41:03.346] [ERROR] HTTP error occurred                                     | 📍 http.go:116 | category: validation | environment: debug | error_code: INVALID_INPUT | ⚙️ service/pkg/errors.LogHTTPError | http_status: 400 | metadata: map[additional_details:unexpected EOF reason:unexpected EOF timestamp:2026-04-23T03:41:03Z] | method: POST | path: /api/v1/satusehat/medication | service: service-general
[2026-04-23 03:41:03.346] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ❌ ERROR: Error #01: unexpected EOF
 | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 775.515µs | method: POST | path: /api/v1/satusehat/medication | request_id: 1ecf61c3-fcce-4d07-8534-a2ad4fc293b2 | service: service-general | status: 400 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-23 03:41:03.346] [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/medication | request_id: req_1776915663345840894 | service: service-general
[2026-04-23 03:43:36.539] [ERROR] HTTP error occurred                                     | 📍 http.go:116 | category: validation | environment: debug | error_code: INVALID_INPUT | ⚙️ service/pkg/errors.LogHTTPError | http_status: 400 | metadata: map[additional_details:invalid character '}' looking for beginning of object key string reason:invalid character '}' looking for beginning of object key string timestamp:2026-04-23T03:43:36Z] | method: POST | path: /api/v1/satusehat/medication | service: service-general
[2026-04-23 03:43:36.539] [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: 1.113081ms | method: POST | path: /api/v1/satusehat/medication | request_id: ba09e929-0329-489f-aebb-7dfbb7be1a8e | service: service-general | status: 400 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-23 03:43:36.539] [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/medication | request_id: req_1776915816538552774 | service: service-general
[2026-04-23 03:43:40.672] [ERROR] HTTP error occurred                                     | 📍 http.go:116 | category: validation | environment: debug | error_code: INVALID_INPUT | ⚙️ service/pkg/errors.LogHTTPError | http_status: 400 | metadata: map[additional_details:Kolom 'KfaDisplay' wajib diisi reason:Key: 'MedicationRequest.KfaDisplay' Error:Field validation for 'KfaDisplay' failed on the 'required' tag timestamp:2026-04-23T03:43:40Z] | method: POST | path: /api/v1/satusehat/medication | service: service-general
[2026-04-23 03:43:40.672] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ❌ ERROR: Error #01: Key: 'MedicationRequest.KfaDisplay' Error:Field validation for 'KfaDisplay' failed on the 'required' tag
 | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 993.969µs | method: POST | path: /api/v1/satusehat/medication | request_id: ac1d86f8-3129-493a-9cc2-884261388ef2 | service: service-general | status: 400 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-23 03:43:40.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/medication | request_id: req_1776915820671748851 | service: service-general
[2026-04-23 03:45:35.264] [INFO ] Application starting                                    | 📍 main.go:92 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-23 03:45:35.264] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:107 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-23 03:45:35.264] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:119 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-23 03:45:35.264] [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-23 03:45:35.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-23 03:45:35.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-23 03:45:35.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-23 03:45:35.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-23 03:45:35.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-23 03:45:35.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-23 03:45:35.311] [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-23 03:45:35.311] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-23 03:45:35.321] [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-23 03:45:35.321] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-23 03:45:35.324] [INFO ] Cache initialized                                       | 📍 main.go:152 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-23 03:45:35.324] [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-23 03:45:35.325] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-23 03:45:35.326] [INFO ] REST API running                                        | 📍 main.go:354 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-23 03:45:35.326] [INFO ] Application started successfully                        | 📍 main.go:415 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-23 03:45:35.326] [INFO ] gRPC Server running                                     | 📍 main.go:381 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-23 03:45:47.300] [INFO ] 🔑 SatuSehat Access Token refreshed successfully         | 📍 client.go:136 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).GetAccessToken | service: service-general
[2026-04-23 03:45:47.301] [INFO ] 🛫 SatuSehat API Request Sent                            | 📍 client.go:216 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).do | method: POST | service: service-general | target_url: https://api-satusehat.kemkes.go.id/fhir-r4/v1/Medication
[2026-04-23 03:45:47.471] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 347.395794ms | method: POST | path: /api/v1/satusehat/medication | request_id: 62205eed-339f-465d-aec2-855ac59b3bd9 | service: service-general | status: 201 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-23 03:48:31.809] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 524.169µs | method: GET | path: /api/v1/satusehat/medication/3687b22f-39a2-4657-be35-b01baf5ae432 | request_id: b755e428-c570-4735-bbad-f3b388db6133 | service: service-general | status: 401 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-23 03:48:44.561] [INFO ] 🛫 SatuSehat API Request Sent                            | 📍 client.go:216 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).do | method: GET | service: service-general | target_url: https://api-satusehat.kemkes.go.id/fhir-r4/v1/Medication/3687b22f-39a2-4657-be35-b01baf5ae432
[2026-04-23 03:48:44.749] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 187.855769ms | method: GET | path: /api/v1/satusehat/medication/3687b22f-39a2-4657-be35-b01baf5ae432 | request_id: 3f90ad39-d57e-4e1f-86ec-3e3834f15a29 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-23 04:30:50.041] [INFO ] Application starting                                    | 📍 main.go:92 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-23 04:30:50.042] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:107 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-23 04:30:50.042] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:119 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-23 04:30:50.042] [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-23 04:30:50.056] [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-23 04:30:50.056] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-23 04:30:50.069] [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-23 04:30:50.069] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-23 04:30:50.076] [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-23 04:30:50.076] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-23 04:30:50.078] [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-23 04:30:50.078] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-23 04:30:50.102] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-23 04:30:50.102] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-23 04:30:50.105] [INFO ] Cache initialized                                       | 📍 main.go:152 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-23 04:30:50.106] [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-23 04:30:50.106] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-23 04:30:50.107] [INFO ] REST API running                                        | 📍 main.go:354 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-23 04:30:50.107] [INFO ] gRPC Server running                                     | 📍 main.go:381 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-23 04:30:50.107] [INFO ] Application started successfully                        | 📍 main.go:415 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-23 04:30:51.990] [INFO ] Application starting                                    | 📍 main.go:92 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-23 04:30:51.990] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:107 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-23 04:30:51.990] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:119 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-23 04:30:51.991] [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-23 04:30:52.001] [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-23 04:30:52.001] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-23 04:30:52.009] [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-23 04:30:52.009] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-23 04:30:52.016] [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-23 04:30:52.016] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-23 04:30:52.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-23 04:30:52.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-23 04:30:52.040] [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-23 04:30:52.040] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-23 04:30:52.043] [INFO ] Cache initialized                                       | 📍 main.go:152 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-23 04:30:52.044] [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-23 04:30:52.044] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-23 04:30:52.045] [INFO ] REST API running                                        | 📍 main.go:354 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-23 04:30:52.045] [INFO ] Application started successfully                        | 📍 main.go:415 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-23 04:30:52.046] [INFO ] gRPC Server running                                     | 📍 main.go:381 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-23 04:45:05.641] [INFO ] Application starting                                    | 📍 main.go:92 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-23 04:45:05.642] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:107 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-23 04:45:05.642] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:119 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-23 04:45:05.642] [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-23 04:45:05.645] [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-23 04:45:05.645] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-23 04:45:05.665] [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-23 04:45:05.666] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-23 04:45:05.683] [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-23 04:45:05.683] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-23 04:45:05.692] [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-23 04:45:05.692] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-23 04:45:05.699] [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-23 04:45:05.700] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-23 04:45:05.703] [INFO ] Cache initialized                                       | 📍 main.go:152 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-23 04:45:05.704] [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-23 04:45:05.704] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-23 04:45:05.706] [INFO ] REST API running                                        | 📍 main.go:354 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-23 04:45:05.706] [INFO ] Application started successfully                        | 📍 main.go:415 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-23 04:45:05.706] [INFO ] gRPC Server running                                     | 📍 main.go:381 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-23 04:45:09.490] [INFO ] Application starting                                    | 📍 main.go:92 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-23 04:45:09.490] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:107 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-23 04:45:09.491] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:119 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-23 04:45:09.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-23 04:45:09.501] [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-23 04:45:09.501] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-23 04:45:09.509] [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-23 04:45:09.509] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-23 04:45:09.516] [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-23 04:45:09.516] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-23 04:45:09.518] [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-23 04:45:09.518] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-23 04:45:09.538] [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-23 04:45:09.538] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-23 04:45:09.541] [INFO ] Cache initialized                                       | 📍 main.go:152 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-23 04:45:09.542] [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-23 04:45:09.542] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-23 04:45:09.544] [INFO ] REST API running                                        | 📍 main.go:354 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-23 04:45:09.544] [INFO ] gRPC Server running                                     | 📍 main.go:381 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-23 04:45:09.544] [INFO ] Application started successfully                        | 📍 main.go:415 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-23 04:48:06.951] [INFO ] Application starting                                    | 📍 main.go:92 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-23 04:48:06.951] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:107 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-23 04:48:06.952] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:119 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-23 04:48:06.952] [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-23 04:48:06.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-23 04:48:06.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-23 04:48:06.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-23 04:48:06.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-23 04:48:06.970] [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-23 04:48:06.970] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-23 04:48:06.990] [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-23 04:48:06.990] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-23 04:48:06.999] [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-23 04:48:06.999] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-23 04:48:07.002] [INFO ] Cache initialized                                       | 📍 main.go:152 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-23 04:48:07.003] [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-23 04:48:07.003] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-23 04:48:07.004] [INFO ] REST API running                                        | 📍 main.go:354 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-23 04:48:07.004] [INFO ] Application started successfully                        | 📍 main.go:415 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-23 04:48:07.004] [INFO ] gRPC Server running                                     | 📍 main.go:381 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-23 04:48:09.151] [INFO ] Application starting                                    | 📍 main.go:92 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-23 04:48:09.151] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:107 | database_count: 5 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-23 04:48:09.151] [INFO ] Minio Object Storage client initialized                 | 📍 main.go:119 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-23 04:48:09.151] [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-23 04:48:09.162] [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-23 04:48:09.162] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-23 04:48:09.171] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-23 04:48:09.171] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-23 04:48:09.179] [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-23 04:48:09.179] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: satudata | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-23 04:48:09.180] [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-23 04:48:09.180] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: ris | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-23 04:48:09.204] [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-23 04:48:09.204] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-23 04:48:09.207] [INFO ] Cache initialized                                       | 📍 main.go:152 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-23 04:48:09.208] [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-23 04:48:09.208] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-23 04:48:09.209] [INFO ] REST API running                                        | 📍 main.go:354 | environment: debug | ⚙️ main.main.func1 | port: 8096 | service: service-general
[2026-04-23 04:48:09.210] [INFO ] Application started successfully                        | 📍 main.go:415 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-23 04:48:09.210] [INFO ] gRPC Server running                                     | 📍 main.go:381 | environment: debug | ⚙️ main.main.func2 | port: 8097 | service: service-general
[2026-04-23 05:35:30.368] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 4.137415ms | method: POST | path: /api/v1/auth/login | request_id: c54eeb49-2c49-44b4-97b6-67857a8d6643 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-23 06:56:15.129] [ERROR] HTTP error occurred                                     | 📍 http.go:116 | category: unauthorized | environment: debug | error_code: UNAUTHORIZED | ⚙️ service/pkg/errors.LogHTTPError | http_status: 401 | metadata: map[reason:map[provider_errors:map[jwt:invalid token keycloak:token expired] severity:warning timestamp:2026-04-23T06:56:15Z] timestamp:2026-04-23T06:56:15Z] | method: POST | path: /api/v1/satusehat/medicationrequest | service: service-general
[2026-04-23 06:56:15.130] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 5.249718ms | method: POST | path: /api/v1/satusehat/medicationrequest | request_id: 7a26e9e7-f694-4aa0-8b9f-d8ba1d7bcaa7 | service: service-general | status: 401 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-23 06:56:24.945] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 410.689µs | method: POST | path: /api/v1/auth/login | request_id: dcdfe53a-7385-4213-b0d5-7d7c6aa3993d | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-23 06:56:29.191] [ERROR] HTTP error occurred                                     | 📍 http.go:116 | category: validation | environment: debug | error_code: INVALID_INPUT | ⚙️ service/pkg/errors.LogHTTPError | http_status: 400 | metadata: map[additional_details:invalid character '}' looking for beginning of object key string reason:invalid character '}' looking for beginning of object key string timestamp:2026-04-23T06:56:29Z] | method: POST | path: /api/v1/satusehat/medicationrequest | service: service-general
[2026-04-23 06:56:29.192] [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: 1.280921ms | method: POST | path: /api/v1/satusehat/medicationrequest | request_id: f2e5596e-0182-46b3-ba0b-6ae2709e1eea | service: service-general | status: 400 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-23 06:56:29.192] [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/medicationrequest | request_id: req_1776927389190698485 | service: service-general
[2026-04-23 06:56:33.565] [ERROR] HTTP error occurred                                     | 📍 http.go:116 | category: validation | environment: debug | error_code: INVALID_INPUT | ⚙️ service/pkg/errors.LogHTTPError | http_status: 400 | metadata: map[additional_details:Kolom 'AuthoredOn' wajib diisi reason:Key: 'MedicationRequestRequest.AuthoredOn' Error:Field validation for 'AuthoredOn' failed on the 'required' tag timestamp:2026-04-23T06:56:33Z] | method: POST | path: /api/v1/satusehat/medicationrequest | service: service-general
[2026-04-23 06:56:33.566] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ❌ ERROR: Error #01: Key: 'MedicationRequestRequest.AuthoredOn' Error:Field validation for 'AuthoredOn' failed on the 'required' tag
 | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 1.909335ms | method: POST | path: /api/v1/satusehat/medicationrequest | request_id: c0b2955b-dd28-4b59-af0b-9e396ab0b034 | service: service-general | status: 400 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-23 06:56:33.566] [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/medicationrequest | request_id: req_1776927393564124058 | service: service-general
[2026-04-23 07:17:18.573] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.125 | latency: 449.756µs | method: GET | path: /api/v1/satusehat/procedure | request_id: 6d96ddce-c057-495a-8225-eaa57c14dc78 | service: service-general | status: 401 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-23 07:51:01.748] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.114 | latency: 494.982µs | method: POST | path: /api/v1/auth/login | request_id: 6fea1bdb-a703-43b3-833d-5559589af43a | service: service-general | status: 403 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/147.0.0.0 Safari/537.36
[2026-04-23 07:51:28.392] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.114 | latency: 43.949µs | method: POST | path: /api/v1/auth/login | request_id: 3abb9663-39d1-4b33-9d9d-343964553cb9 | service: service-general | status: 403 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/147.0.0.0 Safari/537.36
[2026-04-23 07:52:53.137] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.114 | latency: 61.598µs | method: POST | path: /api/v1/auth/login | request_id: 1de9e5ca-0ffc-416c-b55a-667b634513b3 | service: service-general | status: 403 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/147.0.0.0 Safari/537.36
[2026-04-23 07:53:31.145] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.114 | latency: 91.733µs | method: POST | path: /api/v1/auth/login | request_id: 8ab5a642-a316-46e0-8494-e3a8ada4fa0b | service: service-general | status: 403 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/147.0.0.0 Safari/537.36
