[2026-04-07 00:36:41.407] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 3.262533ms | method: GET | path: /api/v1/roles/pages | query: filter | request_id: f483a316-7b1e-4e08-905b-3fd31efa7f6e | service: service-general | status: 401 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 00:36:55.168] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 429.416µs | method: POST | path: /api/v1/auth/login | request_id: f80cb9c1-c0f0-4f3e-9c1e-d3cd62d0fba3 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 00:36:57.165] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 15.041107ms | method: GET | path: /api/v1/roles/pages | query: filter | request_id: c7380542-45b2-455d-a720-ddfd7fd6da09 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 00:37:04.164] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 3.368312ms | method: GET | path: /api/v1/roles/pages/tree | query: active=true | request_id: 79db143c-ff73-4fc7-8b0b-aef86d90362a | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 00:51:49.302] [INFO ] Application starting                                    | 📍 main.go:75 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-07 00:51:49.303] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:90 | database_count: 3 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-07 00:51:49.303] [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-07 00:51:49.313] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-07 00:51:49.313] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 00:51:49.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-07 00:51:49.322] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 00:51:49.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-07 00:51:49.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-07 00:51:49.342] [INFO ] Found migration files to execute                        | 📍 database.go:532 | count: 4 | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).runSQLMigrationsForDB | service: service-general
[2026-04-07 00:51:49.344] [DEBUG] Migrations table already exists                         | 📍 database.go:1371 | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).ensureMigrationTable | service: service-general
[2026-04-07 00:51:49.398] [WARNI] Database migration completed with issues                | 📍 main.go:106 | environment: debug | ❌ ERROR: sql migration failed for simrs: migration failed at file internal/infrastructure/database/sql/00001_role_pages.sql: failed to execute SQL command: -- Trigger untuk update updated_at
CREATE OR REPLACE FUNCTION update_updated_at_column()
RETURNS TRIGGER AS $
BEGIN
    NEW.updated_at = CURRENT_TIMESTAMP, error: ERROR: syntax error at or near "$" (SQLSTATE 42601) | ⚙️ main.main | service: service-general
[2026-04-07 00:51:49.399] [INFO ] Cache initialized                                       | 📍 main.go:131 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-07 00:51:49.399] [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/sandbox | service: service-general | static_tokens_len: 4
[2026-04-07 00:51:49.399] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-07 00:51:49.400] [INFO ] Registered RolPermission gRPC service                   | 📍 server.go:35 | environment: debug | ⚙️ service/internal/infrastructure/transport/grpc/servers.NewGRPCServer | service: service-general
[2026-04-07 00:51:49.400] [INFO ] Application started successfully                        | 📍 main.go:327 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-07 00:51:49.400] [INFO ] gRPC Server running                                     | 📍 main.go:293 | environment: debug | ⚙️ main.main.func2 | port: 8095 | service: service-general
[2026-04-07 00:51:49.400] [INFO ] REST API running                                        | 📍 main.go:266 | environment: debug | ⚙️ main.main.func1 | port: 8094 | service: service-general
[2026-04-07 00:51:59.222] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 1.049737ms | method: GET | path: /api/v1/roles/pages/tree | query: active=true | request_id: 3b15ed80-9fab-46a9-aca5-129cb56ba6e0 | service: service-general | status: 401 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 00:52:03.091] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 625.317µs | method: POST | path: /api/v1/auth/login | request_id: e0969f41-5dd3-4e5b-9489-81e47b46bce9 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 00:52:06.297] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 5.244942ms | method: GET | path: /api/v1/roles/pages/tree | query: active=true | request_id: 02b7092b-56ce-4b65-b8b4-f27bb1097688 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 00:52:12.348] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 2.66135ms | method: GET | path: /api/v1/roles/pages/tree | request_id: 4bff9f52-da53-4d33-9c03-77cfab639fb4 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 00:52:32.944] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 2.877432ms | method: GET | path: /api/v1/roles/pages | query: filter | request_id: e45898d6-c4f0-459f-b00f-1bfb58fa0e33 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 00:52:42.358] [DEBUG] Cache hit for Role Pages Search                         | 📍 service.go:97 | environment: debug | ⚙️ service/internal/master/role/pages.(*service).Search | key: role_pages_search:0e43c0356c7b0edb8709d9e3a9ded96ebe4e2bf019fec58ab78fa4d402ccb287 | service: service-general
[2026-04-07 00:52:42.358] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 992.344µs | method: GET | path: /api/v1/roles/pages | request_id: 4d05a127-966c-474d-8d23-285b69c228b9 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 00:55:35.339] [INFO ] Application starting                                    | 📍 main.go:75 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-07 00:55:35.340] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:90 | database_count: 3 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-07 00:55:35.340] [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-07 00:55:35.350] [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-07 00:55:35.350] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 00:55:35.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-07 00:55:35.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-07 00:55:35.384] [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-07 00:55:35.384] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 00:55:35.384] [INFO ] Found migration files to execute                        | 📍 database.go:532 | count: 4 | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).runSQLMigrationsForDB | service: service-general
[2026-04-07 00:55:35.385] [DEBUG] Migrations table already exists                         | 📍 database.go:1371 | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).ensureMigrationTable | service: service-general
[2026-04-07 00:55:35.417] [WARNI] Database migration completed with issues                | 📍 main.go:106 | environment: debug | ❌ ERROR: sql migration failed for simrs: migration failed at file internal/infrastructure/database/sql/00001_role_pages.sql: failed to execute SQL command: -- Trigger untuk update updated_at
CREATE OR REPLACE FUNCTION update_updated_at_column()
RETURNS TRIGGER AS $
BEGIN
    NEW.updated_at = CURRENT_TIMESTAMP, error: ERROR: syntax error at or near "$" (SQLSTATE 42601) | ⚙️ main.main | service: service-general
[2026-04-07 00:55:35.419] [INFO ] Cache initialized                                       | 📍 main.go:131 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-07 00:55:35.420] [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/sandbox | service: service-general | static_tokens_len: 4
[2026-04-07 00:55:35.420] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-07 00:55:35.421] [INFO ] REST API running                                        | 📍 main.go:266 | environment: debug | ⚙️ main.main.func1 | port: 8094 | service: service-general
[2026-04-07 00:55:35.421] [INFO ] Registered RolPermission gRPC service                   | 📍 server.go:35 | environment: debug | ⚙️ service/internal/infrastructure/transport/grpc/servers.NewGRPCServer | service: service-general
[2026-04-07 00:55:35.421] [INFO ] Application started successfully                        | 📍 main.go:327 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-07 00:55:35.421] [INFO ] gRPC Server running                                     | 📍 main.go:293 | environment: debug | ⚙️ main.main.func2 | port: 8095 | service: service-general
[2026-04-07 00:55:36.666] [DEBUG] Cache hit for Role Pages Search                         | 📍 service.go:97 | environment: debug | ⚙️ service/internal/master/role/pages.(*service).Search | key: role_pages_search:0e43c0356c7b0edb8709d9e3a9ded96ebe4e2bf019fec58ab78fa4d402ccb287 | service: service-general
[2026-04-07 00:55:36.666] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 1.420602ms | method: GET | path: /api/v1/roles/pages | request_id: 8f2e8e84-b34c-4b82-bac8-a95fbb0de045 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 00:56:21.082] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 5.733811ms | method: GET | path: /api/v1/roles/pages/tree | request_id: 69f98e42-8489-4746-a08e-039893dabf88 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 00:57:40.999] [INFO ] Application starting                                    | 📍 main.go:75 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-07 00:57:41.000] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:90 | database_count: 3 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-07 00:57:41.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-07 00:57:41.039] [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-07 00:57:41.039] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 00:57:41.053] [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-07 00:57:41.053] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 00:57:41.061] [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-07 00:57:41.061] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 00:57:41.061] [INFO ] Found migration files to execute                        | 📍 database.go:532 | count: 4 | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).runSQLMigrationsForDB | service: service-general
[2026-04-07 00:57:41.063] [DEBUG] Migrations table already exists                         | 📍 database.go:1371 | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).ensureMigrationTable | service: service-general
[2026-04-07 00:57:41.091] [WARNI] Database migration completed with issues                | 📍 main.go:106 | environment: debug | ❌ ERROR: sql migration failed for simrs: migration failed at file internal/infrastructure/database/sql/00001_role_pages.sql: failed to execute SQL command: -- Trigger untuk update updated_at
CREATE OR REPLACE FUNCTION update_updated_at_column()
RETURNS TRIGGER AS $
BEGIN
    NEW.updated_at = CURRENT_TIMESTAMP, error: ERROR: syntax error at or near "$" (SQLSTATE 42601) | ⚙️ main.main | service: service-general
[2026-04-07 00:57:41.093] [INFO ] Cache initialized                                       | 📍 main.go:131 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-07 00:57:41.093] [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/sandbox | service: service-general | static_tokens_len: 4
[2026-04-07 00:57:41.093] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-07 00:57:41.094] [INFO ] Registered RolPermission gRPC service                   | 📍 server.go:35 | environment: debug | ⚙️ service/internal/infrastructure/transport/grpc/servers.NewGRPCServer | service: service-general
[2026-04-07 00:57:41.094] [INFO ] Application started successfully                        | 📍 main.go:327 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-07 00:57:41.094] [INFO ] REST API running                                        | 📍 main.go:266 | environment: debug | ⚙️ main.main.func1 | port: 8094 | service: service-general
[2026-04-07 00:57:41.094] [INFO ] gRPC Server running                                     | 📍 main.go:293 | environment: debug | ⚙️ main.main.func2 | port: 8095 | service: service-general
[2026-04-07 00:57:46.185] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 6.018971ms | method: GET | path: /api/v1/roles/pages | request_id: 8e835500-199f-4dbf-bdc6-d077eb065e94 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 00:57:56.549] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 5.245749ms | method: GET | path: /api/v1/roles/permissions | request_id: 24a977c1-864b-49a5-b6f7-f450d2c7c6ce | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 00:58:09.636] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 4.152343ms | method: GET | path: /api/v1/roles/pages/tree | query: active=true | request_id: 9c00c4fc-7d8b-4fb7-953d-eb8ad577a0d3 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 00:58:26.682] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 2.867408ms | method: GET | path: /api/v1/roles/pages | query: active=false | request_id: 73a56bd3-cd6b-4f6c-9ce2-f1c9a8f70137 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 01:00:17.854] [INFO ] Application starting                                    | 📍 main.go:75 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-07 01:00:17.854] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:90 | database_count: 3 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-07 01:00:17.854] [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-07 01:00:17.869] [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-07 01:00:17.869] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 01:00:17.887] [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-07 01:00:17.887] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 01:00:17.926] [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-07 01:00:17.926] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 01:00:17.926] [INFO ] Found migration files to execute                        | 📍 database.go:532 | count: 4 | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).runSQLMigrationsForDB | service: service-general
[2026-04-07 01:00:17.934] [WARNI] Database migration completed with issues                | 📍 main.go:106 | environment: debug | ❌ ERROR: sql migration failed for default: failed to ensure migration table: failed to create migrations table: ERROR: no schema has been selected to create in (SQLSTATE 3F000) | ⚙️ main.main | service: service-general
[2026-04-07 01:00:17.935] [INFO ] Cache initialized                                       | 📍 main.go:131 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-07 01:00:17.935] [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/sandbox | service: service-general | static_tokens_len: 4
[2026-04-07 01:00:17.936] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-07 01:00:17.936] [INFO ] Registered RolPermission gRPC service                   | 📍 server.go:35 | environment: debug | ⚙️ service/internal/infrastructure/transport/grpc/servers.NewGRPCServer | service: service-general
[2026-04-07 01:00:17.936] [INFO ] Application started successfully                        | 📍 main.go:327 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-07 01:00:17.936] [INFO ] REST API running                                        | 📍 main.go:266 | environment: debug | ⚙️ main.main.func1 | port: 8094 | service: service-general
[2026-04-07 01:00:17.936] [INFO ] gRPC Server running                                     | 📍 main.go:293 | environment: debug | ⚙️ main.main.func2 | port: 8095 | service: service-general
[2026-04-07 01:00:18.852] [INFO ] Application starting                                    | 📍 main.go:75 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-07 01:00:18.852] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:90 | database_count: 3 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-07 01:00:18.852] [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-07 01:00:18.860] [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-07 01:00:18.860] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 01:00:18.869] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-07 01:00:18.869] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 01:00:18.887] [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-07 01:00:18.887] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 01:00:18.887] [INFO ] Found migration files to execute                        | 📍 database.go:532 | count: 4 | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).runSQLMigrationsForDB | service: service-general
[2026-04-07 01:00:18.889] [DEBUG] Migrations table already exists                         | 📍 database.go:1371 | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).ensureMigrationTable | service: service-general
[2026-04-07 01:00:18.919] [WARNI] Database migration completed with issues                | 📍 main.go:106 | environment: debug | ❌ ERROR: sql migration failed for simrs: migration failed at file internal/infrastructure/database/sql/00001_role_pages.sql: failed to execute SQL command: -- Trigger untuk update updated_at
CREATE OR REPLACE FUNCTION update_updated_at_column()
RETURNS TRIGGER AS $
BEGIN
    NEW.updated_at = CURRENT_TIMESTAMP, error: ERROR: syntax error at or near "$" (SQLSTATE 42601) | ⚙️ main.main | service: service-general
[2026-04-07 01:00:18.922] [INFO ] Cache initialized                                       | 📍 main.go:131 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-07 01:00:18.922] [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/sandbox | service: service-general | static_tokens_len: 4
[2026-04-07 01:00:18.922] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-07 01:00:18.922] [INFO ] Registered RolPermission gRPC service                   | 📍 server.go:35 | environment: debug | ⚙️ service/internal/infrastructure/transport/grpc/servers.NewGRPCServer | service: service-general
[2026-04-07 01:00:18.923] [INFO ] REST API running                                        | 📍 main.go:266 | environment: debug | ⚙️ main.main.func1 | port: 8094 | service: service-general
[2026-04-07 01:00:18.923] [INFO ] gRPC Server running                                     | 📍 main.go:293 | environment: debug | ⚙️ main.main.func2 | port: 8095 | service: service-general
[2026-04-07 01:00:18.923] [INFO ] Application started successfully                        | 📍 main.go:327 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-07 01:00:36.516] [INFO ] Built search query                                      | 📍 repository.go:204 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:created_at Order:DESC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 01:00:36.558] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 42.952287ms | method: GET | path: /api/v1/roles/master | request_id: c8c6a148-f5b3-4506-a137-bca41526ded3 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 01:01:29.784] [INFO ] Application starting                                    | 📍 main.go:75 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-07 01:01:29.784] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:90 | database_count: 3 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-07 01:01:29.784] [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-07 01:01:29.793] [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-07 01:01:29.793] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 01:01:29.812] [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-07 01:01:29.812] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 01:01:29.819] [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-07 01:01:29.819] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 01:01:29.819] [INFO ] Found migration files to execute                        | 📍 database.go:532 | count: 4 | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).runSQLMigrationsForDB | service: service-general
[2026-04-07 01:01:29.820] [WARNI] Database migration completed with issues                | 📍 main.go:106 | environment: debug | ❌ ERROR: sql migration failed for default: failed to ensure migration table: failed to create migrations table: ERROR: no schema has been selected to create in (SQLSTATE 3F000) | ⚙️ main.main | service: service-general
[2026-04-07 01:01:29.822] [INFO ] Cache initialized                                       | 📍 main.go:131 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-07 01:01:29.823] [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/sandbox | service: service-general | static_tokens_len: 4
[2026-04-07 01:01:29.823] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-07 01:01:29.823] [INFO ] Registered RolPermission gRPC service                   | 📍 server.go:35 | environment: debug | ⚙️ service/internal/infrastructure/transport/grpc/servers.NewGRPCServer | service: service-general
[2026-04-07 01:01:29.823] [INFO ] REST API running                                        | 📍 main.go:266 | environment: debug | ⚙️ main.main.func1 | port: 8094 | service: service-general
[2026-04-07 01:01:29.823] [INFO ] Application started successfully                        | 📍 main.go:327 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-07 01:01:29.824] [INFO ] gRPC Server running                                     | 📍 main.go:293 | environment: debug | ⚙️ main.main.func2 | port: 8095 | service: service-general
[2026-04-07 01:01:35.751] [INFO ] Built search query                                      | 📍 repository.go:204 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:created_at Order:DESC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 01:01:35.757] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 7.453476ms | method: GET | path: /api/v1/roles/master | request_id: 9928c71c-e449-476d-9acf-103a01c4f106 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 01:01:43.180] [INFO ] Built search query                                      | 📍 repository.go:294 | environment: debug | ⚙️ service/internal/master/role/permission.(*repository).Search | request: {Fields:[{Expression:rp.* Alias: WindowFunction:<nil>} {Expression:rm.name Alias:role_master_name WindowFunction:<nil>}] From:role_access.rol_permission Aliases:rp Joins:[{Type:INNER Table:role_access.rol_master Alias:rm OnConditions:{Filters:[{Column:rm.id Operator:_eq Value:rp.role_keycloak Options:map[]}] LogicOp:} Lateral:false}] Filters:[{Filters:[{Column:rp.active Operator:_eq Value:true Options:map[]}] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:rp.created_at Order:DESC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 01:01:43.184] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 5.011277ms | method: GET | path: /api/v1/roles/permissions | request_id: 1366a3a7-921a-44d5-be81-8929e5166af6 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 01:01:52.784] [INFO ] Built search query                                      | 📍 repository.go:294 | environment: debug | ⚙️ service/internal/master/role/permission.(*repository).Search | request: {Fields:[{Expression:rp.* Alias: WindowFunction:<nil>} {Expression:rm.name Alias:role_master_name WindowFunction:<nil>}] From:role_access.rol_permission Aliases:rp Joins:[{Type:INNER Table:role_access.rol_master Alias:rm OnConditions:{Filters:[{Column:rm.id Operator:_eq Value:rp.role_keycloak Options:map[]}] LogicOp:} Lateral:false}] Filters:[{Filters:[{Column:rp.active Operator:_eq Value:false Options:map[]}] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:rp.created_at Order:DESC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 01:01:52.787] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 3.085099ms | method: GET | path: /api/v1/roles/permissions | query: active=false | request_id: 3110d670-6853-4759-860b-9fcb3032654f | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 01:02:10.800] [DEBUG] Cache hit for Role Permission Search                    | 📍 service.go:98 | environment: debug | ⚙️ service/internal/master/role/permission.(*service).Search | key: role_permission_search:a328873ec1c55968ed90a86620a6167e6ccc32db1b6d8b3c6dcd79f2891a4225 | service: service-general
[2026-04-07 01:02:10.800] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 753.828µs | method: GET | path: /api/v1/roles/permissions | query: active=false | request_id: ecae79ad-0f66-417f-9853-5035a9a9830a | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 01:02:12.532] [DEBUG] Cache hit for Role Permission Search                    | 📍 service.go:98 | environment: debug | ⚙️ service/internal/master/role/permission.(*service).Search | key: role_permission_search:a328873ec1c55968ed90a86620a6167e6ccc32db1b6d8b3c6dcd79f2891a4225 | service: service-general
[2026-04-07 01:02:12.532] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 575.399µs | method: GET | path: /api/v1/roles/permissions | query: active=false | request_id: 7779e604-c24f-4366-87dc-99e0ed4743dd | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 01:03:53.747] [INFO ] Application starting                                    | 📍 main.go:75 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-07 01:03:53.748] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:90 | database_count: 3 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-07 01:03:53.748] [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-07 01:03:53.768] [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-07 01:03:53.768] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 01:03:53.778] [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-07 01:03:53.778] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 01:03:53.786] [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-07 01:03:53.786] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 01:03:53.786] [INFO ] Found migration files to execute                        | 📍 database.go:532 | count: 4 | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).runSQLMigrationsForDB | service: service-general
[2026-04-07 01:03:53.787] [WARNI] Database migration completed with issues                | 📍 main.go:106 | environment: debug | ❌ ERROR: sql migration failed for farmasi: failed to ensure migration table: failed to create migrations table: mssql: Incorrect syntax near 'Migrations'. | ⚙️ main.main | service: service-general
[2026-04-07 01:03:53.790] [INFO ] Cache initialized                                       | 📍 main.go:131 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-07 01:03:53.790] [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/sandbox | service: service-general | static_tokens_len: 4
[2026-04-07 01:03:53.790] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-07 01:03:53.791] [INFO ] REST API running                                        | 📍 main.go:266 | environment: debug | ⚙️ main.main.func1 | port: 8094 | service: service-general
[2026-04-07 01:03:53.791] [INFO ] Registered RolPermission gRPC service                   | 📍 server.go:35 | environment: debug | ⚙️ service/internal/infrastructure/transport/grpc/servers.NewGRPCServer | service: service-general
[2026-04-07 01:03:53.791] [INFO ] Application started successfully                        | 📍 main.go:327 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-07 01:03:53.791] [INFO ] gRPC Server running                                     | 📍 main.go:293 | environment: debug | ⚙️ main.main.func2 | port: 8095 | service: service-general
[2026-04-07 01:04:01.585] [DEBUG] Cache hit for Role Permission Search                    | 📍 service.go:98 | environment: debug | ⚙️ service/internal/master/role/permission.(*service).Search | key: role_permission_search:a328873ec1c55968ed90a86620a6167e6ccc32db1b6d8b3c6dcd79f2891a4225 | service: service-general
[2026-04-07 01:04:01.585] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 1.3478ms | method: GET | path: /api/v1/roles/permissions | query: active=false | request_id: 42fe6736-6e08-40ca-ba7f-794f253c3bde | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 01:04:02.483] [DEBUG] Cache hit for Role Permission Search                    | 📍 service.go:98 | environment: debug | ⚙️ service/internal/master/role/permission.(*service).Search | key: role_permission_search:a328873ec1c55968ed90a86620a6167e6ccc32db1b6d8b3c6dcd79f2891a4225 | service: service-general
[2026-04-07 01:04:02.484] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 745.421µs | method: GET | path: /api/v1/roles/permissions | query: active=false | request_id: c841a8fa-8d05-471c-a161-260df1969159 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 01:04:02.855] [DEBUG] Cache hit for Role Permission Search                    | 📍 service.go:98 | environment: debug | ⚙️ service/internal/master/role/permission.(*service).Search | key: role_permission_search:a328873ec1c55968ed90a86620a6167e6ccc32db1b6d8b3c6dcd79f2891a4225 | service: service-general
[2026-04-07 01:04:02.855] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 622.657µs | method: GET | path: /api/v1/roles/permissions | query: active=false | request_id: 2f3269a6-ea4d-43b8-b79e-bff94340bd74 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 01:04:11.798] [INFO ] Built search query                                      | 📍 repository.go:278 | environment: debug | ⚙️ service/internal/master/role/permission.(*repository).Search | request: {Fields:[{Expression:rp.* Alias: WindowFunction:<nil>} {Expression:rm.name Alias:role_master_name WindowFunction:<nil>}] From:role_access.rol_permission Aliases:rp Joins:[{Type:INNER Table:role_access.rol_master Alias:rm OnConditions:{Filters:[{Column:rm.id Operator:_eq Value:rp.role_keycloak Options:map[]}] LogicOp:} Lateral:false}] Filters:[{Filters:[{Column:rp.active Operator:_eq Value:true Options:map[]}] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:rp.created_at Order:DESC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 01:04:11.805] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 8.493631ms | method: GET | path: /api/v1/roles/permissions | query: active=true | request_id: 3c72b3dd-18e6-4791-ab47-e6ac886ac950 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 01:04:17.988] [DEBUG] Cache hit for Role Permission Search                    | 📍 service.go:98 | environment: debug | ⚙️ service/internal/master/role/permission.(*service).Search | key: role_permission_search:18178c9cefd7c975d14dd9827c4d0ab51f503b2a86a8708920543f4a9c544ab4 | service: service-general
[2026-04-07 01:04:17.988] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 910.669µs | method: GET | path: /api/v1/roles/permissions | request_id: a4f03511-1012-4d15-8795-cfed2a8ab844 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 01:08:38.844] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 161.391µs | method: OPTIONS | path: /api/v1/auth/login | request_id: 0592468d-3bcf-4824-9852-00ee46461bab | service: service-general | status: 204 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 01:08:38.850] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 972.195µs | method: POST | path: /api/v1/auth/login | request_id: ec5d919d-883e-40ec-8976-f6b8f66f000b | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 01:08:38.923] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 453.15µs | method: GET | path: /api/v1/auth/info | request_id: de4831a0-7c23-4749-98bd-efd82c22a508 | service: service-general | status: 200 | user_agent: node
[2026-04-07 01:08:49.867] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 37.164µs | method: OPTIONS | path: /api/v1/roles/pages/tree | request_id: f5b9963b-e9de-47dc-bec3-55b34268e21e | service: service-general | status: 204 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 01:08:49.879] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 3.803891ms | method: GET | path: /api/v1/roles/pages/tree | request_id: 803307ad-daeb-4d83-a55a-7ec243e3c9d4 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 01:09:01.486] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 20.945µs | method: OPTIONS | path: /api/v1/roles/pages/8 | request_id: aa55f1c5-0aaa-4546-8da4-2d4b38b4d993 | service: service-general | status: 204 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 01:09:01.503] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 10.810439ms | method: GET | path: /api/v1/roles/pages/8 | request_id: 452940a4-5e50-4eb8-9254-6a0a8d3a79ea | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 01:09:09.695] [DEBUG] Database query executed                                 | 📍 database.go:174 | duration_ms: 2.819408ms | environment: debug | ⚙️ service/internal/infrastructure/database.(*gormLoggerAdapter).Trace | request_id: 6c8252d0-5271-46f3-aed8-1f7574637f46 | rows: 1 | service: service-general | sql: DELETE FROM "role_access"."rol_pages" WHERE "rol_pages"."id" = 8
[2026-04-07 01:09:09.695] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 5.223233ms | method: DELETE | path: /api/v1/roles/pages/8 | request_id: 6c8252d0-5271-46f3-aed8-1f7574637f46 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 01:09:09.733] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 3.333635ms | method: GET | path: /api/v1/roles/pages/tree | request_id: ca1b46f6-24be-4222-84e5-21b54c1722dd | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 01:09:13.212] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.311913ms | method: GET | path: /api/v1/roles/pages/tree | request_id: 1eccfb48-e36d-4edb-a6b3-48cb78c1dbe9 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 01:10:51.431] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 65.962µs | method: OPTIONS | path: /api/v1/roles/pages/1 | request_id: d45bca72-a800-4e83-9d3b-180c87a28503 | service: service-general | status: 204 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 01:10:51.441] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 3.840427ms | method: GET | path: /api/v1/roles/pages/1 | request_id: ce2161c9-61e4-4d73-8a97-35341e47ba41 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 01:11:26.914] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 745.507µs | method: GET | path: /api/v1/roles/pages/tree | query: active=true | request_id: 88d60df7-2cbd-4f5c-a727-cda882d60070 | service: service-general | status: 401 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 01:11:33.100] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 438.045µs | method: POST | path: /api/v1/auth/login | request_id: 158f78c3-3b23-4c52-99b1-71e3f1f4de73 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 01:11:39.298] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 3.660708ms | method: GET | path: /api/v1/roles/pages/tree | query: active=true | request_id: 02fc8c0e-a10a-47bd-b786-7aad2c9919dd | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 01:12:14.614] [INFO ] Built search query                                      | 📍 repository.go:204 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:created_at Order:DESC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 01:12:14.618] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 5.178056ms | method: GET | path: /api/v1/roles/master | request_id: 1f74e920-65b9-4983-b0f1-a2a2368d4ab8 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 01:12:29.481] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 4.496964ms | method: GET | path: /api/v1/roles/permissions/role/1 | request_id: a68e7c15-4ce6-4c63-9fb7-978ed4187fe1 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 01:14:43.642] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 11.641649ms | method: GET | path: /api/v1/roles/pages/tree | request_id: 3e5d021c-9434-4ec3-9d79-33e31edb71d2 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 01:15:45.034] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.465272ms | method: GET | path: /api/v1/roles/pages/tree | request_id: 8cf645df-6e73-40a1-8636-4f8105ab897e | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 01:16:31.722] [INFO ] Built search query                                      | 📍 repository.go:204 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:created_at Order:DESC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 01:16:31.726] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 4.416939ms | method: GET | path: /api/v1/roles/master | request_id: 9d1fefd5-2736-4360-811c-35b8e85a6e02 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 01:16:58.178] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 7.667991ms | method: GET | path: /api/v1/roles/pages/tree | request_id: 33ddc693-0a39-4888-8666-49056e889eea | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 01:17:00.937] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.148019ms | method: GET | path: /api/v1/roles/pages/tree | request_id: d2922e0b-22a7-4900-a324-a61a0cbec3ce | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 01:17:21.779] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 1.878002ms | method: GET | path: /api/v1/roles/pages/tree | request_id: be997ce6-7556-48f3-8ac4-8ceaaccb4279 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 01:17:22.855] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.057549ms | method: GET | path: /api/v1/roles/pages/tree | request_id: 81910fae-cd6a-4ccb-91ac-c279f17038c9 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 01:17:26.589] [INFO ] Application starting                                    | 📍 main.go:75 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-07 01:17:26.589] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:90 | database_count: 3 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-07 01:17:26.589] [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-07 01:17:26.600] [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-07 01:17:26.600] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 01:17:26.608] [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-07 01:17:26.608] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 01:17: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-07 01:17: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-07 01:17:26.622] [INFO ] Found migration files to execute                        | 📍 database.go:532 | count: 4 | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).runSQLMigrationsForDB | service: service-general
[2026-04-07 01:17:26.624] [DEBUG] Migrations table already exists                         | 📍 database.go:1371 | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).ensureMigrationTable | service: service-general
[2026-04-07 01:17:26.654] [WARNI] Database migration completed with issues                | 📍 main.go:106 | environment: debug | ❌ ERROR: sql migration failed for simrs: migration failed at file internal/infrastructure/database/sql/00001_role_pages.sql: failed to execute SQL command: -- Trigger untuk update updated_at
CREATE OR REPLACE FUNCTION update_updated_at_column()
RETURNS TRIGGER AS $
BEGIN
    NEW.updated_at = CURRENT_TIMESTAMP, error: ERROR: syntax error at or near "$" (SQLSTATE 42601) | ⚙️ main.main | service: service-general
[2026-04-07 01:17:26.657] [INFO ] Cache initialized                                       | 📍 main.go:131 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-07 01:17:26.657] [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/sandbox | service: service-general | static_tokens_len: 4
[2026-04-07 01:17:26.657] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-07 01:17:26.658] [INFO ] Registered RolPermission gRPC service                   | 📍 server.go:35 | environment: debug | ⚙️ service/internal/infrastructure/transport/grpc/servers.NewGRPCServer | service: service-general
[2026-04-07 01:17:26.658] [INFO ] Application started successfully                        | 📍 main.go:327 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-07 01:17:26.658] [INFO ] REST API running                                        | 📍 main.go:266 | environment: debug | ⚙️ main.main.func1 | port: 8094 | service: service-general
[2026-04-07 01:17:26.658] [INFO ] gRPC Server running                                     | 📍 main.go:293 | environment: debug | ⚙️ main.main.func2 | port: 8095 | service: service-general
[2026-04-07 01:18:00.364] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 6.61672ms | method: GET | path: /api/v1/roles/pages/tree | request_id: b9ed4a94-7826-4d64-bc78-bbb9d75280ef | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 01:18:18.045] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 780.564µs | method: GET | path: /api/v1/roles/permissions | request_id: e8499f48-aa4b-4d3a-999c-e6bc7899549e | service: service-general | status: 401 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 01:18:20.710] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 913.426µs | method: POST | path: /api/v1/auth/login | request_id: 270597a2-6eb8-477e-99c7-4563627ad339 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 01:18:23.545] [INFO ] Built search query                                      | 📍 repository.go:278 | environment: debug | ⚙️ service/internal/master/role/permission.(*repository).Search | request: {Fields:[{Expression:rp.* Alias: WindowFunction:<nil>} {Expression:rm.name Alias:role_master_name WindowFunction:<nil>}] From:role_access.rol_permission Aliases:rp Joins:[{Type:INNER Table:role_access.rol_master Alias:rm OnConditions:{Filters:[{Column:rm.id Operator:_eq Value:rp.role_keycloak Options:map[]}] LogicOp:} Lateral:false}] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:rp.id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 01:18:23.549] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 5.404939ms | method: GET | path: /api/v1/roles/permissions | request_id: f6342995-f412-42db-8b15-05790edd3a1d | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 01:18:40.536] [INFO ] Built search query                                      | 📍 repository.go:278 | environment: debug | ⚙️ service/internal/master/role/permission.(*repository).Search | request: {Fields:[{Expression:rp.* Alias: WindowFunction:<nil>} {Expression:rm.name Alias:role_master_name WindowFunction:<nil>}] From:role_access.rol_permission Aliases:rp Joins:[{Type:INNER Table:role_access.rol_master Alias:rm OnConditions:{Filters:[{Column:rm.id Operator:_eq Value:rp.role_keycloak Options:map[]}] LogicOp:} Lateral:false}] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:rp.id Order:DESC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 01:18:40.539] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 3.745319ms | method: GET | path: /api/v1/roles/permissions | query: sort=-id | request_id: 506815bd-6e2b-401a-bb0e-74a4cd71243c | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 01:18:46.410] [INFO ] Built search query                                      | 📍 repository.go:278 | environment: debug | ⚙️ service/internal/master/role/permission.(*repository).Search | request: {Fields:[{Expression:rp.* Alias: WindowFunction:<nil>} {Expression:rm.name Alias:role_master_name WindowFunction:<nil>}] From:role_access.rol_permission Aliases:rp Joins:[{Type:INNER Table:role_access.rol_master Alias:rm OnConditions:{Filters:[{Column:rm.id Operator:_eq Value:rp.role_keycloak Options:map[]}] LogicOp:} Lateral:false}] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:rp.id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 01:18:46.413] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 3.287696ms | method: GET | path: /api/v1/roles/permissions | query: sort=id | request_id: cddbe92d-91d0-4ef0-8c01-606ac9091d8c | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 01:19:38.236] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 6.864382ms | method: GET | path: /api/v1/roles/pages | query: active=false&sort=id | request_id: c4a95423-d883-4760-a6c2-46f1c43e74ec | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 01:21:29.704] [INFO ] Application starting                                    | 📍 main.go:75 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-07 01:21:29.705] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:90 | database_count: 3 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-07 01:21:29.705] [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-07 01:21:29.715] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-07 01:21:29.715] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 01:21:29.724] [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-07 01:21:29.724] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 01:21:29.744] [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-07 01:21:29.744] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 01:21:29.744] [INFO ] Found migration files to execute                        | 📍 database.go:532 | count: 4 | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).runSQLMigrationsForDB | service: service-general
[2026-04-07 01:21:29.745] [WARNI] Database migration completed with issues                | 📍 main.go:106 | environment: debug | ❌ ERROR: sql migration failed for farmasi: failed to ensure migration table: failed to create migrations table: mssql: Incorrect syntax near 'Migrations'. | ⚙️ main.main | service: service-general
[2026-04-07 01:21:29.747] [INFO ] Cache initialized                                       | 📍 main.go:131 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-07 01:21:29.748] [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/sandbox | service: service-general | static_tokens_len: 4
[2026-04-07 01:21:29.748] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-07 01:21:29.748] [INFO ] Registered RolPermission gRPC service                   | 📍 server.go:35 | environment: debug | ⚙️ service/internal/infrastructure/transport/grpc/servers.NewGRPCServer | service: service-general
[2026-04-07 01:21:29.749] [INFO ] Application started successfully                        | 📍 main.go:327 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-07 01:21:29.749] [INFO ] gRPC Server running                                     | 📍 main.go:293 | environment: debug | ⚙️ main.main.func2 | port: 8095 | service: service-general
[2026-04-07 01:21:29.749] [INFO ] REST API running                                        | 📍 main.go:266 | environment: debug | ⚙️ main.main.func1 | port: 8094 | service: service-general
[2026-04-07 01:21:30.915] [INFO ] Application starting                                    | 📍 main.go:75 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-07 01:21:30.916] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:90 | database_count: 3 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-07 01:21:30.916] [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-07 01:21:30.926] [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-07 01:21:30.926] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 01:21:30.936] [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-07 01:21:30.936] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 01:21:30.952] [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-07 01:21:30.952] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 01:21:30.952] [INFO ] Found migration files to execute                        | 📍 database.go:532 | count: 4 | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).runSQLMigrationsForDB | service: service-general
[2026-04-07 01:21:30.953] [DEBUG] Migrations table already exists                         | 📍 database.go:1371 | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).ensureMigrationTable | service: service-general
[2026-04-07 01:21:30.983] [WARNI] Database migration completed with issues                | 📍 main.go:106 | environment: debug | ❌ ERROR: sql migration failed for simrs: migration failed at file internal/infrastructure/database/sql/00001_role_pages.sql: failed to execute SQL command: -- Trigger untuk update updated_at
CREATE OR REPLACE FUNCTION update_updated_at_column()
RETURNS TRIGGER AS $
BEGIN
    NEW.updated_at = CURRENT_TIMESTAMP, error: ERROR: syntax error at or near "$" (SQLSTATE 42601) | ⚙️ main.main | service: service-general
[2026-04-07 01:21:30.985] [INFO ] Cache initialized                                       | 📍 main.go:131 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-07 01:21:30.986] [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/sandbox | service: service-general | static_tokens_len: 4
[2026-04-07 01:21:30.986] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-07 01:21:30.987] [INFO ] Registered RolPermission gRPC service                   | 📍 server.go:35 | environment: debug | ⚙️ service/internal/infrastructure/transport/grpc/servers.NewGRPCServer | service: service-general
[2026-04-07 01:21:30.987] [INFO ] Application started successfully                        | 📍 main.go:327 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-07 01:21:30.987] [INFO ] gRPC Server running                                     | 📍 main.go:293 | environment: debug | ⚙️ main.main.func2 | port: 8095 | service: service-general
[2026-04-07 01:21:30.987] [INFO ] REST API running                                        | 📍 main.go:266 | environment: debug | ⚙️ main.main.func1 | port: 8094 | service: service-general
[2026-04-07 01:21:39.264] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 14.967274ms | method: GET | path: /api/v1/roles/pages | query: active=false&sort=id | request_id: b619f2d5-6a4a-4600-a498-c354969d3a06 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 01:21:46.331] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 3.424497ms | method: GET | path: /api/v1/roles/pages | query: active=false&sort=-id | request_id: 6ed60ba5-3b61-495b-bea4-ec6061eb0ae0 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 01:21:53.613] [DEBUG] Cache hit for Role Permission Search                    | 📍 service.go:98 | environment: debug | ⚙️ service/internal/master/role/permission.(*service).Search | key: role_permission_search_v2:b56e80884c808d760c60e193bac4d6d24336ab84b9d4818077cb5404001c75eb | service: service-general
[2026-04-07 01:21:53.613] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 1.011359ms | method: GET | path: /api/v1/roles/permissions | query: sort=id | request_id: 8c951954-2e77-42b7-aeb5-9279bf13cb27 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 01:21:57.957] [INFO ] Built search query                                      | 📍 repository.go:204 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 01:21:57.961] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 4.440728ms | method: GET | path: /api/v1/roles/master | request_id: 86445695-ffcf-4b11-903e-c5bbba4a1737 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 01:22:07.980] [INFO ] Built search query                                      | 📍 repository.go:204 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 01:22:07.983] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 2.974276ms | method: GET | path: /api/v1/roles/master | query: sort=-d | request_id: 46147436-2d8f-47ee-9b8e-80fc2ebaff9c | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 01:22:11.833] [INFO ] Built search query                                      | 📍 repository.go:204 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:DESC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 01:22:11.836] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 3.521319ms | method: GET | path: /api/v1/roles/master | query: sort=-id | request_id: e5a22a7c-1e89-4b64-8844-e0e14b516a2a | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 01:27:10.133] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 824.037µs | method: GET | path: /api/v1/roles/master | query: limit=2 | request_id: aeff9cb7-c493-4461-b37c-15c10a346bba | service: service-general | status: 401 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 01:27:15.547] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 1.002692ms | method: POST | path: /api/v1/auth/login | request_id: 3000cf4a-52f6-44b1-b763-4fbfb7397c9c | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 01:27:22.292] [INFO ] Built search query                                      | 📍 repository.go:204 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 01:27:22.305] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 12.766857ms | method: GET | path: /api/v1/roles/master | query: limit=2 | request_id: 26486ac6-81a0-43ee-9a9d-2af5560bfb80 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 01:27:51.869] [INFO ] Built search query                                      | 📍 repository.go:204 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 01:27:51.873] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 4.627619ms | method: GET | path: /api/v1/roles/master | query: limit=2&offset=10 | request_id: ece0f2ef-44e2-48fd-bcfe-61ec8a9d0be7 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 01:28:47.494] [INFO ] Built search query                                      | 📍 repository.go:204 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 01:28:47.496] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 3.426714ms | method: GET | path: /api/v1/roles/master | query: limit=2&offset=10 | request_id: 7a2c8838-123b-422b-8e16-d91297b29fef | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 01:28:57.156] [INFO ] Built search query                                      | 📍 repository.go:204 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 01:28:57.158] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.448508ms | method: GET | path: /api/v1/roles/master | request_id: 17ffb0b5-6a1c-4028-85e4-a040fe8012eb | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 01:29:16.066] [INFO ] Built search query                                      | 📍 repository.go:204 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:DESC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 01:29:16.068] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.774312ms | method: GET | path: /api/v1/roles/master | query: sort=-id | request_id: 5b65cbac-6ca0-46b5-9add-927c49ca2ba8 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 01:29:22.045] [INFO ] Built search query                                      | 📍 repository.go:204 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 01:29:22.046] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.052284ms | method: GET | path: /api/v1/roles/master | query: sort=id | request_id: cfdf3831-1b98-4f53-bf2e-91cd60002bc6 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 01:32:52.596] [INFO ] Application starting                                    | 📍 main.go:75 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-07 01:32:52.596] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:90 | database_count: 3 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-07 01:32:52.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-07 01:32:52.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-07 01:32:52.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-07 01:32:52.616] [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-07 01:32:52.617] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 01:32:52.637] [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-07 01:32:52.637] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 01:32:52.638] [INFO ] Found migration files to execute                        | 📍 database.go:532 | count: 4 | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).runSQLMigrationsForDB | service: service-general
[2026-04-07 01:32:52.639] [DEBUG] Migrations table already exists                         | 📍 database.go:1371 | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).ensureMigrationTable | service: service-general
[2026-04-07 01:32:52.664] [WARNI] Database migration completed with issues                | 📍 main.go:106 | environment: debug | ❌ ERROR: sql migration failed for simrs: migration failed at file internal/infrastructure/database/sql/00001_role_pages.sql: failed to execute SQL command: -- Trigger untuk update updated_at
CREATE OR REPLACE FUNCTION update_updated_at_column()
RETURNS TRIGGER AS $
BEGIN
    NEW.updated_at = CURRENT_TIMESTAMP, error: ERROR: syntax error at or near "$" (SQLSTATE 42601) | ⚙️ main.main | service: service-general
[2026-04-07 01:32:52.667] [INFO ] Cache initialized                                       | 📍 main.go:131 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-07 01:32:52.668] [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/sandbox | service: service-general | static_tokens_len: 4
[2026-04-07 01:32:52.668] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-07 01:32:52.668] [INFO ] Registered RolPermission gRPC service                   | 📍 server.go:35 | environment: debug | ⚙️ service/internal/infrastructure/transport/grpc/servers.NewGRPCServer | service: service-general
[2026-04-07 01:32:52.669] [INFO ] Application started successfully                        | 📍 main.go:327 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-07 01:32:52.669] [INFO ] gRPC Server running                                     | 📍 main.go:293 | environment: debug | ⚙️ main.main.func2 | port: 8095 | service: service-general
[2026-04-07 01:32:52.669] [INFO ] REST API running                                        | 📍 main.go:266 | environment: debug | ⚙️ main.main.func1 | port: 8094 | service: service-general
[2026-04-07 01:33:02.633] [INFO ] Application starting                                    | 📍 main.go:75 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-07 01:33:02.633] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:90 | database_count: 3 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-07 01:33:02.634] [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-07 01:33:02.646] [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-07 01:33:02.646] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 01:33:02.653] [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-07 01:33:02.653] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 01:33:02.674] [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-07 01:33:02.674] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 01:33:02.674] [INFO ] Found migration files to execute                        | 📍 database.go:532 | count: 4 | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).runSQLMigrationsForDB | service: service-general
[2026-04-07 01:33:02.676] [DEBUG] Migrations table already exists                         | 📍 database.go:1371 | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).ensureMigrationTable | service: service-general
[2026-04-07 01:33:02.707] [WARNI] Database migration completed with issues                | 📍 main.go:106 | environment: debug | ❌ ERROR: sql migration failed for simrs: migration failed at file internal/infrastructure/database/sql/00001_role_pages.sql: failed to execute SQL command: -- Trigger untuk update updated_at
CREATE OR REPLACE FUNCTION update_updated_at_column()
RETURNS TRIGGER AS $
BEGIN
    NEW.updated_at = CURRENT_TIMESTAMP, error: ERROR: syntax error at or near "$" (SQLSTATE 42601) | ⚙️ main.main | service: service-general
[2026-04-07 01:33:02.710] [INFO ] Cache initialized                                       | 📍 main.go:131 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-07 01:33:02.710] [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/sandbox | service: service-general | static_tokens_len: 4
[2026-04-07 01:33:02.711] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-07 01:33:02.711] [INFO ] Registered RolPermission gRPC service                   | 📍 server.go:35 | environment: debug | ⚙️ service/internal/infrastructure/transport/grpc/servers.NewGRPCServer | service: service-general
[2026-04-07 01:33:02.711] [INFO ] Application started successfully                        | 📍 main.go:327 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-07 01:33:02.711] [INFO ] REST API running                                        | 📍 main.go:266 | environment: debug | ⚙️ main.main.func1 | port: 8094 | service: service-general
[2026-04-07 01:33:02.711] [INFO ] gRPC Server running                                     | 📍 main.go:293 | environment: debug | ⚙️ main.main.func2 | port: 8095 | service: service-general
[2026-04-07 01:46:03.232] [INFO ] Application starting                                    | 📍 main.go:75 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-07 01:46:03.233] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:90 | database_count: 3 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-07 01:46:03.233] [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-07 01:46:03.241] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-07 01:46:03.241] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 01:46:03.249] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-07 01:46:03.249] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 01:46:03.268] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-07 01:46:03.269] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 01:46:03.269] [INFO ] Found migration files to execute                        | 📍 database.go:532 | count: 4 | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).runSQLMigrationsForDB | service: service-general
[2026-04-07 01:46:03.270] [DEBUG] Migrations table already exists                         | 📍 database.go:1371 | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).ensureMigrationTable | service: service-general
[2026-04-07 01:46:03.300] [WARNI] Database migration completed with issues                | 📍 main.go:106 | environment: debug | ❌ ERROR: sql migration failed for simrs: migration failed at file internal/infrastructure/database/sql/00001_role_pages.sql: failed to execute SQL command: -- Trigger untuk update updated_at
CREATE OR REPLACE FUNCTION update_updated_at_column()
RETURNS TRIGGER AS $
BEGIN
    NEW.updated_at = CURRENT_TIMESTAMP, error: ERROR: syntax error at or near "$" (SQLSTATE 42601) | ⚙️ main.main | service: service-general
[2026-04-07 01:46:03.302] [INFO ] Cache initialized                                       | 📍 main.go:131 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-07 01:46:03.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/sandbox | service: service-general | static_tokens_len: 4
[2026-04-07 01:46:03.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-07 01:46:03.303] [INFO ] Registered RolPermission gRPC service                   | 📍 server.go:35 | environment: debug | ⚙️ service/internal/infrastructure/transport/grpc/servers.NewGRPCServer | service: service-general
[2026-04-07 01:46:03.303] [INFO ] Application started successfully                        | 📍 main.go:327 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-07 01:46:03.303] [INFO ] gRPC Server running                                     | 📍 main.go:293 | environment: debug | ⚙️ main.main.func2 | port: 8095 | service: service-general
[2026-04-07 01:46:03.303] [INFO ] REST API running                                        | 📍 main.go:266 | environment: debug | ⚙️ main.main.func1 | port: 8094 | service: service-general
[2026-04-07 01:46:04.639] [INFO ] Application starting                                    | 📍 main.go:75 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-07 01:46:04.640] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:90 | database_count: 3 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-07 01:46:04.640] [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-07 01:46:04.662] [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-07 01:46:04.662] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 01:46:04.670] [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-07 01:46:04.670] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 01:46:04.677] [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-07 01:46:04.677] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 01:46:04.677] [INFO ] Found migration files to execute                        | 📍 database.go:532 | count: 4 | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).runSQLMigrationsForDB | service: service-general
[2026-04-07 01:46:04.679] [WARNI] Database migration completed with issues                | 📍 main.go:106 | environment: debug | ❌ ERROR: sql migration failed for farmasi: failed to ensure migration table: failed to create migrations table: mssql: Incorrect syntax near 'Migrations'. | ⚙️ main.main | service: service-general
[2026-04-07 01:46:04.680] [INFO ] Cache initialized                                       | 📍 main.go:131 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-07 01:46:04.681] [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/sandbox | service: service-general | static_tokens_len: 4
[2026-04-07 01:46:04.681] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-07 01:46:04.681] [INFO ] Registered RolPermission gRPC service                   | 📍 server.go:35 | environment: debug | ⚙️ service/internal/infrastructure/transport/grpc/servers.NewGRPCServer | service: service-general
[2026-04-07 01:46:04.681] [INFO ] Application started successfully                        | 📍 main.go:327 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-07 01:46:04.682] [INFO ] gRPC Server running                                     | 📍 main.go:293 | environment: debug | ⚙️ main.main.func2 | port: 8095 | service: service-general
[2026-04-07 01:46:04.682] [INFO ] REST API running                                        | 📍 main.go:266 | environment: debug | ⚙️ main.main.func1 | port: 8094 | service: service-general
[2026-04-07 01:46:06.129] [INFO ] Application starting                                    | 📍 main.go:75 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-07 01:46:06.129] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:90 | database_count: 3 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-07 01:46:06.129] [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-07 01:46:06.137] [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-07 01:46:06.137] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 01:46:06.155] [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-07 01:46:06.155] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 01:46:06.163] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-07 01:46:06.164] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 01:46:06.164] [INFO ] Found migration files to execute                        | 📍 database.go:532 | count: 4 | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).runSQLMigrationsForDB | service: service-general
[2026-04-07 01:46:06.165] [WARNI] Database migration completed with issues                | 📍 main.go:106 | environment: debug | ❌ ERROR: sql migration failed for default: failed to ensure migration table: failed to create migrations table: ERROR: no schema has been selected to create in (SQLSTATE 3F000) | ⚙️ main.main | service: service-general
[2026-04-07 01:46:06.167] [INFO ] Cache initialized                                       | 📍 main.go:131 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-07 01:46:06.167] [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/sandbox | service: service-general | static_tokens_len: 4
[2026-04-07 01:46:06.167] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-07 01:46:06.167] [INFO ] Registered RolPermission gRPC service                   | 📍 server.go:35 | environment: debug | ⚙️ service/internal/infrastructure/transport/grpc/servers.NewGRPCServer | service: service-general
[2026-04-07 01:46:06.167] [INFO ] REST API running                                        | 📍 main.go:266 | environment: debug | ⚙️ main.main.func1 | port: 8094 | service: service-general
[2026-04-07 01:46:06.168] [INFO ] gRPC Server running                                     | 📍 main.go:293 | environment: debug | ⚙️ main.main.func2 | port: 8095 | service: service-general
[2026-04-07 01:46:06.168] [INFO ] Application started successfully                        | 📍 main.go:327 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-07 01:46:07.526] [INFO ] Application starting                                    | 📍 main.go:75 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-07 01:46:07.527] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:90 | database_count: 3 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-07 01:46:07.527] [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-07 01:46:07.535] [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-07 01:46:07.535] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 01:46:07.546] [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-07 01:46:07.546] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 01:46:07.568] [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-07 01:46:07.568] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 01:46:07.568] [INFO ] Found migration files to execute                        | 📍 database.go:532 | count: 4 | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).runSQLMigrationsForDB | service: service-general
[2026-04-07 01:46:07.570] [DEBUG] Migrations table already exists                         | 📍 database.go:1371 | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).ensureMigrationTable | service: service-general
[2026-04-07 01:46:07.599] [WARNI] Database migration completed with issues                | 📍 main.go:106 | environment: debug | ❌ ERROR: sql migration failed for simrs: migration failed at file internal/infrastructure/database/sql/00001_role_pages.sql: failed to execute SQL command: -- Trigger untuk update updated_at
CREATE OR REPLACE FUNCTION update_updated_at_column()
RETURNS TRIGGER AS $
BEGIN
    NEW.updated_at = CURRENT_TIMESTAMP, error: ERROR: syntax error at or near "$" (SQLSTATE 42601) | ⚙️ main.main | service: service-general
[2026-04-07 01:46:07.601] [INFO ] Cache initialized                                       | 📍 main.go:131 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-07 01:46:07.601] [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/sandbox | service: service-general | static_tokens_len: 4
[2026-04-07 01:46:07.601] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-07 01:46:07.602] [INFO ] Registered RolPermission gRPC service                   | 📍 server.go:35 | environment: debug | ⚙️ service/internal/infrastructure/transport/grpc/servers.NewGRPCServer | service: service-general
[2026-04-07 01:46:07.602] [INFO ] Application started successfully                        | 📍 main.go:327 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-07 01:46:07.602] [INFO ] gRPC Server running                                     | 📍 main.go:293 | environment: debug | ⚙️ main.main.func2 | port: 8095 | service: service-general
[2026-04-07 01:46:07.602] [INFO ] REST API running                                        | 📍 main.go:266 | environment: debug | ⚙️ main.main.func1 | port: 8094 | service: service-general
[2026-04-07 01:46:08.788] [INFO ] Application starting                                    | 📍 main.go:75 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-07 01:46:08.789] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:90 | database_count: 3 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-07 01:46:08.789] [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-07 01:46:08.797] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-07 01:46:08.797] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 01:46:08.815] [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-07 01:46:08.815] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 01:46:08.823] [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-07 01:46:08.823] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 01:46:08.823] [INFO ] Found migration files to execute                        | 📍 database.go:532 | count: 4 | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).runSQLMigrationsForDB | service: service-general
[2026-04-07 01:46:08.824] [WARNI] Database migration completed with issues                | 📍 main.go:106 | environment: debug | ❌ ERROR: sql migration failed for default: failed to ensure migration table: failed to create migrations table: ERROR: no schema has been selected to create in (SQLSTATE 3F000) | ⚙️ main.main | service: service-general
[2026-04-07 01:46:08.826] [INFO ] Cache initialized                                       | 📍 main.go:131 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-07 01:46:08.827] [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/sandbox | service: service-general | static_tokens_len: 4
[2026-04-07 01:46:08.827] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-07 01:46:08.827] [INFO ] Registered RolPermission gRPC service                   | 📍 server.go:35 | environment: debug | ⚙️ service/internal/infrastructure/transport/grpc/servers.NewGRPCServer | service: service-general
[2026-04-07 01:46:08.827] [INFO ] Application started successfully                        | 📍 main.go:327 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-07 01:46:08.827] [INFO ] gRPC Server running                                     | 📍 main.go:293 | environment: debug | ⚙️ main.main.func2 | port: 8095 | service: service-general
[2026-04-07 01:46:08.827] [INFO ] REST API running                                        | 📍 main.go:266 | environment: debug | ⚙️ main.main.func1 | port: 8094 | service: service-general
[2026-04-07 01:46:10.350] [INFO ] Application starting                                    | 📍 main.go:75 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-07 01:46:10.350] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:90 | database_count: 3 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-07 01:46:10.351] [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-07 01:46:10.358] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-07 01:46:10.358] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 01:46:10.367] [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-07 01:46:10.367] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 01:46:10.386] [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-07 01:46:10.386] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 01:46:10.387] [INFO ] Found migration files to execute                        | 📍 database.go:532 | count: 4 | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).runSQLMigrationsForDB | service: service-general
[2026-04-07 01:46:10.388] [WARNI] Database migration completed with issues                | 📍 main.go:106 | environment: debug | ❌ ERROR: sql migration failed for farmasi: failed to ensure migration table: failed to create migrations table: mssql: Incorrect syntax near 'Migrations'. | ⚙️ main.main | service: service-general
[2026-04-07 01:46:10.389] [INFO ] Cache initialized                                       | 📍 main.go:131 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-07 01:46:10.390] [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/sandbox | service: service-general | static_tokens_len: 4
[2026-04-07 01:46:10.390] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-07 01:46:10.390] [INFO ] Registered RolPermission gRPC service                   | 📍 server.go:35 | environment: debug | ⚙️ service/internal/infrastructure/transport/grpc/servers.NewGRPCServer | service: service-general
[2026-04-07 01:46:10.390] [INFO ] Application started successfully                        | 📍 main.go:327 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-07 01:46:10.390] [INFO ] gRPC Server running                                     | 📍 main.go:293 | environment: debug | ⚙️ main.main.func2 | port: 8095 | service: service-general
[2026-04-07 01:46:10.390] [INFO ] REST API running                                        | 📍 main.go:266 | environment: debug | ⚙️ main.main.func1 | port: 8094 | service: service-general
[2026-04-07 01:46:31.421] [INFO ] Application starting                                    | 📍 main.go:75 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-07 01:46:31.421] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:90 | database_count: 3 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-07 01:46:31.421] [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-07 01:46:31.429] [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-07 01:46:31.429] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 01:46:31.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-07 01:46:31.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-07 01:46:31.457] [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-07 01:46:31.457] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 01:46:31.457] [INFO ] Found migration files to execute                        | 📍 database.go:532 | count: 4 | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).runSQLMigrationsForDB | service: service-general
[2026-04-07 01:46:31.458] [DEBUG] Migrations table already exists                         | 📍 database.go:1371 | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).ensureMigrationTable | service: service-general
[2026-04-07 01:46:31.488] [WARNI] Database migration completed with issues                | 📍 main.go:106 | environment: debug | ❌ ERROR: sql migration failed for simrs: migration failed at file internal/infrastructure/database/sql/00001_role_pages.sql: failed to execute SQL command: -- Trigger untuk update updated_at
CREATE OR REPLACE FUNCTION update_updated_at_column()
RETURNS TRIGGER AS $
BEGIN
    NEW.updated_at = CURRENT_TIMESTAMP, error: ERROR: syntax error at or near "$" (SQLSTATE 42601) | ⚙️ main.main | service: service-general
[2026-04-07 01:46:31.490] [INFO ] Cache initialized                                       | 📍 main.go:131 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-07 01:46:31.490] [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/sandbox | service: service-general | static_tokens_len: 4
[2026-04-07 01:46:31.490] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-07 01:46:31.491] [INFO ] Registered RolPermission gRPC service                   | 📍 server.go:35 | environment: debug | ⚙️ service/internal/infrastructure/transport/grpc/servers.NewGRPCServer | service: service-general
[2026-04-07 01:46:31.491] [INFO ] REST API running                                        | 📍 main.go:266 | environment: debug | ⚙️ main.main.func1 | port: 8094 | service: service-general
[2026-04-07 01:46:31.491] [INFO ] gRPC Server running                                     | 📍 main.go:293 | environment: debug | ⚙️ main.main.func2 | port: 8095 | service: service-general
[2026-04-07 01:46:31.491] [INFO ] Application started successfully                        | 📍 main.go:327 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-07 01:46:32.665] [INFO ] Application starting                                    | 📍 main.go:75 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-07 01:46:32.666] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:90 | database_count: 3 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-07 01:46:32.666] [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-07 01:46:32.687] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-07 01:46:32.687] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 01:46:32.696] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-07 01:46:32.697] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 01:46:32.704] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-07 01:46:32.704] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 01:46:32.704] [INFO ] Found migration files to execute                        | 📍 database.go:532 | count: 4 | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).runSQLMigrationsForDB | service: service-general
[2026-04-07 01:46:32.705] [WARNI] Database migration completed with issues                | 📍 main.go:106 | environment: debug | ❌ ERROR: sql migration failed for farmasi: failed to ensure migration table: failed to create migrations table: mssql: Incorrect syntax near 'Migrations'. | ⚙️ main.main | service: service-general
[2026-04-07 01:46:32.707] [INFO ] Cache initialized                                       | 📍 main.go:131 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-07 01:46:32.707] [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/sandbox | service: service-general | static_tokens_len: 4
[2026-04-07 01:46:32.707] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-07 01:46:32.707] [INFO ] Registered RolPermission gRPC service                   | 📍 server.go:35 | environment: debug | ⚙️ service/internal/infrastructure/transport/grpc/servers.NewGRPCServer | service: service-general
[2026-04-07 01:46:32.707] [INFO ] Application started successfully                        | 📍 main.go:327 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-07 01:46:32.707] [INFO ] gRPC Server running                                     | 📍 main.go:293 | environment: debug | ⚙️ main.main.func2 | port: 8095 | service: service-general
[2026-04-07 01:46:32.708] [INFO ] REST API running                                        | 📍 main.go:266 | environment: debug | ⚙️ main.main.func1 | port: 8094 | service: service-general
[2026-04-07 01:46:35.480] [INFO ] Application starting                                    | 📍 main.go:75 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-07 01:46:35.480] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:90 | database_count: 3 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-07 01:46:35.480] [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-07 01:46:35.488] [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-07 01:46:35.488] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 01:46:35.495] [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-07 01:46:35.495] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 01:46:35.510] [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-07 01:46:35.510] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 01:46:35.510] [INFO ] Found migration files to execute                        | 📍 database.go:532 | count: 4 | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).runSQLMigrationsForDB | service: service-general
[2026-04-07 01:46:35.512] [DEBUG] Migrations table already exists                         | 📍 database.go:1371 | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).ensureMigrationTable | service: service-general
[2026-04-07 01:46:35.540] [WARNI] Database migration completed with issues                | 📍 main.go:106 | environment: debug | ❌ ERROR: sql migration failed for simrs: migration failed at file internal/infrastructure/database/sql/00001_role_pages.sql: failed to execute SQL command: -- Trigger untuk update updated_at
CREATE OR REPLACE FUNCTION update_updated_at_column()
RETURNS TRIGGER AS $
BEGIN
    NEW.updated_at = CURRENT_TIMESTAMP, error: ERROR: syntax error at or near "$" (SQLSTATE 42601) | ⚙️ main.main | service: service-general
[2026-04-07 01:46:35.542] [INFO ] Cache initialized                                       | 📍 main.go:131 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-07 01:46:35.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/sandbox | service: service-general | static_tokens_len: 4
[2026-04-07 01:46:35.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-07 01:46:35.542] [INFO ] Registered RolPermission gRPC service                   | 📍 server.go:35 | environment: debug | ⚙️ service/internal/infrastructure/transport/grpc/servers.NewGRPCServer | service: service-general
[2026-04-07 01:46:35.543] [INFO ] REST API running                                        | 📍 main.go:266 | environment: debug | ⚙️ main.main.func1 | port: 8094 | service: service-general
[2026-04-07 01:46:35.543] [INFO ] Application started successfully                        | 📍 main.go:327 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-07 01:46:35.543] [INFO ] gRPC Server running                                     | 📍 main.go:293 | environment: debug | ⚙️ main.main.func2 | port: 8095 | service: service-general
[2026-04-07 01:46:36.439] [INFO ] Application starting                                    | 📍 main.go:75 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-07 01:46:36.439] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:90 | database_count: 3 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-07 01:46:36.439] [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-07 01:46:36.447] [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-07 01:46:36.447] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 01:46:36.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-07 01:46:36.466] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 01:46:36.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-07 01:46:36.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-07 01:46:36.472] [INFO ] Found migration files to execute                        | 📍 database.go:532 | count: 4 | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).runSQLMigrationsForDB | service: service-general
[2026-04-07 01:46:36.474] [WARNI] Database migration completed with issues                | 📍 main.go:106 | environment: debug | ❌ ERROR: sql migration failed for default: failed to ensure migration table: failed to create migrations table: ERROR: no schema has been selected to create in (SQLSTATE 3F000) | ⚙️ main.main | service: service-general
[2026-04-07 01:46:36.475] [INFO ] Cache initialized                                       | 📍 main.go:131 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-07 01:46:36.476] [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/sandbox | service: service-general | static_tokens_len: 4
[2026-04-07 01:46:36.476] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-07 01:46:36.476] [INFO ] Registered RolPermission gRPC service                   | 📍 server.go:35 | environment: debug | ⚙️ service/internal/infrastructure/transport/grpc/servers.NewGRPCServer | service: service-general
[2026-04-07 01:46:36.476] [INFO ] Application started successfully                        | 📍 main.go:327 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-07 01:46:36.476] [INFO ] gRPC Server running                                     | 📍 main.go:293 | environment: debug | ⚙️ main.main.func2 | port: 8095 | service: service-general
[2026-04-07 01:46:36.476] [INFO ] REST API running                                        | 📍 main.go:266 | environment: debug | ⚙️ main.main.func1 | port: 8094 | service: service-general
[2026-04-07 01:46:37.779] [INFO ] Application starting                                    | 📍 main.go:75 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-07 01:46:37.779] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:90 | database_count: 3 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-07 01:46:37.779] [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-07 01:46:37.798] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-07 01:46:37.798] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 01:46:37.807] [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-07 01:46:37.807] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 01:46:37.815] [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-07 01:46:37.815] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 01:46:37.815] [INFO ] Found migration files to execute                        | 📍 database.go:532 | count: 4 | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).runSQLMigrationsForDB | service: service-general
[2026-04-07 01:46:37.816] [WARNI] Database migration completed with issues                | 📍 main.go:106 | environment: debug | ❌ ERROR: sql migration failed for farmasi: failed to ensure migration table: failed to create migrations table: mssql: Incorrect syntax near 'Migrations'. | ⚙️ main.main | service: service-general
[2026-04-07 01:46:37.817] [INFO ] Cache initialized                                       | 📍 main.go:131 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-07 01:46:37.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/sandbox | service: service-general | static_tokens_len: 4
[2026-04-07 01:46:37.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-07 01:46:37.818] [INFO ] Registered RolPermission gRPC service                   | 📍 server.go:35 | environment: debug | ⚙️ service/internal/infrastructure/transport/grpc/servers.NewGRPCServer | service: service-general
[2026-04-07 01:46:37.818] [INFO ] Application started successfully                        | 📍 main.go:327 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-07 01:46:37.818] [INFO ] gRPC Server running                                     | 📍 main.go:293 | environment: debug | ⚙️ main.main.func2 | port: 8095 | service: service-general
[2026-04-07 01:46:37.818] [INFO ] REST API running                                        | 📍 main.go:266 | environment: debug | ⚙️ main.main.func1 | port: 8094 | service: service-general
[2026-04-07 01:47:37.365] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 1.380013ms | method: GET | path: /api/v1/roles/pages | query: active=false&sort=-id&limit=2&offset=3 | request_id: f802ae2c-7197-4692-ae65-770c1d4f933c | service: service-general | status: 401 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 01:47:40.199] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 1.253285ms | method: POST | path: /api/v1/auth/login | request_id: f527c500-4450-4ab2-91ea-972db355fb73 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 01:47:46.473] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 6.648896ms | method: GET | path: /api/v1/roles/pages | query: active=false&sort=-id&limit=2&offset=3 | request_id: 154dd16b-05a3-4fe7-abce-0a6adc2222fc | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 01:51:21.754] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 111.385µs | method: OPTIONS | path: /api/v1/roles/master | request_id: f0084e39-da1b-4bbd-b261-907548324098 | service: service-general | status: 204 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 01:51:21.759] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 622.256µs | method: GET | path: /api/v1/roles/master | request_id: 939f3969-9e37-4ab7-bafc-f1d884f27a8a | service: service-general | status: 401 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 01:51:21.798] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 30.468462ms | method: POST | path: /api/v1/auth/refresh | request_id: 4d920505-69a1-47df-a414-08fa1e10b4ee | service: service-general | status: 401 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 01:51:38.591] [INFO ] Built search query                                      | 📍 repository.go:204 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 01:51:38.668] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 91.833095ms | method: GET | path: /api/v1/roles/master | request_id: 1f48ebe3-95a4-41b1-921b-a2c77f841773 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 01:51:46.176] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 6.022108ms | method: GET | path: /api/v1/roles/pages/1 | request_id: 453f8ee9-b598-48bb-844e-4f81c7a2d2c5 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 01:54:43.367] [INFO ] Built search query                                      | 📍 repository.go:204 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 01:54:43.368] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.487157ms | method: GET | path: /api/v1/roles/master | request_id: 1f706692-fd42-438e-854c-f4ad67a15c23 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 02:00:13.394] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 611.95µs | method: GET | path: /api/v1/roles/master | query: offset=10 | request_id: 94edb0d5-acae-4892-958b-5a45560bc783 | service: service-general | status: 401 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 02:00:19.160] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 392.659µs | method: POST | path: /api/v1/auth/login | request_id: b46b9bc3-877f-4f6c-ab49-9c66ace05d66 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 02:00:27.638] [INFO ] Built search query                                      | 📍 repository.go:204 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 02:00:27.666] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 28.693577ms | method: GET | path: /api/v1/roles/master | query: offset=10 | request_id: bd069abe-acbf-4ad2-93d9-c0f79f7ed32c | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 02:02:00.377] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 789.028µs | method: GET | path: /api/v1/roles/master | request_id: 40adf0e9-3c3b-44c3-bdf0-b8985b5dfe1d | service: service-general | status: 401 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 02:02:00.422] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 32.003223ms | method: POST | path: /api/v1/auth/refresh | request_id: 5e9aa661-c118-46e0-b45a-a3e21c9cfe97 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 02:02:00.451] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 567.416µs | method: GET | path: /api/v1/auth/info | request_id: d6c7b48f-4c80-4d57-99e3-731295599450 | service: service-general | status: 200 | user_agent: node
[2026-04-07 02:02:00.471] [INFO ] Built search query                                      | 📍 repository.go:204 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 02:02:00.473] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.354267ms | method: GET | path: /api/v1/roles/master | request_id: 90c353af-8f60-4156-99cc-513572c4b5ea | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 02:02:01.351] [INFO ] Built search query                                      | 📍 repository.go:204 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 02:02:01.352] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 1.855408ms | method: GET | path: /api/v1/roles/master | request_id: afcf8b98-d062-4b60-8c2b-35a5694e1c7c | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 02:02:41.730] [INFO ] Application starting                                    | 📍 main.go:75 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-07 02:02:41.730] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:90 | database_count: 3 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-07 02:02:41.730] [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-07 02:02:41.739] [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-07 02:02:41.739] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 02:02:41.747] [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-07 02:02:41.747] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 02:02:41.767] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-07 02:02:41.767] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 02:02:41.767] [INFO ] Found migration files to execute                        | 📍 database.go:532 | count: 4 | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).runSQLMigrationsForDB | service: service-general
[2026-04-07 02:02:41.768] [DEBUG] Migrations table already exists                         | 📍 database.go:1371 | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).ensureMigrationTable | service: service-general
[2026-04-07 02:02:41.798] [WARNI] Database migration completed with issues                | 📍 main.go:106 | environment: debug | ❌ ERROR: sql migration failed for simrs: migration failed at file internal/infrastructure/database/sql/00001_role_pages.sql: failed to execute SQL command: -- Trigger untuk update updated_at
CREATE OR REPLACE FUNCTION update_updated_at_column()
RETURNS TRIGGER AS $
BEGIN
    NEW.updated_at = CURRENT_TIMESTAMP, error: ERROR: syntax error at or near "$" (SQLSTATE 42601) | ⚙️ main.main | service: service-general
[2026-04-07 02:02:41.799] [INFO ] Cache initialized                                       | 📍 main.go:131 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-07 02:02:41.800] [INFO ] Creating authentication providers                       | auth_type: hybrid | 📍 provider.go:69 | environment: debug | fallback_to: jwt | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | keycloak_enabled: true | keycloak_issuer: https://auth.rssa.top/realms/sandbox | service: service-general | static_tokens_len: 4
[2026-04-07 02:02:41.800] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-07 02:02:41.800] [INFO ] Registered RolPermission gRPC service                   | 📍 server.go:35 | environment: debug | ⚙️ service/internal/infrastructure/transport/grpc/servers.NewGRPCServer | service: service-general
[2026-04-07 02:02:41.800] [INFO ] REST API running                                        | 📍 main.go:266 | environment: debug | ⚙️ main.main.func1 | port: 8094 | service: service-general
[2026-04-07 02:02:41.800] [INFO ] Application started successfully                        | 📍 main.go:327 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-07 02:02:41.800] [INFO ] gRPC Server running                                     | 📍 main.go:293 | environment: debug | ⚙️ main.main.func2 | port: 8095 | service: service-general
[2026-04-07 02:02:53.779] [INFO ] Application starting                                    | 📍 main.go:75 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-07 02:02:53.779] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:90 | database_count: 3 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-07 02:02:53.779] [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-07 02:02:53.788] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-07 02:02:53.788] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 02:02:53.796] [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-07 02:02:53.796] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 02:02:53.812] [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-07 02:02:53.812] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 02:02:53.812] [INFO ] Found migration files to execute                        | 📍 database.go:532 | count: 4 | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).runSQLMigrationsForDB | service: service-general
[2026-04-07 02:02:53.813] [DEBUG] Migrations table already exists                         | 📍 database.go:1371 | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).ensureMigrationTable | service: service-general
[2026-04-07 02:02:53.839] [WARNI] Database migration completed with issues                | 📍 main.go:106 | environment: debug | ❌ ERROR: sql migration failed for simrs: migration failed at file internal/infrastructure/database/sql/00001_role_pages.sql: failed to execute SQL command: -- Trigger untuk update updated_at
CREATE OR REPLACE FUNCTION update_updated_at_column()
RETURNS TRIGGER AS $
BEGIN
    NEW.updated_at = CURRENT_TIMESTAMP, error: ERROR: syntax error at or near "$" (SQLSTATE 42601) | ⚙️ main.main | service: service-general
[2026-04-07 02:02:53.841] [INFO ] Cache initialized                                       | 📍 main.go:131 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-07 02:02:53.841] [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/sandbox | service: service-general | static_tokens_len: 4
[2026-04-07 02:02:53.841] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-07 02:02:53.841] [INFO ] Registered RolPermission gRPC service                   | 📍 server.go:35 | environment: debug | ⚙️ service/internal/infrastructure/transport/grpc/servers.NewGRPCServer | service: service-general
[2026-04-07 02:02:53.841] [INFO ] Application started successfully                        | 📍 main.go:327 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-07 02:02:53.841] [INFO ] gRPC Server running                                     | 📍 main.go:293 | environment: debug | ⚙️ main.main.func2 | port: 8095 | service: service-general
[2026-04-07 02:02:53.842] [INFO ] REST API running                                        | 📍 main.go:266 | environment: debug | ⚙️ main.main.func1 | port: 8094 | service: service-general
[2026-04-07 02:02:55.582] [INFO ] Application starting                                    | 📍 main.go:75 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-07 02:02:55.583] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:90 | database_count: 3 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-07 02:02:55.583] [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-07 02:02:55.591] [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-07 02:02:55.591] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 02:02:55.600] [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-07 02:02:55.600] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 02:02:55.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-07 02:02:55.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-07 02:02:55.672] [INFO ] Found migration files to execute                        | 📍 database.go:532 | count: 4 | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).runSQLMigrationsForDB | service: service-general
[2026-04-07 02:02:55.673] [DEBUG] Migrations table already exists                         | 📍 database.go:1371 | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).ensureMigrationTable | service: service-general
[2026-04-07 02:02:55.704] [WARNI] Database migration completed with issues                | 📍 main.go:106 | environment: debug | ❌ ERROR: sql migration failed for simrs: migration failed at file internal/infrastructure/database/sql/00001_role_pages.sql: failed to execute SQL command: -- Trigger untuk update updated_at
CREATE OR REPLACE FUNCTION update_updated_at_column()
RETURNS TRIGGER AS $
BEGIN
    NEW.updated_at = CURRENT_TIMESTAMP, error: ERROR: syntax error at or near "$" (SQLSTATE 42601) | ⚙️ main.main | service: service-general
[2026-04-07 02:02:55.707] [INFO ] Cache initialized                                       | 📍 main.go:131 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-07 02:02:55.707] [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/sandbox | service: service-general | static_tokens_len: 4
[2026-04-07 02:02:55.707] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-07 02:02:55.707] [INFO ] Registered RolPermission gRPC service                   | 📍 server.go:35 | environment: debug | ⚙️ service/internal/infrastructure/transport/grpc/servers.NewGRPCServer | service: service-general
[2026-04-07 02:02:55.707] [INFO ] Application started successfully                        | 📍 main.go:327 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-07 02:02:55.707] [INFO ] REST API running                                        | 📍 main.go:266 | environment: debug | ⚙️ main.main.func1 | port: 8094 | service: service-general
[2026-04-07 02:02:55.707] [INFO ] gRPC Server running                                     | 📍 main.go:293 | environment: debug | ⚙️ main.main.func2 | port: 8095 | service: service-general
[2026-04-07 02:02:57.346] [INFO ] Application starting                                    | 📍 main.go:75 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-07 02:02:57.346] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:90 | database_count: 3 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-07 02:02:57.346] [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-07 02:02:57.353] [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-07 02:02:57.353] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 02:02:57.360] [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-07 02:02:57.360] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 02:02:57.382] [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-07 02:02:57.382] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 02:02:57.382] [INFO ] Found migration files to execute                        | 📍 database.go:532 | count: 4 | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).runSQLMigrationsForDB | service: service-general
[2026-04-07 02:02:57.383] [DEBUG] Migrations table already exists                         | 📍 database.go:1371 | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).ensureMigrationTable | service: service-general
[2026-04-07 02:02:57.409] [WARNI] Database migration completed with issues                | 📍 main.go:106 | environment: debug | ❌ ERROR: sql migration failed for simrs: migration failed at file internal/infrastructure/database/sql/00001_role_pages.sql: failed to execute SQL command: -- Trigger untuk update updated_at
CREATE OR REPLACE FUNCTION update_updated_at_column()
RETURNS TRIGGER AS $
BEGIN
    NEW.updated_at = CURRENT_TIMESTAMP, error: ERROR: syntax error at or near "$" (SQLSTATE 42601) | ⚙️ main.main | service: service-general
[2026-04-07 02:02:57.411] [INFO ] Cache initialized                                       | 📍 main.go:131 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-07 02:02:57.411] [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/sandbox | service: service-general | static_tokens_len: 4
[2026-04-07 02:02:57.411] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-07 02:02:57.411] [INFO ] Registered RolPermission gRPC service                   | 📍 server.go:35 | environment: debug | ⚙️ service/internal/infrastructure/transport/grpc/servers.NewGRPCServer | service: service-general
[2026-04-07 02:02:57.411] [INFO ] REST API running                                        | 📍 main.go:266 | environment: debug | ⚙️ main.main.func1 | port: 8094 | service: service-general
[2026-04-07 02:02:57.412] [INFO ] Application started successfully                        | 📍 main.go:327 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-07 02:02:57.412] [INFO ] gRPC Server running                                     | 📍 main.go:293 | environment: debug | ⚙️ main.main.func2 | port: 8095 | service: service-general
[2026-04-07 02:02:58.500] [INFO ] Application starting                                    | 📍 main.go:75 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-07 02:02:58.500] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:90 | database_count: 3 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-07 02:02:58.500] [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-07 02:02:58.508] [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-07 02:02:58.508] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 02:02:58.516] [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-07 02:02:58.516] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 02:02:58.531] [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-07 02:02:58.531] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 02:02:58.531] [INFO ] Found migration files to execute                        | 📍 database.go:532 | count: 4 | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).runSQLMigrationsForDB | service: service-general
[2026-04-07 02:02:58.532] [DEBUG] Migrations table already exists                         | 📍 database.go:1371 | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).ensureMigrationTable | service: service-general
[2026-04-07 02:02:58.562] [WARNI] Database migration completed with issues                | 📍 main.go:106 | environment: debug | ❌ ERROR: sql migration failed for simrs: migration failed at file internal/infrastructure/database/sql/00001_role_pages.sql: failed to execute SQL command: -- Trigger untuk update updated_at
CREATE OR REPLACE FUNCTION update_updated_at_column()
RETURNS TRIGGER AS $
BEGIN
    NEW.updated_at = CURRENT_TIMESTAMP, error: ERROR: syntax error at or near "$" (SQLSTATE 42601) | ⚙️ main.main | service: service-general
[2026-04-07 02:02:58.564] [INFO ] Cache initialized                                       | 📍 main.go:131 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-07 02:02:58.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/sandbox | service: service-general | static_tokens_len: 4
[2026-04-07 02:02:58.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-07 02:02:58.565] [INFO ] Registered RolPermission gRPC service                   | 📍 server.go:35 | environment: debug | ⚙️ service/internal/infrastructure/transport/grpc/servers.NewGRPCServer | service: service-general
[2026-04-07 02:02:58.565] [INFO ] Application started successfully                        | 📍 main.go:327 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-07 02:02:58.565] [INFO ] REST API running                                        | 📍 main.go:266 | environment: debug | ⚙️ main.main.func1 | port: 8094 | service: service-general
[2026-04-07 02:02:58.565] [INFO ] gRPC Server running                                     | 📍 main.go:293 | environment: debug | ⚙️ main.main.func2 | port: 8095 | service: service-general
[2026-04-07 02:03:00.843] [INFO ] Application starting                                    | 📍 main.go:75 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-07 02:03:00.843] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:90 | database_count: 3 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-07 02:03:00.843] [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-07 02:03:00.851] [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-07 02:03:00.851] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 02:03:00.859] [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-07 02:03:00.859] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 02:03:00.878] [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-07 02:03:00.878] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 02:03:00.878] [INFO ] Found migration files to execute                        | 📍 database.go:532 | count: 4 | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).runSQLMigrationsForDB | service: service-general
[2026-04-07 02:03:00.880] [DEBUG] Migrations table already exists                         | 📍 database.go:1371 | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).ensureMigrationTable | service: service-general
[2026-04-07 02:03:00.905] [WARNI] Database migration completed with issues                | 📍 main.go:106 | environment: debug | ❌ ERROR: sql migration failed for simrs: migration failed at file internal/infrastructure/database/sql/00001_role_pages.sql: failed to execute SQL command: -- Trigger untuk update updated_at
CREATE OR REPLACE FUNCTION update_updated_at_column()
RETURNS TRIGGER AS $
BEGIN
    NEW.updated_at = CURRENT_TIMESTAMP, error: ERROR: syntax error at or near "$" (SQLSTATE 42601) | ⚙️ main.main | service: service-general
[2026-04-07 02:03:00.907] [INFO ] Cache initialized                                       | 📍 main.go:131 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-07 02:03:00.907] [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/sandbox | service: service-general | static_tokens_len: 4
[2026-04-07 02:03:00.907] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-07 02:03:00.907] [INFO ] Registered RolPermission gRPC service                   | 📍 server.go:35 | environment: debug | ⚙️ service/internal/infrastructure/transport/grpc/servers.NewGRPCServer | service: service-general
[2026-04-07 02:03:00.908] [INFO ] Application started successfully                        | 📍 main.go:327 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-07 02:03:00.908] [INFO ] gRPC Server running                                     | 📍 main.go:293 | environment: debug | ⚙️ main.main.func2 | port: 8095 | service: service-general
[2026-04-07 02:03:00.908] [INFO ] REST API running                                        | 📍 main.go:266 | environment: debug | ⚙️ main.main.func1 | port: 8094 | service: service-general
[2026-04-07 02:03:01.987] [INFO ] Application starting                                    | 📍 main.go:75 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-07 02:03:01.988] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:90 | database_count: 3 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-07 02:03:01.988] [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-07 02:03:01.999] [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-07 02:03:01.999] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 02:03:02.009] [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-07 02:03:02.009] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 02:03:02.018] [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-07 02:03:02.018] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 02:03:02.018] [INFO ] Found migration files to execute                        | 📍 database.go:532 | count: 4 | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).runSQLMigrationsForDB | service: service-general
[2026-04-07 02:03:02.019] [WARNI] Database migration completed with issues                | 📍 main.go:106 | environment: debug | ❌ ERROR: sql migration failed for farmasi: failed to ensure migration table: failed to create migrations table: mssql: Incorrect syntax near 'Migrations'. | ⚙️ main.main | service: service-general
[2026-04-07 02:03:02.020] [INFO ] Cache initialized                                       | 📍 main.go:131 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-07 02:03:02.020] [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/sandbox | service: service-general | static_tokens_len: 4
[2026-04-07 02:03:02.020] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-07 02:03:02.021] [INFO ] Registered RolPermission gRPC service                   | 📍 server.go:35 | environment: debug | ⚙️ service/internal/infrastructure/transport/grpc/servers.NewGRPCServer | service: service-general
[2026-04-07 02:03:02.021] [INFO ] Application started successfully                        | 📍 main.go:327 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-07 02:03:02.021] [INFO ] REST API running                                        | 📍 main.go:266 | environment: debug | ⚙️ main.main.func1 | port: 8094 | service: service-general
[2026-04-07 02:03:02.021] [INFO ] gRPC Server running                                     | 📍 main.go:293 | environment: debug | ⚙️ main.main.func2 | port: 8095 | service: service-general
[2026-04-07 02:03:03.939] [INFO ] Application starting                                    | 📍 main.go:75 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-07 02:03:03.939] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:90 | database_count: 3 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-07 02:03:03.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-07 02:03:03.953] [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-07 02:03:03.953] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 02:03:03.965] [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-07 02:03:03.965] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 02:03:03.982] [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-07 02:03:03.982] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 02:03:03.983] [INFO ] Found migration files to execute                        | 📍 database.go:532 | count: 4 | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).runSQLMigrationsForDB | service: service-general
[2026-04-07 02:03:03.985] [DEBUG] Migrations table already exists                         | 📍 database.go:1371 | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).ensureMigrationTable | service: service-general
[2026-04-07 02:03:04.017] [WARNI] Database migration completed with issues                | 📍 main.go:106 | environment: debug | ❌ ERROR: sql migration failed for simrs: migration failed at file internal/infrastructure/database/sql/00001_role_pages.sql: failed to execute SQL command: -- Trigger untuk update updated_at
CREATE OR REPLACE FUNCTION update_updated_at_column()
RETURNS TRIGGER AS $
BEGIN
    NEW.updated_at = CURRENT_TIMESTAMP, error: ERROR: syntax error at or near "$" (SQLSTATE 42601) | ⚙️ main.main | service: service-general
[2026-04-07 02:03:04.019] [INFO ] Cache initialized                                       | 📍 main.go:131 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-07 02:03:04.019] [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/sandbox | service: service-general | static_tokens_len: 4
[2026-04-07 02:03:04.019] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-07 02:03:04.019] [INFO ] Registered RolPermission gRPC service                   | 📍 server.go:35 | environment: debug | ⚙️ service/internal/infrastructure/transport/grpc/servers.NewGRPCServer | service: service-general
[2026-04-07 02:03:04.020] [INFO ] Application started successfully                        | 📍 main.go:327 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-07 02:03:04.020] [INFO ] gRPC Server running                                     | 📍 main.go:293 | environment: debug | ⚙️ main.main.func2 | port: 8095 | service: service-general
[2026-04-07 02:03:04.020] [INFO ] REST API running                                        | 📍 main.go:266 | environment: debug | ⚙️ main.main.func1 | port: 8094 | service: service-general
[2026-04-07 02:03:05.712] [INFO ] Application starting                                    | 📍 main.go:75 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-07 02:03:05.712] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:90 | database_count: 3 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-07 02:03:05.713] [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-07 02:03:05.721] [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-07 02:03:05.721] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 02:03:05.732] [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-07 02:03:05.732] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 02:03:05.745] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-07 02:03:05.745] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 02:03:05.746] [INFO ] Found migration files to execute                        | 📍 database.go:532 | count: 4 | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).runSQLMigrationsForDB | service: service-general
[2026-04-07 02:03:05.746] [DEBUG] Migrations table already exists                         | 📍 database.go:1371 | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).ensureMigrationTable | service: service-general
[2026-04-07 02:03:05.776] [WARNI] Database migration completed with issues                | 📍 main.go:106 | environment: debug | ❌ ERROR: sql migration failed for simrs: migration failed at file internal/infrastructure/database/sql/00001_role_pages.sql: failed to execute SQL command: -- Trigger untuk update updated_at
CREATE OR REPLACE FUNCTION update_updated_at_column()
RETURNS TRIGGER AS $
BEGIN
    NEW.updated_at = CURRENT_TIMESTAMP, error: ERROR: syntax error at or near "$" (SQLSTATE 42601) | ⚙️ main.main | service: service-general
[2026-04-07 02:03:05.777] [INFO ] Cache initialized                                       | 📍 main.go:131 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-07 02:03:05.778] [INFO ] Creating authentication providers                       | auth_type: hybrid | 📍 provider.go:69 | environment: debug | fallback_to: jwt | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | keycloak_enabled: true | keycloak_issuer: https://auth.rssa.top/realms/sandbox | service: service-general | static_tokens_len: 4
[2026-04-07 02:03:05.778] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-07 02:03:05.778] [INFO ] Registered RolPermission gRPC service                   | 📍 server.go:35 | environment: debug | ⚙️ service/internal/infrastructure/transport/grpc/servers.NewGRPCServer | service: service-general
[2026-04-07 02:03:05.778] [INFO ] Application started successfully                        | 📍 main.go:327 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-07 02:03:05.778] [INFO ] REST API running                                        | 📍 main.go:266 | environment: debug | ⚙️ main.main.func1 | port: 8094 | service: service-general
[2026-04-07 02:03:05.779] [INFO ] gRPC Server running                                     | 📍 main.go:293 | environment: debug | ⚙️ main.main.func2 | port: 8095 | service: service-general
[2026-04-07 02:03:07.270] [INFO ] Application starting                                    | 📍 main.go:75 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-07 02:03:07.270] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:90 | database_count: 3 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-07 02:03:07.270] [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-07 02:03:07.278] [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-07 02:03:07.279] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 02:03:07.298] [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-07 02:03:07.298] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 02:03:07.306] [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-07 02:03:07.306] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 02:03:07.306] [INFO ] Found migration files to execute                        | 📍 database.go:532 | count: 4 | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).runSQLMigrationsForDB | service: service-general
[2026-04-07 02:03:07.307] [WARNI] Database migration completed with issues                | 📍 main.go:106 | environment: debug | ❌ ERROR: sql migration failed for farmasi: failed to ensure migration table: failed to create migrations table: mssql: Incorrect syntax near 'Migrations'. | ⚙️ main.main | service: service-general
[2026-04-07 02:03:07.308] [INFO ] Cache initialized                                       | 📍 main.go:131 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-07 02:03:07.309] [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/sandbox | service: service-general | static_tokens_len: 4
[2026-04-07 02:03:07.309] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-07 02:03:07.309] [INFO ] Registered RolPermission gRPC service                   | 📍 server.go:35 | environment: debug | ⚙️ service/internal/infrastructure/transport/grpc/servers.NewGRPCServer | service: service-general
[2026-04-07 02:03:07.309] [INFO ] Application started successfully                        | 📍 main.go:327 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-07 02:03:07.309] [INFO ] gRPC Server running                                     | 📍 main.go:293 | environment: debug | ⚙️ main.main.func2 | port: 8095 | service: service-general
[2026-04-07 02:03:07.309] [INFO ] REST API running                                        | 📍 main.go:266 | environment: debug | ⚙️ main.main.func1 | port: 8094 | service: service-general
[2026-04-07 02:03:56.991] [INFO ] Built search query                                      | 📍 repository.go:204 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 02:03:56.995] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 37.264226ms | method: GET | path: /api/v1/roles/master | request_id: 34117eb8-cfa9-4742-9a80-289862dddcaa | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 02:03:57.352] [INFO ] Built search query                                      | 📍 repository.go:204 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 02:03:57.354] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.274304ms | method: GET | path: /api/v1/roles/master | request_id: 8fdd63fe-9bd2-4863-8931-28f6943eb564 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 02:04:30.396] [INFO ] Built search query                                      | 📍 repository.go:204 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 02:04:30.397] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.3866ms | method: GET | path: /api/v1/roles/master | request_id: 30d64faf-0273-4cc3-aa1a-b7aa0afe5cd1 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 02:05:12.513] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 718.557µs | method: GET | path: /api/v1/roles/pages | query: active=false&sort=-id&limit=2&offset=3 | request_id: aa36dc35-0e29-49f0-bfc4-b0c1daff1700 | service: service-general | status: 401 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 02:05:16.676] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 780.238µs | method: POST | path: /api/v1/auth/login | request_id: a3195718-dd64-4cfc-9a1e-4595a34cec87 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 02:05:23.060] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 14.592147ms | method: GET | path: /api/v1/roles/pages | query: active=false&sort=-id&limit=2&offset=3 | request_id: ce8d28dd-a937-4aec-968e-81a6710f56e8 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 02:05:23.400] [INFO ] Built search query                                      | 📍 repository.go:204 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 02:05:23.401] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 1.79875ms | method: GET | path: /api/v1/roles/master | request_id: 3db94997-bfb7-429a-bca4-bb2b90d704ef | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 02:05:24.364] [INFO ] Built search query                                      | 📍 repository.go:204 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 02:05:24.365] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.044362ms | method: GET | path: /api/v1/roles/master | request_id: 4c4b84ad-b066-4e9e-bea5-6b52a35c7986 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 02:05:33.496] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 2.718902ms | method: GET | path: /api/v1/roles/pages | query: limit=2&offset=3 | request_id: ef9783d8-602f-4096-ab71-672401b431f4 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 02:05:46.947] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 2.483462ms | method: GET | path: /api/v1/roles/pages | query: active=false | request_id: 905a0664-c3ab-457c-8912-52ee0d6ce757 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 02:05:52.531] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 3.012886ms | method: GET | path: /api/v1/roles/pages | query: sort=-id | request_id: 5742c74b-5d3e-4605-ad62-e9d50f1a5a41 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 02:06:06.314] [DEBUG] Cache hit for Role Pages Search                         | 📍 service.go:101 | environment: debug | ⚙️ service/internal/master/role/pages.(*service).Search | key: role_pages_search_v2:18178c9cefd7c975d14dd9827c4d0ab51f503b2a86a8708920543f4a9c544ab4 | service: service-general
[2026-04-07 02:06:06.314] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 1.297272ms | method: GET | path: /api/v1/roles/pages | query: limit=2 | request_id: 49d2f4d1-e383-4052-9382-41a34ce6a4d0 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 02:06:13.982] [INFO ] Built search query                                      | 📍 repository.go:204 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 02:06:13.984] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.513233ms | method: GET | path: /api/v1/roles/master | request_id: a94d64dd-316a-458d-ab7c-27b294414a1e | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 02:06:17.035] [INFO ] Built search query                                      | 📍 repository.go:204 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 02:06:17.036] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.277867ms | method: GET | path: /api/v1/roles/master | request_id: bb189e8e-2488-4ec7-a187-79ce4ac8d1be | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 02:06:31.511] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 3.262119ms | method: GET | path: /api/v1/roles/pages/tree | request_id: 81c57b52-9925-45c6-b1d2-f1ff73c28123 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 02:06:32.902] [INFO ] Built search query                                      | 📍 repository.go:204 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 02:06:32.905] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 3.228467ms | method: GET | path: /api/v1/roles/master | request_id: 8cf71b1f-4fb6-4e3a-ba21-60e9d7ef0dea | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 02:07:29.712] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 709.629µs | method: GET | path: /api/v1/roles/pages/tree | request_id: 031433f8-b6a4-4cca-a4a7-64e886c3a2a4 | service: service-general | status: 401 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 02:07:29.750] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 32.041499ms | method: POST | path: /api/v1/auth/refresh | request_id: be854f64-dc28-4fbd-8521-8780ac537fa8 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 02:07:29.771] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 550.424µs | method: GET | path: /api/v1/auth/info | request_id: ef9b0ada-afb0-4ba8-93e5-ac3f0008a0b7 | service: service-general | status: 200 | user_agent: node
[2026-04-07 02:07:29.785] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.318112ms | method: GET | path: /api/v1/roles/pages/tree | request_id: b2b9590d-15d3-4402-b1d3-fb3b23fc1c02 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 02:07:30.842] [INFO ] Built search query                                      | 📍 repository.go:204 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 02:07:30.854] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 12.60703ms | method: GET | path: /api/v1/roles/master | request_id: cf2c1ac8-7224-4be4-a0ce-a0da7cdf47eb | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 02:07:31.707] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 4.940558ms | method: GET | path: /api/v1/roles/pages/tree | request_id: 018f3ac5-b557-46d6-811f-621b31da0ca3 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 02:07:32.397] [INFO ] Built search query                                      | 📍 repository.go:204 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 02:07:32.448] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 51.079866ms | method: GET | path: /api/v1/roles/master | request_id: b95383fe-a012-4b39-9f30-dc804fc92297 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 02:07:44.922] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.233399ms | method: GET | path: /api/v1/roles/pages/tree | request_id: d86e4577-6f85-4ecf-b1f2-306322ce2405 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 02:07:45.763] [INFO ] Built search query                                      | 📍 repository.go:204 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 02:07:45.764] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.122207ms | method: GET | path: /api/v1/roles/master | request_id: 516f2be5-86ec-4756-857c-97ba25b0f645 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 02:07:46.508] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 1.488207ms | method: GET | path: /api/v1/roles/pages/tree | request_id: 19613896-9275-4771-a80a-94ffa0845eea | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 02:07:47.235] [INFO ] Built search query                                      | 📍 repository.go:204 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 02:07:47.237] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.11017ms | method: GET | path: /api/v1/roles/master | request_id: b0afc9ba-7c3e-4379-bdaa-d7886a4e5992 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 02:08:04.531] [DEBUG] Cache hit for Role Pages Search                         | 📍 service.go:101 | environment: debug | ⚙️ service/internal/master/role/pages.(*service).Search | key: role_pages_search_v2:18178c9cefd7c975d14dd9827c4d0ab51f503b2a86a8708920543f4a9c544ab4 | service: service-general
[2026-04-07 02:08:04.532] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 1.007243ms | method: GET | path: /api/v1/roles/pages | query: limit=2&offset=3 | request_id: d68c553c-b8b9-4d5b-a9ca-c5b44b26494a | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 02:08:07.968] [DEBUG] Cache hit for Role Pages Search                         | 📍 service.go:101 | environment: debug | ⚙️ service/internal/master/role/pages.(*service).Search | key: role_pages_search_v2:18178c9cefd7c975d14dd9827c4d0ab51f503b2a86a8708920543f4a9c544ab4 | service: service-general
[2026-04-07 02:08:07.968] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 839.282µs | method: GET | path: /api/v1/roles/pages | query: limit=2&offset=3 | request_id: 86168a30-6d4e-4d83-8587-e53a0b5b605c | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 02:08:14.529] [DEBUG] Cache hit for Role Pages Search                         | 📍 service.go:101 | environment: debug | ⚙️ service/internal/master/role/pages.(*service).Search | key: role_pages_search_v2:18178c9cefd7c975d14dd9827c4d0ab51f503b2a86a8708920543f4a9c544ab4 | service: service-general
[2026-04-07 02:08:14.529] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 833.245µs | method: GET | path: /api/v1/roles/pages | query: limit=2 | request_id: 6137a680-b016-444e-bcbb-621a83f0bc83 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 02:09:12.739] [DEBUG] Cache hit for Role Pages Search                         | 📍 service.go:101 | environment: debug | ⚙️ service/internal/master/role/pages.(*service).Search | key: role_pages_search_v2:18178c9cefd7c975d14dd9827c4d0ab51f503b2a86a8708920543f4a9c544ab4 | service: service-general
[2026-04-07 02:09:12.739] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 876.433µs | method: GET | path: /api/v1/roles/pages | query: limit=2 | request_id: c5c54068-b028-4599-8a56-4fe16ce6fd85 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 02:10:49.827] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 12.110936ms | method: GET | path: /api/v1/roles/pages | query: limit=2 | request_id: 3dcb220c-f900-4b76-a5f5-0dc5f0d4fbee | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 02:11:58.283] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 596.622µs | method: POST | path: /api/v1/roles/master | request_id: 1a7573fe-e9c5-45ee-ad9f-ccd3b6bf4bfd | service: service-general | status: 400 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 02:12:09.169] [INFO ] Built search query                                      | 📍 repository.go:204 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 02:12:09.172] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 3.393278ms | method: GET | path: /api/v1/roles/master | query: offset=10 | request_id: 8a9e25ca-aa15-4244-ae67-30371cff9571 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 02:12:20.157] [INFO ] Built search query                                      | 📍 repository.go:204 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 02:12:20.158] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.169036ms | method: GET | path: /api/v1/roles/master | request_id: 7fee14c0-a48f-4685-b519-b97b534b79f6 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 02:12:21.010] [INFO ] Built search query                                      | 📍 repository.go:204 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 02:12:21.012] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.118449ms | method: GET | path: /api/v1/roles/master | request_id: 1dc6f2e8-a325-4ed4-b303-fac73eafa3e4 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 02:12:49.407] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 497.606µs | method: POST | path: /api/v1/roles/master | request_id: f4eaa7b8-9481-4d53-a4b5-27e9032c52b0 | service: service-general | status: 400 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 02:13:30.054] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 717.964µs | method: POST | path: /api/v1/roles/master | request_id: ec9de87d-8e38-4728-81c4-5da059fdad08 | service: service-general | status: 401 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 02:13:30.102] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 32.220985ms | method: POST | path: /api/v1/auth/refresh | request_id: dd66a303-eb67-4ef8-9950-041f38e926a0 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 02:13:30.140] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 632.944µs | method: GET | path: /api/v1/auth/info | request_id: 4f82e423-322a-4079-9dba-0913ac26dcab | service: service-general | status: 200 | user_agent: node
[2026-04-07 02:13:30.176] [ERROR] Database query failed                                   | 📍 database.go:168 | duration_ms: 4.363658ms | environment: debug | ❌ ERROR: ERROR: null value in column "id" of relation "rol_master" violates not-null constraint (SQLSTATE 23502) | ⚙️ service/internal/infrastructure/database.(*gormLoggerAdapter).Trace | request_id: da5792df-07e9-45fc-9005-8c52a77a8e3b | rows: 0 | service: service-general | sql: INSERT INTO "role_access"."rol_master" ("name","active","created_at","updated_at") VALUES ('user2',true,'2026-04-07 02:13:30.174','2026-04-07 02:13:30.174')
[2026-04-07 02:13:30.176] [ERROR] HTTP Request                                            | 📍 middleware.go:173 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 5.562896ms | method: POST | path: /api/v1/roles/master | request_id: da5792df-07e9-45fc-9005-8c52a77a8e3b | service: service-general | status: 500 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 02:13:45.306] [ERROR] Database query failed                                   | 📍 database.go:168 | duration_ms: 29.528455ms | environment: debug | ❌ ERROR: ERROR: null value in column "id" of relation "rol_master" violates not-null constraint (SQLSTATE 23502) | ⚙️ service/internal/infrastructure/database.(*gormLoggerAdapter).Trace | request_id: 98c93e7c-1454-46e6-ac60-defc6baa439a | rows: 0 | service: service-general | sql: INSERT INTO "role_access"."rol_master" ("name","active","created_at","updated_at") VALUES ('user2',true,'2026-04-07 02:13:45.292','2026-04-07 02:13:45.292')
[2026-04-07 02:13:45.306] [ERROR] HTTP Request                                            | 📍 middleware.go:173 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 30.33323ms | method: POST | path: /api/v1/roles/master | request_id: 98c93e7c-1454-46e6-ac60-defc6baa439a | service: service-general | status: 500 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 02:14:05.027] [INFO ] Built search query                                      | 📍 repository.go:204 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 02:14:05.029] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.901825ms | method: GET | path: /api/v1/roles/master | request_id: d3242abe-0ef2-43d5-93f8-71b2f6b4708f | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 02:14:14.431] [INFO ] Built search query                                      | 📍 repository.go:204 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 02:14:14.432] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.760025ms | method: GET | path: /api/v1/roles/master | request_id: 4e5e43da-fb5b-4390-bcd6-8c4076839b55 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 02:15:38.385] [ERROR] Database query failed                                   | 📍 database.go:168 | duration_ms: 1.632701ms | environment: debug | ❌ ERROR: ERROR: null value in column "id" of relation "rol_master" violates not-null constraint (SQLSTATE 23502) | ⚙️ service/internal/infrastructure/database.(*gormLoggerAdapter).Trace | request_id: cdd4f7fc-d315-4485-88a1-eee5ad58df49 | rows: 0 | service: service-general | sql: INSERT INTO "role_access"."rol_master" ("name","active","created_at","updated_at") VALUES ('tes',true,'2026-04-07 02:15:38.384','2026-04-07 02:15:38.384')
[2026-04-07 02:15:38.385] [ERROR] HTTP Request                                            | 📍 middleware.go:173 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.592123ms | method: POST | path: /api/v1/roles/master | request_id: cdd4f7fc-d315-4485-88a1-eee5ad58df49 | service: service-general | status: 500 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 02:15:44.812] [ERROR] Database query failed                                   | 📍 database.go:168 | duration_ms: 1.82024ms | environment: debug | ❌ ERROR: ERROR: null value in column "id" of relation "rol_master" violates not-null constraint (SQLSTATE 23502) | ⚙️ service/internal/infrastructure/database.(*gormLoggerAdapter).Trace | request_id: 0c2867fd-c32f-4fc7-90eb-a26c6cea73b1 | rows: 0 | service: service-general | sql: INSERT INTO "role_access"."rol_master" ("name","active","created_at","updated_at") VALUES ('tes',true,'2026-04-07 02:15:44.812','2026-04-07 02:15:44.812')
[2026-04-07 02:15:44.813] [ERROR] HTTP Request                                            | 📍 middleware.go:173 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.555677ms | method: POST | path: /api/v1/roles/master | request_id: 0c2867fd-c32f-4fc7-90eb-a26c6cea73b1 | service: service-general | status: 500 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 02:16:51.737] [ERROR] Database query failed                                   | 📍 database.go:168 | duration_ms: 8.551155ms | environment: debug | ❌ ERROR: ERROR: null value in column "id" of relation "rol_master" violates not-null constraint (SQLSTATE 23502) | ⚙️ service/internal/infrastructure/database.(*gormLoggerAdapter).Trace | request_id: cecead1d-b0ba-4c57-9344-259682ec7b7e | rows: 0 | service: service-general | sql: INSERT INTO "role_access"."rol_master" ("name","active","created_at","updated_at") VALUES ('tes',true,'2026-04-07 02:16:51.735','2026-04-07 02:16:51.735')
[2026-04-07 02:16:51.737] [ERROR] HTTP Request                                            | 📍 middleware.go:173 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 9.418054ms | method: POST | path: /api/v1/roles/master | request_id: cecead1d-b0ba-4c57-9344-259682ec7b7e | service: service-general | status: 500 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 02:17:21.468] [ERROR] Database query failed                                   | 📍 database.go:168 | duration_ms: 1.891219ms | environment: debug | ❌ ERROR: ERROR: null value in column "id" of relation "rol_master" violates not-null constraint (SQLSTATE 23502) | ⚙️ service/internal/infrastructure/database.(*gormLoggerAdapter).Trace | request_id: d2062f10-7062-4107-b254-bd6db725561b | rows: 0 | service: service-general | sql: INSERT INTO "role_access"."rol_master" ("name","active","created_at","updated_at") VALUES ('user',true,'2026-04-07 02:17:21.467','2026-04-07 02:17:21.467')
[2026-04-07 02:17:21.468] [ERROR] HTTP Request                                            | 📍 middleware.go:173 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 3.047839ms | method: POST | path: /api/v1/roles/master | request_id: d2062f10-7062-4107-b254-bd6db725561b | service: service-general | status: 500 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 02:19:30.985] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 669.852µs | method: GET | path: /api/v1/roles/pages/tree | request_id: 6d270c02-fe67-483f-907a-a59d5315c29a | service: service-general | status: 401 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 02:19:31.016] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 23.773626ms | method: POST | path: /api/v1/auth/refresh | request_id: dfaa0479-11c1-4f5d-88e1-868e093c5a97 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 02:19:31.052] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 532.569µs | method: GET | path: /api/v1/auth/info | request_id: 77c7be92-269f-46b2-8f6c-b60396e1fff5 | service: service-general | status: 200 | user_agent: node
[2026-04-07 02:19:31.088] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 5.455969ms | method: GET | path: /api/v1/roles/pages/tree | request_id: 4f501db7-67c3-4f9b-b2c6-fee3bfa1e240 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 02:20:04.036] [INFO ] Built search query                                      | 📍 repository.go:204 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 02:20:04.039] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 3.61706ms | method: GET | path: /api/v1/roles/master | request_id: 7f62c30c-01ec-49cb-9585-288ec6c565ed | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 02:20:53.300] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.001388ms | method: GET | path: /api/v1/roles/pages/tree | request_id: 3c993b04-805b-4a1a-84b6-975cff85b150 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 02:20:58.266] [INFO ] Built search query                                      | 📍 repository.go:204 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 02:20:58.268] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.258566ms | method: GET | path: /api/v1/roles/master | request_id: 2d456392-077e-4181-9102-b2b968765b46 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 02:21:23.222] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 40.746µs | method: OPTIONS | path: /api/v1/roles/master/1 | request_id: 92bf1933-d338-476b-8ef3-89947e1036fb | service: service-general | status: 204 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 02:21:23.234] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.461816ms | method: GET | path: /api/v1/roles/master/1 | request_id: ca5057d1-d989-43d4-bb76-3a6c9faaf945 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 02:21:25.184] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 28.277µs | method: OPTIONS | path: /api/v1/roles/master/2 | request_id: 2ed2984b-db2f-4c90-a64a-56386ed09b4c | service: service-general | status: 204 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 02:21:25.238] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 32.856555ms | method: GET | path: /api/v1/roles/master/2 | request_id: 29161fca-7b18-4f6c-93ff-cafa9fd75f23 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 02:21:27.590] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 1.525849ms | method: GET | path: /api/v1/roles/master/2 | request_id: f3a45965-af69-416a-87f9-c0e2bdb2043e | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 02:21:33.801] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 26.57µs | method: OPTIONS | path: /api/v1/roles/master/3 | request_id: dff79522-b4f0-44e4-979f-cf3c00ccc3b9 | service: service-general | status: 204 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 02:21:33.809] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 1.636898ms | method: GET | path: /api/v1/roles/master/3 | request_id: 4263ae6d-0ee3-4832-ba27-ee1a255ed43a | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 02:21:45.961] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 1.820849ms | method: GET | path: /api/v1/roles/master/2 | request_id: 0ee52066-3d01-49cd-adb9-c206dccc5863 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 02:21:51.921] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 11.50777ms | method: GET | path: /api/v1/roles/pages/tree | request_id: ab1cf469-380a-40c4-b152-470934f65389 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 02:22:00.067] [INFO ] Built search query                                      | 📍 repository.go:204 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 02:22:00.070] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 3.447097ms | method: GET | path: /api/v1/roles/master | request_id: 5bde2066-b555-4bd1-a220-b0b7dbf57203 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 02:22:10.257] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.600502ms | method: GET | path: /api/v1/roles/pages/tree | request_id: 14797bad-2d60-47fa-8fd4-924a58dc4dcf | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 02:22:11.567] [INFO ] Built search query                                      | 📍 repository.go:204 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 02:22:11.569] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.157954ms | method: GET | path: /api/v1/roles/master | request_id: a94b29ce-586f-443f-83af-c2a504228f26 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 02:22:42.478] [ERROR] Database query failed                                   | 📍 database.go:168 | duration_ms: 3.040679ms | environment: debug | ❌ ERROR: ERROR: null value in column "id" of relation "rol_master" violates not-null constraint (SQLSTATE 23502) | ⚙️ service/internal/infrastructure/database.(*gormLoggerAdapter).Trace | request_id: 662cfb14-3cc7-446a-974e-63f9f52fbc97 | rows: 0 | service: service-general | sql: INSERT INTO "role_access"."rol_master" ("name","active","created_at","updated_at") VALUES ('tes',true,'2026-04-07 02:22:42.477','2026-04-07 02:22:42.477')
[2026-04-07 02:22:42.479] [ERROR] HTTP Request                                            | 📍 middleware.go:173 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 3.846023ms | method: POST | path: /api/v1/roles/master | request_id: 662cfb14-3cc7-446a-974e-63f9f52fbc97 | service: service-general | status: 500 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 02:27:01.817] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 688.393µs | method: GET | path: /api/v1/roles/pages | query: limit=2 | request_id: bc6e9f89-0adf-4fcb-af90-5e36fe531d8b | service: service-general | status: 401 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 02:27:05.026] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 370.255µs | method: POST | path: /api/v1/auth/login | request_id: 77cf1324-19b1-4066-9abd-c35c5c7d81ab | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 02:27:21.846] [INFO ] Built search query                                      | 📍 repository.go:204 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:DESC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 02:27:21.856] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 10.39067ms | method: GET | path: /api/v1/roles/master | query: sort=-id | request_id: 825bb012-e8ce-4f21-9b8f-28e375102677 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 02:27:23.348] [INFO ] Built search query                                      | 📍 repository.go:204 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:DESC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 02:27:23.350] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 2.204832ms | method: GET | path: /api/v1/roles/master | query: sort=-id | request_id: 223e3a86-ad23-4172-a657-eecbf2e17962 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 02:33:53.650] [INFO ] Built search query                                      | 📍 repository.go:204 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:DESC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 02:33:53.662] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 11.891116ms | method: GET | path: /api/v1/roles/master | query: sort=-id | request_id: d3b39606-845a-43d6-8405-f5d32477c4a5 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 02:35:22.753] [INFO ] Built search query                                      | 📍 repository.go:204 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:DESC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 02:35:22.754] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 2.719564ms | method: GET | path: /api/v1/roles/master | query: sort=-id | request_id: af6f504c-03d8-41a8-a73c-911ec2aa8251 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 02:35:26.683] [INFO ] Built search query                                      | 📍 repository.go:204 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 02:35:26.686] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 3.036297ms | method: GET | path: /api/v1/roles/master | query: sort=id | request_id: ca5d8886-200a-46cc-a9ea-e983a0216759 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 02:35:31.425] [INFO ] Built search query                                      | 📍 repository.go:204 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:DESC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 02:35:31.426] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 2.073904ms | method: GET | path: /api/v1/roles/master | query: sort=-id | request_id: c8e655cb-30f6-4b21-9dda-7b8c8a0c0997 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 02:35:41.700] [INFO ] Built search query                                      | 📍 repository.go:204 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:DESC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 02:35:41.702] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 2.308273ms | method: GET | path: /api/v1/roles/master | query: sort=-id&limit=1 | request_id: fec110fd-855c-4d29-84d0-c8361c0ee4e2 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 02:38:30.801] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 611.446µs | method: GET | path: /api/v1/roles/permissions/role/1 | request_id: f311064e-85d1-4c81-ab65-76ea26c79ac2 | service: service-general | status: 401 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 02:38:36.453] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 391.4µs | method: POST | path: /api/v1/auth/login | request_id: 71c295e0-3d12-4662-9493-bb1fa3f4a439 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 02:38:39.789] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 5.017623ms | method: GET | path: /api/v1/roles/permissions/role/1 | request_id: 770fc730-7cb4-4a45-a051-4de090182c3d | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 02:40:19.504] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 657.292µs | method: GET | path: /api/v1/roles/master | request_id: 15bef9f5-7545-4b9b-9ae9-2f608f63e3eb | service: service-general | status: 401 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 02:40:19.538] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 25.252032ms | method: POST | path: /api/v1/auth/refresh | request_id: 66f1b297-86c0-4e2a-86a0-41957ee9a088 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 02:40:19.563] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 526.275µs | method: GET | path: /api/v1/auth/info | request_id: 690a3149-a619-4f62-bc48-b26f5a1cebe3 | service: service-general | status: 200 | user_agent: node
[2026-04-07 02:40:19.579] [INFO ] Built search query                                      | 📍 repository.go:204 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 02:40:19.590] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 12.599621ms | method: GET | path: /api/v1/roles/master | request_id: f089ec82-59a9-4e48-a5ed-9e9b35102c0d | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 02:40:22.268] [INFO ] Built search query                                      | 📍 repository.go:204 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 02:40:22.270] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.844313ms | method: GET | path: /api/v1/roles/master | request_id: b31b730e-1b11-4d30-abb8-b24cd1f67a91 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 02:40:23.389] [INFO ] Built search query                                      | 📍 repository.go:204 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 02:40:23.391] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.056504ms | method: GET | path: /api/v1/roles/master | request_id: 2393fd32-5c90-4e8a-8e0c-76c5cb82ebe8 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 02:40:47.428] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 33.828µs | method: OPTIONS | path: /api/v1/roles/permissions/role/1 | request_id: d93d3f75-1312-48ce-bee7-0e6d26d7c20f | service: service-general | status: 204 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 02:40:47.440] [DEBUG] Cache hit for Role Permission Tree                      | 📍 service.go:661 | environment: debug | ⚙️ service/internal/master/role/permission.(*service).GetRolePermissionTreeRole | key: permission_tree:1:all | service: service-general
[2026-04-07 02:40:47.440] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 963.414µs | method: GET | path: /api/v1/roles/permissions/role/1 | request_id: 537a54f8-cf73-4ca4-8881-8961cdbfd0fb | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 02:40:52.759] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 2.804267ms | method: GET | path: /api/v1/roles/pages | query: limit=2 | request_id: d4a2a4a1-f8f1-4287-9d14-c5b13192d22a | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 02:41:15.442] [INFO ] Application starting                                    | 📍 main.go:75 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-07 02:41:15.442] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:90 | database_count: 3 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-07 02:41:15.442] [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-07 02:41:15.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-07 02:41:15.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-07 02:41:15.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-07 02:41:15.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-07 02:41:15.479] [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-07 02:41:15.479] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 02:41:15.480] [INFO ] Found migration files to execute                        | 📍 database.go:532 | count: 4 | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).runSQLMigrationsForDB | service: service-general
[2026-04-07 02:41:15.481] [WARNI] Database migration completed with issues                | 📍 main.go:106 | environment: debug | ❌ ERROR: sql migration failed for farmasi: failed to ensure migration table: failed to create migrations table: mssql: Incorrect syntax near 'Migrations'. | ⚙️ main.main | service: service-general
[2026-04-07 02:41:15.483] [INFO ] Cache initialized                                       | 📍 main.go:131 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-07 02:41:15.484] [INFO ] Creating authentication providers                       | auth_type: hybrid | 📍 provider.go:69 | environment: debug | fallback_to: jwt | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | keycloak_enabled: true | keycloak_issuer: https://auth.rssa.top/realms/sandbox | service: service-general | static_tokens_len: 4
[2026-04-07 02:41:15.484] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-07 02:41:15.484] [INFO ] REST API running                                        | 📍 main.go:266 | environment: debug | ⚙️ main.main.func1 | port: 8094 | service: service-general
[2026-04-07 02:41:15.485] [INFO ] Registered RolPermission gRPC service                   | 📍 server.go:35 | environment: debug | ⚙️ service/internal/infrastructure/transport/grpc/servers.NewGRPCServer | service: service-general
[2026-04-07 02:41:15.485] [INFO ] Application started successfully                        | 📍 main.go:327 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-07 02:41:15.485] [INFO ] gRPC Server running                                     | 📍 main.go:293 | environment: debug | ⚙️ main.main.func2 | port: 8095 | service: service-general
[2026-04-07 02:41:23.152] [INFO ] Application starting                                    | 📍 main.go:75 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-07 02:41:23.153] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:90 | database_count: 3 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-07 02:41:23.153] [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-07 02:41:23.163] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-07 02:41:23.163] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 02:41:23.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-07 02:41:23.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-07 02:41:23.196] [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-07 02:41:23.196] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 02:41:23.197] [INFO ] Found migration files to execute                        | 📍 database.go:532 | count: 4 | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).runSQLMigrationsForDB | service: service-general
[2026-04-07 02:41:23.198] [DEBUG] Migrations table already exists                         | 📍 database.go:1371 | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).ensureMigrationTable | service: service-general
[2026-04-07 02:41:23.227] [WARNI] Database migration completed with issues                | 📍 main.go:106 | environment: debug | ❌ ERROR: sql migration failed for simrs: migration failed at file internal/infrastructure/database/sql/00001_role_pages.sql: failed to execute SQL command: -- Trigger untuk update updated_at
CREATE OR REPLACE FUNCTION update_updated_at_column()
RETURNS TRIGGER AS $
BEGIN
    NEW.updated_at = CURRENT_TIMESTAMP, error: ERROR: syntax error at or near "$" (SQLSTATE 42601) | ⚙️ main.main | service: service-general
[2026-04-07 02:41:23.231] [INFO ] Cache initialized                                       | 📍 main.go:131 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-07 02:41:23.231] [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/sandbox | service: service-general | static_tokens_len: 4
[2026-04-07 02:41:23.231] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-07 02:41:23.232] [INFO ] REST API running                                        | 📍 main.go:266 | environment: debug | ⚙️ main.main.func1 | port: 8094 | service: service-general
[2026-04-07 02:41:23.232] [INFO ] Registered RolPermission gRPC service                   | 📍 server.go:35 | environment: debug | ⚙️ service/internal/infrastructure/transport/grpc/servers.NewGRPCServer | service: service-general
[2026-04-07 02:41:23.232] [INFO ] Application started successfully                        | 📍 main.go:327 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-07 02:41:23.232] [INFO ] gRPC Server running                                     | 📍 main.go:293 | environment: debug | ⚙️ main.main.func2 | port: 8095 | service: service-general
[2026-04-07 02:41:27.529] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:1 Offset:10 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 02:41:27.533] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 4.041906521s | method: GET | path: /api/v1/roles/master | request_id: f9e7c84d-5d9e-49f4-9a7d-9962a08ddcc0 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 02:41:28.712] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 4.158229ms | method: GET | path: /api/v1/roles/pages/tree | request_id: 86bd23d8-b080-49b9-88f4-487947d6c29b | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 02:41:29.536] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:1 Offset:10 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 02:41:29.538] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.01738ms | method: GET | path: /api/v1/roles/master | request_id: f855610c-9277-48cc-bf0e-64caf0d71c75 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 02:41:47.474] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:1 Offset:10 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 02:41:47.476] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.81159ms | method: GET | path: /api/v1/roles/master | request_id: ae1d77a9-b8ae-4dc3-9695-d0094b6e3b76 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 02:42:21.844] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 819.012µs | method: GET | path: /api/v1/roles/pages | query: page_size=2 | request_id: 7fc00497-20d6-4eea-bd90-77596d49bcc8 | service: service-general | status: 401 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 02:42:25.186] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 1.220048ms | method: POST | path: /api/v1/auth/login | request_id: 975f76ee-005e-446d-a316-bdff9463fcdd | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 02:42:31.036] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 4.06401ms | method: GET | path: /api/v1/roles/pages | query: page_size=2 | request_id: d3a06f8d-05b0-4319-a561-1e528cd1acd5 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 02:43:47.538] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 57.687165ms | method: GET | path: /api/v1/roles/pages/tree | request_id: 1acbcebe-eed7-43d1-9b1a-8d5d0fcc7f89 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 02:43:49.682] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:1 Offset:10 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 02:43:49.684] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.729276ms | method: GET | path: /api/v1/roles/master | request_id: ba6264c0-7d55-46b9-85b1-84c8418f0016 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 02:44:29.231] [INFO ] Application starting                                    | 📍 main.go:75 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-07 02:44:29.231] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:90 | database_count: 3 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-07 02:44:29.231] [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-07 02:44:29.240] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-07 02:44:29.240] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 02:44:29.249] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-07 02:44:29.249] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 02:44:29.269] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-07 02:44:29.269] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 02:44:29.270] [INFO ] Found migration files to execute                        | 📍 database.go:532 | count: 4 | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).runSQLMigrationsForDB | service: service-general
[2026-04-07 02:44:29.271] [DEBUG] Migrations table already exists                         | 📍 database.go:1371 | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).ensureMigrationTable | service: service-general
[2026-04-07 02:44:29.298] [WARNI] Database migration completed with issues                | 📍 main.go:106 | environment: debug | ❌ ERROR: sql migration failed for simrs: migration failed at file internal/infrastructure/database/sql/00001_role_pages.sql: failed to execute SQL command: -- Trigger untuk update updated_at
CREATE OR REPLACE FUNCTION update_updated_at_column()
RETURNS TRIGGER AS $
BEGIN
    NEW.updated_at = CURRENT_TIMESTAMP, error: ERROR: syntax error at or near "$" (SQLSTATE 42601) | ⚙️ main.main | service: service-general
[2026-04-07 02:44:29.301] [INFO ] Cache initialized                                       | 📍 main.go:131 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-07 02:44:29.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/sandbox | service: service-general | static_tokens_len: 4
[2026-04-07 02:44:29.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-07 02:44:29.302] [INFO ] Registered RolPermission gRPC service                   | 📍 server.go:35 | environment: debug | ⚙️ service/internal/infrastructure/transport/grpc/servers.NewGRPCServer | service: service-general
[2026-04-07 02:44:29.302] [INFO ] Application started successfully                        | 📍 main.go:327 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-07 02:44:29.302] [INFO ] REST API running                                        | 📍 main.go:266 | environment: debug | ⚙️ main.main.func1 | port: 8094 | service: service-general
[2026-04-07 02:44:29.302] [INFO ] gRPC Server running                                     | 📍 main.go:293 | environment: debug | ⚙️ main.main.func2 | port: 8095 | service: service-general
[2026-04-07 02:44:56.945] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:1 Offset:10 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 02:44:56.950] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 41.031387ms | method: GET | path: /api/v1/roles/master | request_id: 0fcdba10-5990-4577-8b2f-f76cb338898c | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 02:46:41.199] [INFO ] Application starting                                    | 📍 main.go:75 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-07 02:46:41.199] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:90 | database_count: 3 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-07 02:46:41.199] [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-07 02:46:41.208] [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-07 02:46:41.208] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 02:46:41.216] [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-07 02:46:41.216] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 02:46:41.236] [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-07 02:46:41.236] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 02:46:41.236] [INFO ] Found migration files to execute                        | 📍 database.go:532 | count: 4 | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).runSQLMigrationsForDB | service: service-general
[2026-04-07 02:46:41.237] [WARNI] Database migration completed with issues                | 📍 main.go:106 | environment: debug | ❌ ERROR: sql migration failed for default: failed to ensure migration table: failed to create migrations table: ERROR: no schema has been selected to create in (SQLSTATE 3F000) | ⚙️ main.main | service: service-general
[2026-04-07 02:46:41.240] [INFO ] Cache initialized                                       | 📍 main.go:131 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-07 02:46:41.241] [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/sandbox | service: service-general | static_tokens_len: 4
[2026-04-07 02:46:41.241] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-07 02:46:41.242] [INFO ] REST API running                                        | 📍 main.go:266 | environment: debug | ⚙️ main.main.func1 | port: 8094 | service: service-general
[2026-04-07 02:46:41.242] [INFO ] Registered RolPermission gRPC service                   | 📍 server.go:35 | environment: debug | ⚙️ service/internal/infrastructure/transport/grpc/servers.NewGRPCServer | service: service-general
[2026-04-07 02:46:41.242] [INFO ] Application started successfully                        | 📍 main.go:327 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-07 02:46:41.242] [INFO ] gRPC Server running                                     | 📍 main.go:293 | environment: debug | ⚙️ main.main.func2 | port: 8095 | service: service-general
[2026-04-07 02:47:38.665] [INFO ] Application starting                                    | 📍 main.go:75 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-07 02:47:38.665] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:90 | database_count: 3 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-07 02:47:38.665] [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-07 02:47:38.675] [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-07 02:47:38.676] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 02:47:38.693] [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-07 02:47:38.693] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 02:47:38.701] [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-07 02:47:38.701] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 02:47:38.701] [INFO ] Found migration files to execute                        | 📍 database.go:532 | count: 4 | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).runSQLMigrationsForDB | service: service-general
[2026-04-07 02:47:38.702] [WARNI] Database migration completed with issues                | 📍 main.go:106 | environment: debug | ❌ ERROR: sql migration failed for farmasi: failed to ensure migration table: failed to create migrations table: mssql: Incorrect syntax near 'Migrations'. | ⚙️ main.main | service: service-general
[2026-04-07 02:47:38.704] [INFO ] Cache initialized                                       | 📍 main.go:131 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-07 02:47:38.705] [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/sandbox | service: service-general | static_tokens_len: 4
[2026-04-07 02:47:38.705] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-07 02:47:38.705] [INFO ] REST API running                                        | 📍 main.go:266 | environment: debug | ⚙️ main.main.func1 | port: 8094 | service: service-general
[2026-04-07 02:47:38.706] [INFO ] Registered RolPermission gRPC service                   | 📍 server.go:35 | environment: debug | ⚙️ service/internal/infrastructure/transport/grpc/servers.NewGRPCServer | service: service-general
[2026-04-07 02:47:38.706] [INFO ] Application started successfully                        | 📍 main.go:327 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-07 02:47:38.706] [INFO ] gRPC Server running                                     | 📍 main.go:293 | environment: debug | ⚙️ main.main.func2 | port: 8095 | service: service-general
[2026-04-07 02:47:54.279] [INFO ] Application starting                                    | 📍 main.go:75 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-07 02:47:54.279] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:90 | database_count: 3 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-07 02:47:54.279] [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-07 02:47:54.288] [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-07 02:47:54.288] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 02:47:54.295] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-07 02:47:54.295] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 02:47:54.314] [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-07 02:47:54.314] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 02:47:54.314] [INFO ] Found migration files to execute                        | 📍 database.go:532 | count: 4 | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).runSQLMigrationsForDB | service: service-general
[2026-04-07 02:47:54.315] [DEBUG] Migrations table already exists                         | 📍 database.go:1371 | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).ensureMigrationTable | service: service-general
[2026-04-07 02:47:54.347] [WARNI] Database migration completed with issues                | 📍 main.go:106 | environment: debug | ❌ ERROR: sql migration failed for simrs: migration failed at file internal/infrastructure/database/sql/00001_role_pages.sql: failed to execute SQL command: -- Trigger untuk update updated_at
CREATE OR REPLACE FUNCTION update_updated_at_column()
RETURNS TRIGGER AS $
BEGIN
    NEW.updated_at = CURRENT_TIMESTAMP, error: ERROR: syntax error at or near "$" (SQLSTATE 42601) | ⚙️ main.main | service: service-general
[2026-04-07 02:47:54.349] [INFO ] Cache initialized                                       | 📍 main.go:131 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-07 02:47:54.349] [INFO ] Creating authentication providers                       | auth_type: hybrid | 📍 provider.go:69 | environment: debug | fallback_to: jwt | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | keycloak_enabled: true | keycloak_issuer: https://auth.rssa.top/realms/sandbox | service: service-general | static_tokens_len: 4
[2026-04-07 02:47:54.349] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-07 02:47:54.350] [INFO ] Registered RolPermission gRPC service                   | 📍 server.go:35 | environment: debug | ⚙️ service/internal/infrastructure/transport/grpc/servers.NewGRPCServer | service: service-general
[2026-04-07 02:47:54.350] [INFO ] Application started successfully                        | 📍 main.go:327 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-07 02:47:54.350] [INFO ] REST API running                                        | 📍 main.go:266 | environment: debug | ⚙️ main.main.func1 | port: 8094 | service: service-general
[2026-04-07 02:47:54.350] [INFO ] gRPC Server running                                     | 📍 main.go:293 | environment: debug | ⚙️ main.main.func2 | port: 8095 | service: service-general
[2026-04-07 02:47:58.737] [INFO ] Application starting                                    | 📍 main.go:75 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-07 02:47:58.737] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:90 | database_count: 3 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-07 02:47:58.737] [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-07 02:47:58.749] [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-07 02:47:58.749] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 02:47:58.757] [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-07 02:47:58.757] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 02:47:58.778] [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-07 02:47:58.778] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 02:47:58.778] [INFO ] Found migration files to execute                        | 📍 database.go:532 | count: 4 | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).runSQLMigrationsForDB | service: service-general
[2026-04-07 02:47:58.780] [DEBUG] Migrations table already exists                         | 📍 database.go:1371 | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).ensureMigrationTable | service: service-general
[2026-04-07 02:47:58.810] [WARNI] Database migration completed with issues                | 📍 main.go:106 | environment: debug | ❌ ERROR: sql migration failed for simrs: migration failed at file internal/infrastructure/database/sql/00001_role_pages.sql: failed to execute SQL command: -- Trigger untuk update updated_at
CREATE OR REPLACE FUNCTION update_updated_at_column()
RETURNS TRIGGER AS $
BEGIN
    NEW.updated_at = CURRENT_TIMESTAMP, error: ERROR: syntax error at or near "$" (SQLSTATE 42601) | ⚙️ main.main | service: service-general
[2026-04-07 02:47:58.817] [INFO ] Cache initialized                                       | 📍 main.go:131 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-07 02:47:58.819] [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/sandbox | service: service-general | static_tokens_len: 4
[2026-04-07 02:47:58.819] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-07 02:47:58.820] [INFO ] REST API running                                        | 📍 main.go:266 | environment: debug | ⚙️ main.main.func1 | port: 8094 | service: service-general
[2026-04-07 02:47:58.820] [INFO ] Registered RolPermission gRPC service                   | 📍 server.go:35 | environment: debug | ⚙️ service/internal/infrastructure/transport/grpc/servers.NewGRPCServer | service: service-general
[2026-04-07 02:47:58.820] [INFO ] Application started successfully                        | 📍 main.go:327 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-07 02:47:58.820] [INFO ] gRPC Server running                                     | 📍 main.go:293 | environment: debug | ⚙️ main.main.func2 | port: 8095 | service: service-general
[2026-04-07 02:48:04.220] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 7.749142ms | method: GET | path: /api/v1/roles/pages | query: limit=2 | request_id: a3a90e97-289d-44d5-9eef-879969f996e7 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 02:48:08.647] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 3.152108ms | method: GET | path: /api/v1/roles/pages | query: limit=1 | request_id: fcc2265c-ebf2-4286-aad6-703c4a0dfcd4 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 02:48:24.971] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 4.117196ms | method: GET | path: /api/v1/roles/pages | query: limit=1&offset=2 | request_id: 0a1ba3fc-e7cb-40f8-ac65-17cdd84da9fe | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 02:48:42.371] [INFO ] Built search query                                      | 📍 repository.go:280 | environment: debug | ⚙️ service/internal/master/role/permission.(*repository).Search | request: {Fields:[{Expression:rp.* Alias: WindowFunction:<nil>} {Expression:rm.name Alias:role_master_name WindowFunction:<nil>}] From:role_access.rol_permission Aliases:rp Joins:[{Type:INNER Table:role_access.rol_master Alias:rm OnConditions:{Filters:[{Column:rm.id Operator:_eq Value:rp.role_keycloak Options:map[]}] LogicOp:} Lateral:false}] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:rp.id Order:ASC}] Limit:1 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 02:48:42.375] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 5.271265ms | method: GET | path: /api/v1/roles/permissions | query: sort=id&limit=1&offset | request_id: e4314576-3f80-4cc7-a26d-5028022391a6 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 02:48:46.746] [INFO ] Built search query                                      | 📍 repository.go:280 | environment: debug | ⚙️ service/internal/master/role/permission.(*repository).Search | request: {Fields:[{Expression:rp.* Alias: WindowFunction:<nil>} {Expression:rm.name Alias:role_master_name WindowFunction:<nil>}] From:role_access.rol_permission Aliases:rp Joins:[{Type:INNER Table:role_access.rol_master Alias:rm OnConditions:{Filters:[{Column:rm.id Operator:_eq Value:rp.role_keycloak Options:map[]}] LogicOp:} Lateral:false}] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:rp.id Order:ASC}] Limit:1 Offset:4 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 02:48:46.748] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 2.886137ms | method: GET | path: /api/v1/roles/permissions | query: sort=id&limit=1&offset=5 | request_id: 14dc6132-c570-487f-9665-eee7351b171a | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 02:48:56.994] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:DESC}] Limit:2 Offset:1 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 02:48:56.997] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 3.428536ms | method: GET | path: /api/v1/roles/master | query: sort=-id&limit=1&offset=2 | request_id: 37446a4d-d8a1-4198-944c-49de73afce50 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 02:49:20.321] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:1 Offset:10 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 02:49:20.323] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.705656ms | method: GET | path: /api/v1/roles/master | request_id: 2105f167-527d-4203-bdc8-40a41e3af033 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 02:49:21.607] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:1 Offset:10 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 02:49:21.608] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.097407ms | method: GET | path: /api/v1/roles/master | request_id: cee6988c-fe21-4776-a6e2-ceea2ad581b4 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 02:49:27.170] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:1 Offset:10 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 02:49:27.172] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.169862ms | method: GET | path: /api/v1/roles/master | request_id: a2491085-852b-4529-82a2-25cff918a277 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 02:49:34.496] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:1 Offset:10 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 02:49:34.498] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.596339ms | method: GET | path: /api/v1/roles/master | query: limit=10 | request_id: 579c0cd6-9ef4-49d2-a953-8729dd0cc002 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 02:49:43.025] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:10 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 02:49:43.087] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 62.496497ms | method: GET | path: /api/v1/roles/master | query: limit=10&offset=0 | request_id: 2365e14a-1617-408e-9690-0621197edf94 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 02:50:02.861] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 3.710631ms | method: GET | path: /api/v1/roles/pages | query: filter | request_id: 32c0307d-829d-49a3-a821-767b2ce6f15c | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 02:50:40.626] [DEBUG] Cache hit for Role Pages Search                         | 📍 service.go:102 | environment: debug | ⚙️ service/internal/master/role/pages.(*service).Search | key: role_pages_search_v2:1f043afb20e0da21cfa36724fcb4f9ebdb76f713209a0993cb29ec9d27459918 | service: service-general
[2026-04-07 02:50:40.627] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 944.803µs | method: GET | path: /api/v1/roles/pages | query: limit=1&offset=2 | request_id: 225b4cc1-b7c3-4dd5-846d-fdff52bd6aec | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 02:50:48.256] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 3.023139ms | method: GET | path: /api/v1/roles/pages | query: limit=1&offset=5 | request_id: 736e72cb-5976-4b56-a7b7-6fddd1e0de2a | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 02:50:55.212] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:DESC}] Limit:2 Offset:1 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 02:50:55.214] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 3.001295ms | method: GET | path: /api/v1/roles/master | query: sort=-id&limit=1&offset=2 | request_id: 901759e3-9e9b-4509-ba2c-6c291f49de3b | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 02:51:02.820] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:2 Offset:1 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 02:51:02.822] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.833023ms | method: GET | path: /api/v1/roles/master | query: limit=1&offset=2 | request_id: 5754f503-4da1-4153-a13d-6d23dc3945c0 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 02:51:12.430] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:1 Offset:1 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 02:51:12.432] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.819588ms | method: GET | path: /api/v1/roles/master | query: limit=1 | request_id: 31713fa3-aa69-47ca-b23d-8dcfdc3f9f47 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 02:51:16.135] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:1 Offset:10 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 02:51:16.137] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.708859ms | method: GET | path: /api/v1/roles/master | request_id: c44ae2a9-b7c4-41ea-aebb-f7e283fca120 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 02:51:22.859] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:1 Offset:10 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 02:51:22.861] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.532829ms | method: GET | path: /api/v1/roles/master | request_id: e403af1a-b153-43ff-a618-d3edb7a15613 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 02:51:32.155] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:1 Offset:10 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 02:51:32.156] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.43654ms | method: GET | path: /api/v1/roles/master | query: limit=10 | request_id: 680063f7-b444-4c69-a067-4eb405c40b3d | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 02:51:38.454] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:10 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 02:51:38.456] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.108605ms | method: GET | path: /api/v1/roles/master | query: limit=10&offset=0 | request_id: 255f68c8-915b-4fb6-aa94-547e02d729ec | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 02:51:47.787] [DEBUG] Cache hit for Role Pages Search                         | 📍 service.go:102 | environment: debug | ⚙️ service/internal/master/role/pages.(*service).Search | key: role_pages_search_v2:e05e59c670c74303c12f5d7ecf5f886c195ff8f21cd61b0e6b81d9a1c63d2cc4 | service: service-general
[2026-04-07 02:51:47.788] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 1.108281ms | method: GET | path: /api/v1/roles/pages | request_id: a77727ea-8c20-4f0a-b670-01674c0e1d3d | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 02:51:49.610] [DEBUG] Cache hit for Role Pages Search                         | 📍 service.go:102 | environment: debug | ⚙️ service/internal/master/role/pages.(*service).Search | key: role_pages_search_v2:e05e59c670c74303c12f5d7ecf5f886c195ff8f21cd61b0e6b81d9a1c63d2cc4 | service: service-general
[2026-04-07 02:51:49.611] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 807.006µs | method: GET | path: /api/v1/roles/pages | request_id: e480d260-2918-45b0-bdc5-58d2259fddf4 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 02:51:55.000] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:10 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 02:51:55.002] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 1.935833ms | method: GET | path: /api/v1/roles/master | query: limit=10&offset=0 | request_id: 26666a19-12e4-4ddf-840d-a73e433f1271 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 02:51:57.688] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:DESC}] Limit:10 Offset:10 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 02:51:57.691] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 3.375656ms | method: GET | path: /api/v1/roles/master | query: sort=-id&limit=10&offset=0 | request_id: 06e87bbc-1126-4824-9ab5-5b50f7cc58b6 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 02:52:43.019] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:DESC}] Limit:2 Offset:1 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 02:52:43.021] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 2.438939ms | method: GET | path: /api/v1/roles/master | query: sort=-id&limit=1&offset=2 | request_id: 0d3577ae-8bce-4775-b8a7-f95468870ddf | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 02:52:49.147] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:DESC}] Limit:2 Offset:1 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 02:52:49.149] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 2.290631ms | method: GET | path: /api/v1/roles/master | query: sort=-id&limit=1&offset=2 | request_id: dec4dfda-82b4-439d-97ab-ee04c919ac65 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 02:52:52.131] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:1 Offset:10 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 02:52:52.132] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 2.064492ms | method: GET | path: /api/v1/roles/master | request_id: 2b3f78e9-2797-4b94-bcd9-3145dd46a50d | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 02:53:09.757] [INFO ] Built search query                                      | 📍 repository.go:280 | environment: debug | ⚙️ service/internal/master/role/permission.(*repository).Search | request: {Fields:[{Expression:rp.* Alias: WindowFunction:<nil>} {Expression:rm.name Alias:role_master_name WindowFunction:<nil>}] From:role_access.rol_permission Aliases:rp Joins:[{Type:INNER Table:role_access.rol_master Alias:rm OnConditions:{Filters:[{Column:rm.id Operator:_eq Value:rp.role_keycloak Options:map[]}] LogicOp:} Lateral:false}] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:rp.id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 02:53:09.771] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 14.447037ms | method: GET | path: /api/v1/roles/permissions | request_id: 457d535b-8694-4395-980c-cfcd605fd0fe | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 02:53:24.113] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:1 Offset:1 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 02:53:24.116] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 3.160144ms | method: GET | path: /api/v1/roles/master | query: limit=1 | request_id: 86af6289-8e5d-488b-a3e1-9fa81024927a | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 02:54:59.278] [INFO ] Application starting                                    | 📍 main.go:75 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-07 02:54:59.278] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:90 | database_count: 3 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-07 02:54:59.278] [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-07 02:54:59.299] [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-07 02:54:59.299] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 02:54:59.308] [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-07 02:54:59.308] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 02:54:59.316] [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-07 02:54:59.316] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 02:54:59.317] [INFO ] Found migration files to execute                        | 📍 database.go:532 | count: 4 | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).runSQLMigrationsForDB | service: service-general
[2026-04-07 02:54:59.317] [WARNI] Database migration completed with issues                | 📍 main.go:106 | environment: debug | ❌ ERROR: sql migration failed for farmasi: failed to ensure migration table: failed to create migrations table: mssql: Incorrect syntax near 'Migrations'. | ⚙️ main.main | service: service-general
[2026-04-07 02:54:59.320] [INFO ] Cache initialized                                       | 📍 main.go:131 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-07 02:54:59.321] [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/sandbox | service: service-general | static_tokens_len: 4
[2026-04-07 02:54:59.321] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-07 02:54:59.321] [INFO ] Registered RolPermission gRPC service                   | 📍 server.go:35 | environment: debug | ⚙️ service/internal/infrastructure/transport/grpc/servers.NewGRPCServer | service: service-general
[2026-04-07 02:54:59.321] [INFO ] Application started successfully                        | 📍 main.go:327 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-07 02:54:59.321] [INFO ] REST API running                                        | 📍 main.go:266 | environment: debug | ⚙️ main.main.func1 | port: 8094 | service: service-general
[2026-04-07 02:54:59.322] [INFO ] gRPC Server running                                     | 📍 main.go:293 | environment: debug | ⚙️ main.main.func2 | port: 8095 | service: service-general
[2026-04-07 02:54:59.468] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:1 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 02:54:59.472] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 5.585046ms | method: GET | path: /api/v1/roles/master | query: limit=1 | request_id: f49d21f8-d102-462a-9c40-c13bd26bd738 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 02:55:04.505] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:DESC}] Limit:1 Offset:2 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 02:55:04.508] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 3.905883ms | method: GET | path: /api/v1/roles/master | query: sort=-id&limit=1&offset=2 | request_id: 1de34729-e715-42cb-a6f5-dcc9815ef381 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 02:55:13.649] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:1 Offset:2 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 02:55:13.652] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 3.219164ms | method: GET | path: /api/v1/roles/master | query: limit=1&offset=2 | request_id: c47499c2-290a-421f-a9dd-8646de746062 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 02:55:19.254] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:DESC}] Limit:1 Offset:2 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 02:55:19.257] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 2.518754ms | method: GET | path: /api/v1/roles/master | query: sort=-id&limit=1&offset=2 | request_id: a5a2f4a1-5966-4b27-80d7-323460de8eb2 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 02:55:23.018] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 02:55:23.021] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 3.494967ms | method: GET | path: /api/v1/roles/master | request_id: 5324c6c5-e746-4a8e-bb45-73ea6b1a5456 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 02:55:32.377] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 789.163µs | method: GET | path: /api/v1/roles/master | query: sort=-id&limit=10&offset=0 | request_id: a0f06686-15a3-49e2-b7cf-ae111495d2a7 | service: service-general | status: 401 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 02:55:40.014] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 1.212324ms | method: POST | path: /api/v1/auth/login | request_id: 4e1ba427-fabb-4929-9395-5186d1c4fd03 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 02:55:43.109] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:DESC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 02:55:43.111] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 3.336866ms | method: GET | path: /api/v1/roles/master | query: sort=-id&limit=10&offset=0 | request_id: 053255b4-5579-48c6-94cd-3c1f502468ed | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 02:55:49.144] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:DESC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 02:55:49.146] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.440433ms | method: GET | path: /api/v1/roles/master | query: sort=-id&limit=10&offset=0 | request_id: c5ed1070-ecab-4a2b-82d0-21499874a865 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 02:58:56.691] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 963.912µs | method: GET | path: /api/v1/roles/pages/tree | request_id: 98e200e5-21ac-4f39-9089-f7ba75cc943b | service: service-general | status: 401 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 02:58:56.718] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 609.216µs | method: GET | path: /api/v1/roles/master | request_id: 555403d5-2ad2-4c5f-b4a0-4bda9011dc9e | service: service-general | status: 401 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 02:58:56.974] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 51.991604ms | method: POST | path: /api/v1/auth/refresh | request_id: c6d1240a-fd41-4c76-b09c-f44f12d86d3e | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 02:58:57.921] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 9.845533ms | method: GET | path: /api/v1/auth/info | request_id: 6731f366-6e76-4bab-8ec9-c23a695b881d | service: service-general | status: 200 | user_agent: node
[2026-04-07 02:58:57.988] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 02:58:57.990] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 4.374397ms | method: GET | path: /api/v1/roles/pages/tree | request_id: 6e35bfdf-33df-496f-b25b-75333d288e85 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 02:58:57.998] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 11.910001ms | method: GET | path: /api/v1/roles/master | request_id: fa676221-63ef-46bf-abf2-d1395ad899d6 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 02:59:02.937] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 4.349806ms | method: GET | path: /api/v1/roles/pages/tree | request_id: b35ef8c7-af4e-485e-9b51-5ee218420c89 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 02:59:04.444] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 02:59:04.446] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.570354ms | method: GET | path: /api/v1/roles/master | request_id: 7ed4d899-85b3-473c-89d0-8f74319cd02f | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 02:59:05.439] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.188107ms | method: GET | path: /api/v1/roles/pages/tree | request_id: b977afda-1e1c-4297-8843-d182ed5df5d8 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 02:59:06.380] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 02:59:06.382] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.069014ms | method: GET | path: /api/v1/roles/master | request_id: d22fc26e-3bb5-4843-b642-b47d9b55a696 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 03:03:48.968] [ERROR] Database query failed                                   | 📍 database.go:168 | duration_ms: 3.665035ms | environment: debug | ❌ ERROR: ERROR: null value in column "id" of relation "rol_master" violates not-null constraint (SQLSTATE 23502) | ⚙️ service/internal/infrastructure/database.(*gormLoggerAdapter).Trace | request_id: e19b1bf3-5178-4977-b9cd-e56f27c4f99b | rows: 0 | service: service-general | sql: INSERT INTO "role_access"."rol_master" ("name","active","created_at","updated_at") VALUES ('tes',true,'2026-04-07 03:03:48.966','2026-04-07 03:03:48.966')
[2026-04-07 03:03:48.968] [ERROR] HTTP Request                                            | 📍 middleware.go:173 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 5.155379ms | method: POST | path: /api/v1/roles/master | request_id: e19b1bf3-5178-4977-b9cd-e56f27c4f99b | service: service-general | status: 500 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 03:04:02.262] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 594.874µs | method: POST | path: /api/v1/roles/master | request_id: 211d5b92-4e20-49a1-933c-40ed77e86e84 | service: service-general | status: 400 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 03:04:14.019] [ERROR] Database query failed                                   | 📍 database.go:168 | duration_ms: 8.387968ms | environment: debug | ❌ ERROR: ERROR: null value in column "id" of relation "rol_master" violates not-null constraint (SQLSTATE 23502) | ⚙️ service/internal/infrastructure/database.(*gormLoggerAdapter).Trace | request_id: 2b69cc1c-a19f-42be-9092-54f22bbc1ec1 | rows: 0 | service: service-general | sql: INSERT INTO "role_access"."rol_master" ("name","active","created_at","updated_at") VALUES ('user',true,'2026-04-07 03:04:14.018','2026-04-07 03:04:14.018')
[2026-04-07 03:04:14.019] [ERROR] HTTP Request                                            | 📍 middleware.go:173 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 9.183539ms | method: POST | path: /api/v1/roles/master | request_id: 2b69cc1c-a19f-42be-9092-54f22bbc1ec1 | service: service-general | status: 500 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 03:04:26.665] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:DESC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 03:04:26.669] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 4.959476ms | method: GET | path: /api/v1/roles/master | query: sort=-id&limit=10&offset=0 | request_id: 474d6140-ff4a-4baf-b0e5-9d2e1b218098 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 03:07:23.332] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 683.465µs | method: GET | path: /api/v1/roles/master/1 | request_id: d4ed0665-2fcf-46a1-8761-d5528d5df2bc | service: service-general | status: 401 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 03:07:23.394] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 28.303747ms | method: POST | path: /api/v1/auth/refresh | request_id: 10191477-2ef9-4e29-90f9-b0ce7ce0dd61 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 03:07:23.435] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 618.213µs | method: GET | path: /api/v1/auth/info | request_id: 30b9ee20-988b-40ce-a51b-670a0bf2489b | service: service-general | status: 200 | user_agent: node
[2026-04-07 03:07:23.475] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.485387ms | method: GET | path: /api/v1/roles/master/1 | request_id: 2eea1c14-4cae-4044-b0c8-b4a8c79b98f9 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 03:07:28.254] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 3.727448ms | method: GET | path: /api/v1/roles/pages/tree | request_id: fc508927-7a0e-49bd-80f7-c714b0e6e7cb | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 03:07:29.031] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 03:07:29.034] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 3.926441ms | method: GET | path: /api/v1/roles/master | request_id: 82dbefd9-9bc9-46d7-bfab-ab3de4eb92d4 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 03:07:30.360] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 1.827536ms | method: GET | path: /api/v1/roles/pages/tree | request_id: 53f3127e-74e2-44b9-a697-9ef3573cf0f7 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 03:07:33.556] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 4.459862ms | method: GET | path: /api/v1/roles/pages/1 | request_id: c49959cc-6350-4b5c-8625-28097200e964 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 03:07:36.208] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 25.627µs | method: OPTIONS | path: /api/v1/roles/pages/6 | request_id: 41362627-df8d-483d-a9fe-554afe0efb27 | service: service-general | status: 204 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 03:07:36.221] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 1.934665ms | method: GET | path: /api/v1/roles/pages/6 | request_id: efced35d-c962-4194-a388-192ce22c7a29 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 03:07:36.266] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 24.889µs | method: OPTIONS | path: /api/v1/roles/pages/search | query: name= | request_id: b6c1542e-a57c-4e51-aaea-a790adac269b | service: service-general | status: 204 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 03:07:36.273] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 29.645µs | method: OPTIONS | path: /api/v1/roles/pages/search | query: name= | request_id: 9abe52a6-d750-48bf-81b2-83b811028f6c | service: service-general | status: 204 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 03:07:36.276] [INFO ] Search request                                          | 📍 pages_handler.go:155 | environment: debug | filters: map[] | ⚙️ service/internal/infrastructure/transport/http/handlers/main/master/roles.(*RolPagesHandler).Search | limit: 10 | offset: 0 | request_id: be29cfa8-81ca-45a8-afbf-ea8a9a3bc06e | service: service-general | sorts: []
[2026-04-07 03:07:36.278] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.434689ms | method: GET | path: /api/v1/roles/pages/search | query: name= | request_id: be29cfa8-81ca-45a8-afbf-ea8a9a3bc06e | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 03:07:36.286] [INFO ] Search request                                          | 📍 pages_handler.go:155 | environment: debug | filters: map[] | ⚙️ service/internal/infrastructure/transport/http/handlers/main/master/roles.(*RolPagesHandler).Search | limit: 10 | offset: 0 | request_id: 590f0c07-2250-4ff2-8e64-cde620187244 | service: service-general | sorts: []
[2026-04-07 03:07:36.286] [DEBUG] Cache hit for Role Pages Search                         | 📍 service.go:102 | environment: debug | ⚙️ service/internal/master/role/pages.(*service).Search | key: role_pages_search_v2:e05e59c670c74303c12f5d7ecf5f886c195ff8f21cd61b0e6b81d9a1c63d2cc4 | service: service-general
[2026-04-07 03:07:36.286] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 796.425µs | method: GET | path: /api/v1/roles/pages/search | query: name= | request_id: 590f0c07-2250-4ff2-8e64-cde620187244 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 03:07:38.368] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 1.837334ms | method: GET | path: /api/v1/roles/pages/6 | request_id: 6d132470-8feb-4a8d-9974-e87c07bce13c | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 03:07:38.415] [INFO ] Search request                                          | 📍 pages_handler.go:155 | environment: debug | filters: map[] | ⚙️ service/internal/infrastructure/transport/http/handlers/main/master/roles.(*RolPagesHandler).Search | limit: 10 | offset: 0 | request_id: 1333691a-2df1-4e73-8497-1764b0715080 | service: service-general | sorts: []
[2026-04-07 03:07:38.415] [DEBUG] Cache hit for Role Pages Search                         | 📍 service.go:102 | environment: debug | ⚙️ service/internal/master/role/pages.(*service).Search | key: role_pages_search_v2:e05e59c670c74303c12f5d7ecf5f886c195ff8f21cd61b0e6b81d9a1c63d2cc4 | service: service-general
[2026-04-07 03:07:38.416] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 804.949µs | method: GET | path: /api/v1/roles/pages/search | query: name= | request_id: 1333691a-2df1-4e73-8497-1764b0715080 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 03:07:38.420] [INFO ] Search request                                          | 📍 pages_handler.go:155 | environment: debug | filters: map[] | ⚙️ service/internal/infrastructure/transport/http/handlers/main/master/roles.(*RolPagesHandler).Search | limit: 10 | offset: 0 | request_id: 8e0a169c-00dd-4dce-a44d-acea4b5fb856 | service: service-general | sorts: []
[2026-04-07 03:07:38.420] [DEBUG] Cache hit for Role Pages Search                         | 📍 service.go:102 | environment: debug | ⚙️ service/internal/master/role/pages.(*service).Search | key: role_pages_search_v2:e05e59c670c74303c12f5d7ecf5f886c195ff8f21cd61b0e6b81d9a1c63d2cc4 | service: service-general
[2026-04-07 03:07:38.420] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 750.68µs | method: GET | path: /api/v1/roles/pages/search | query: name= | request_id: 8e0a169c-00dd-4dce-a44d-acea4b5fb856 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 03:07:42.097] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 03:07:42.099] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 3.091498ms | method: GET | path: /api/v1/roles/master | request_id: e3ae5000-80c4-4f50-b2f5-a6fb8cdbccc0 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 03:07:43.485] [DEBUG] Cache hit for Role Permission Tree                      | 📍 service.go:662 | environment: debug | ⚙️ service/internal/master/role/permission.(*service).GetRolePermissionTreeRole | key: permission_tree:1:all | service: service-general
[2026-04-07 03:07:43.486] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 1.064237ms | method: GET | path: /api/v1/roles/permissions/role/1 | request_id: 12e2b5d6-e8b9-405b-9c77-7fd560e4b4d8 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 03:07:57.713] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.20639ms | method: GET | path: /api/v1/roles/pages/tree | request_id: aa3c9b59-3a4e-4c88-9c98-d7f2937c30b1 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 03:08:01.373] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 03:08:01.374] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 1.757234ms | method: GET | path: /api/v1/roles/master | request_id: 3f77002b-1b05-40cd-aa28-ceb7a9550bd5 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 03:08:02.603] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 1.810713ms | method: GET | path: /api/v1/roles/pages/tree | request_id: 0f162f08-d556-4bd6-a74a-6034518260da | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 03:08:05.652] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 03:08:05.699] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 47.825944ms | method: GET | path: /api/v1/roles/master | request_id: 9fa5b5f7-83c3-4878-81a7-bf8644ee630a | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 03:08:06.708] [DEBUG] Cache hit for Role Permission Tree                      | 📍 service.go:662 | environment: debug | ⚙️ service/internal/master/role/permission.(*service).GetRolePermissionTreeRole | key: permission_tree:1:all | service: service-general
[2026-04-07 03:08:06.708] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 835.995µs | method: GET | path: /api/v1/roles/permissions/role/1 | request_id: 3bf7a38a-a3fa-4107-b541-ce78cc7c0243 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 03:09:38.313] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 03:09:38.322] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 10.077012ms | method: GET | path: /api/v1/roles/master | request_id: 84902b4d-ca07-4123-97c6-c8f0d7e01184 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 03:09:39.358] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 23.705µs | method: OPTIONS | path: /api/v1/roles/pages/tree | request_id: 90f58a6d-6e87-4cbd-acf7-e86a62b70e40 | service: service-general | status: 204 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 03:09:39.387] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 3.006977ms | method: GET | path: /api/v1/roles/pages/tree | request_id: 292fafe3-38ac-4742-8817-9c3d95c79550 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 03:09:59.945] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 03:09:59.946] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 1.621119ms | method: GET | path: /api/v1/roles/master | request_id: 5eba499d-ccc6-4844-b98b-2836cc8cf0cb | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 03:10:01.066] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 1.879731ms | method: GET | path: /api/v1/roles/master/1 | request_id: f153c009-9553-4eea-a118-2836a88cbb28 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 03:10:03.041] [DEBUG] Cache hit for Role Permission Tree                      | 📍 service.go:662 | environment: debug | ⚙️ service/internal/master/role/permission.(*service).GetRolePermissionTreeRole | key: permission_tree:1:all | service: service-general
[2026-04-07 03:10:03.041] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 730.911µs | method: GET | path: /api/v1/roles/permissions/role/1 | request_id: 2dc9a459-a0ac-466f-b42b-ed9b22e2ebd9 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 03:10:05.310] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 03:10:05.312] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.356062ms | method: GET | path: /api/v1/roles/master | request_id: 26f24374-b6b0-4c60-b33d-1514180a834e | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 03:10:12.089] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 1.964876ms | method: GET | path: /api/v1/roles/pages/tree | request_id: 0bba66fa-9643-4703-9b1a-0e49f3595b11 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 03:10:26.387] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 03:10:26.388] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 1.964539ms | method: GET | path: /api/v1/roles/master | request_id: 29f38f40-713a-40b1-af0f-7f38ffbe6f15 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 03:10:29.967] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 54.304675ms | method: GET | path: /api/v1/roles/pages/tree | request_id: 201ac209-4a5f-4756-af49-025543fab13c | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 03:11:54.314] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 707.802µs | method: POST | path: /api/v1/roles/master | request_id: c77e01e9-ddb8-4a0a-9277-93e77e8ba963 | service: service-general | status: 401 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 03:11:57.179] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 03:11:57.180] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.09333ms | method: GET | path: /api/v1/roles/master | request_id: 9c90f573-6a56-414a-896a-344ae6c2d05d | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 03:11:57.228] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 335.352µs | method: POST | path: /api/v1/auth/login | request_id: af15251b-323f-448d-b85d-169da02693ed | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 03:11:58.545] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 1.88912ms | method: GET | path: /api/v1/roles/master/1 | request_id: 36d93ba4-20dc-4b2f-a24e-c66a136e155f | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 03:12:00.405] [DEBUG] Cache hit for Role Permission Tree                      | 📍 service.go:662 | environment: debug | ⚙️ service/internal/master/role/permission.(*service).GetRolePermissionTreeRole | key: permission_tree:1:all | service: service-general
[2026-04-07 03:12:00.406] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 662.174µs | method: GET | path: /api/v1/roles/permissions/role/1 | request_id: e54293c4-c74b-4276-84f7-23ea7f8b2b4d | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 03:12:01.161] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 375.574µs | method: POST | path: /api/v1/roles/master | request_id: bbd2b2a2-6d1f-4ab6-93c1-8c68749de5f4 | service: service-general | status: 400 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 03:12:06.606] [ERROR] Database query failed                                   | 📍 database.go:168 | duration_ms: 1.930073ms | environment: debug | ❌ ERROR: ERROR: null value in column "id" of relation "rol_master" violates not-null constraint (SQLSTATE 23502) | ⚙️ service/internal/infrastructure/database.(*gormLoggerAdapter).Trace | request_id: 784b7269-21a3-4414-ba5a-7f7865a8ca4e | rows: 0 | service: service-general | sql: INSERT INTO "role_access"."rol_master" ("name","active","created_at","updated_at") VALUES ('user1',true,'2026-04-07 03:12:06.605','2026-04-07 03:12:06.605')
[2026-04-07 03:12:06.606] [ERROR] HTTP Request                                            | 📍 middleware.go:173 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 2.583802ms | method: POST | path: /api/v1/roles/master | request_id: 784b7269-21a3-4414-ba5a-7f7865a8ca4e | service: service-general | status: 500 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 03:12:10.416] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 1.987509ms | method: GET | path: /api/v1/roles/pages/tree | request_id: f3216de4-bd7c-4d19-b162-713c7d63365d | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 03:12:58.682] [INFO ] Application starting                                    | 📍 main.go:75 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-07 03:12:58.682] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:90 | database_count: 3 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-07 03:12:58.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-07 03:12:58.698] [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-07 03:12:58.698] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 03:12:58.709] [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-07 03:12:58.709] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 03:12:58.717] [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-07 03:12:58.717] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 03:12:58.717] [INFO ] Found migration files to execute                        | 📍 database.go:532 | count: 4 | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).runSQLMigrationsForDB | service: service-general
[2026-04-07 03:12:58.718] [WARNI] Database migration completed with issues                | 📍 main.go:106 | environment: debug | ❌ ERROR: sql migration failed for default: failed to ensure migration table: failed to create migrations table: ERROR: no schema has been selected to create in (SQLSTATE 3F000) | ⚙️ main.main | service: service-general
[2026-04-07 03:12:58.721] [INFO ] Cache initialized                                       | 📍 main.go:131 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-07 03:12:58.722] [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/sandbox | service: service-general | static_tokens_len: 4
[2026-04-07 03:12:58.722] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-07 03:12:58.722] [INFO ] Registered RolPermission gRPC service                   | 📍 server.go:35 | environment: debug | ⚙️ service/internal/infrastructure/transport/grpc/servers.NewGRPCServer | service: service-general
[2026-04-07 03:12:58.722] [INFO ] Application started successfully                        | 📍 main.go:327 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-07 03:12:58.722] [INFO ] gRPC Server running                                     | 📍 main.go:293 | environment: debug | ⚙️ main.main.func2 | port: 8095 | service: service-general
[2026-04-07 03:12:58.722] [INFO ] REST API running                                        | 📍 main.go:266 | environment: debug | ⚙️ main.main.func1 | port: 8094 | service: service-general
[2026-04-07 03:13:00.971] [ERROR] Database query failed                                   | 📍 database.go:168 | duration_ms: 4.175397ms | environment: debug | ❌ ERROR: ERROR: null value in column "id" of relation "rol_master" violates not-null constraint (SQLSTATE 23502) | ⚙️ service/internal/infrastructure/database.(*gormLoggerAdapter).Trace | request_id: 4bd019ea-8d24-4434-b6fa-fcace23d0cbf | rows: 0 | service: service-general | sql: INSERT INTO "role_access"."rol_master" ("name","active","created_at","updated_at") VALUES ('user1',true,'2026-04-07 03:13:00.968','2026-04-07 03:13:00.968')
[2026-04-07 03:13:00.971] [ERROR] HTTP Request                                            | 📍 middleware.go:173 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 5.882953ms | method: POST | path: /api/v1/roles/master | request_id: 4bd019ea-8d24-4434-b6fa-fcace23d0cbf | service: service-general | status: 500 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 03:15:07.062] [ERROR] Database query failed                                   | 📍 database.go:168 | duration_ms: 100.007402ms | environment: debug | ❌ ERROR: ERROR: null value in column "id" of relation "rol_master" violates not-null constraint (SQLSTATE 23502) | ⚙️ service/internal/infrastructure/database.(*gormLoggerAdapter).Trace | request_id: 3f9c053d-f086-4af3-b5a4-d52c24956ca3 | rows: 0 | service: service-general | sql: INSERT INTO "role_access"."rol_master" ("name","active","created_at","updated_at") VALUES ('user1',true,'2026-04-07 03:15:07.012','2026-04-07 03:15:07.012')
[2026-04-07 03:15:07.063] [ERROR] HTTP Request                                            | 📍 middleware.go:173 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 101.007474ms | method: POST | path: /api/v1/roles/master | request_id: 3f9c053d-f086-4af3-b5a4-d52c24956ca3 | service: service-general | status: 500 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 03:15:08.251] [ERROR] Database query failed                                   | 📍 database.go:168 | duration_ms: 95.936187ms | environment: debug | ❌ ERROR: ERROR: null value in column "id" of relation "rol_master" violates not-null constraint (SQLSTATE 23502) | ⚙️ service/internal/infrastructure/database.(*gormLoggerAdapter).Trace | request_id: f9988c4d-6bc0-4753-8360-fc87c4951107 | rows: 0 | service: service-general | sql: INSERT INTO "role_access"."rol_master" ("name","active","created_at","updated_at") VALUES ('user1',true,'2026-04-07 03:15:08.202','2026-04-07 03:15:08.202')
[2026-04-07 03:15:08.251] [ERROR] HTTP Request                                            | 📍 middleware.go:173 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 96.674734ms | method: POST | path: /api/v1/roles/master | request_id: f9988c4d-6bc0-4753-8360-fc87c4951107 | service: service-general | status: 500 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 03:15:14.210] [ERROR] Database query failed                                   | 📍 database.go:168 | duration_ms: 37.743853ms | environment: debug | ❌ ERROR: ERROR: null value in column "id" of relation "rol_master" violates not-null constraint (SQLSTATE 23502) | ⚙️ service/internal/infrastructure/database.(*gormLoggerAdapter).Trace | request_id: 46ac7d9b-5810-4afa-8782-68a19ac28b2a | rows: 0 | service: service-general | sql: INSERT INTO "role_access"."rol_master" ("name","active","created_at","updated_at") VALUES ('user1',true,'2026-04-07 03:15:14.189','2026-04-07 03:15:14.189')
[2026-04-07 03:15:14.210] [ERROR] HTTP Request                                            | 📍 middleware.go:173 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 38.482925ms | method: POST | path: /api/v1/roles/master | request_id: 46ac7d9b-5810-4afa-8782-68a19ac28b2a | service: service-general | status: 500 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 03:16:08.896] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 782.41µs | method: GET | path: /api/v1/roles/master | request_id: c148775b-ccfb-4c55-8f4e-b3eacc5edc23 | service: service-general | status: 401 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 03:16:08.967] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 65.456872ms | method: POST | path: /api/v1/auth/refresh | request_id: 42d5c506-0d26-4646-a1b8-44d80b216ae1 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 03:16:09.014] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 8.187034ms | method: GET | path: /api/v1/auth/info | request_id: 34ac1362-0668-4d4c-9879-726ea0bdfebd | service: service-general | status: 200 | user_agent: node
[2026-04-07 03:16:09.034] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 03:16:09.038] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 4.694694ms | method: GET | path: /api/v1/roles/master | request_id: c526f831-f7cb-4bbf-b1ac-15a8966367bd | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 03:16:33.243] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 4.177506ms | method: GET | path: /api/v1/roles/pages/tree | request_id: b174896b-43d4-41bf-beed-c1c8fb0db5bb | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 03:16:54.157] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 03:16:54.159] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.16718ms | method: GET | path: /api/v1/roles/master | request_id: c0197d11-44c2-4a81-9272-e75cfcef0ca9 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 03:16:57.713] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 8.028624ms | method: GET | path: /api/v1/roles/pages/tree | request_id: 910b3886-c7f3-494e-8a1f-71e5ca1e61e9 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 03:20:12.291] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 816.733µs | method: GET | path: /api/v1/roles/pages/tree | query: active=true | request_id: b817b4c5-3ca6-4b83-b301-c3f9c2a6a72a | service: service-general | status: 401 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 03:20:18.605] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 689.935µs | method: POST | path: /api/v1/auth/login | request_id: 0fac051b-9722-4798-99cb-a4cc77f1f8fb | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 03:20:23.444] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 37.514446ms | method: GET | path: /api/v1/roles/pages/tree | query: active=true | request_id: ba16fa74-7f1f-426f-b934-d3a8d3768cc8 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 03:22:22.255] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 129.24µs | method: OPTIONS | path: /api/v1/roles/pages/tree | query: active= | request_id: 3b5e7fbe-1010-4a53-a870-fcac6d4fc899 | service: service-general | status: 204 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 03:22:22.260] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 677.97µs | method: GET | path: /api/v1/roles/pages/tree | query: active= | request_id: 366fdf88-b047-401b-9430-671e8550ad47 | service: service-general | status: 401 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 03:22:22.294] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 563.205µs | method: GET | path: /api/v1/roles/pages/tree | query: active= | request_id: 1b4b481f-6697-4526-88b8-bfc186b13c37 | service: service-general | status: 401 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 03:22:22.345] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 48.505447ms | method: POST | path: /api/v1/auth/refresh | request_id: 727d557d-0149-446a-bb48-710e727e5230 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 03:22:22.378] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 587.142µs | method: GET | path: /api/v1/auth/info | request_id: accc1d95-b8fa-43b2-a4bf-c8f2a8bfeee5 | service: service-general | status: 200 | user_agent: node
[2026-04-07 03:22:22.397] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 3.633602ms | method: GET | path: /api/v1/roles/pages/tree | query: active= | request_id: e492c977-5b25-4412-abd2-749752fc2cf0 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 03:22:22.402] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 1.706419ms | method: GET | path: /api/v1/roles/pages/tree | query: active= | request_id: cfa2c0db-02fd-4802-9658-4d106b8293da | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 03:22:25.824] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 52.947µs | method: OPTIONS | path: /api/v1/roles/pages/tree | query: active=true | request_id: 7bd19d39-4da2-40c7-935b-b79f52cf8662 | service: service-general | status: 204 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 03:22:25.831] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 1.882164ms | method: GET | path: /api/v1/roles/pages/tree | query: active=true | request_id: 5386c79f-84ea-47ce-9b98-f25a7850a890 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 03:22:28.244] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 21.723µs | method: OPTIONS | path: /api/v1/roles/pages/tree | query: active=false | request_id: 5f773e81-11ab-4da2-8cc5-e9032e3b9d5a | service: service-general | status: 204 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 03:22:28.252] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.260807ms | method: GET | path: /api/v1/roles/pages/tree | query: active=false | request_id: 318e96b9-b7b4-4c69-a0de-576881184dc5 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 03:23:06.732] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 1.83002ms | method: GET | path: /api/v1/roles/pages/tree | query: active= | request_id: 353564db-0e70-4230-9d2d-9f54bd678b7f | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 03:26:43.139] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 10.97118ms | method: GET | path: /api/v1/roles/pages/tree | query: active=true | request_id: ccf7b8ee-06a1-4040-b26f-1b3090ff97fc | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 03:26:44.628] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.70781ms | method: GET | path: /api/v1/roles/pages/tree | query: active=false | request_id: 37b64b54-af0c-4ec0-ae2f-1ad32104cd68 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 03:26:46.262] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 83.219414ms | method: GET | path: /api/v1/roles/pages/tree | query: active= | request_id: 0193e495-f916-4186-8f69-f7294b1cc32c | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 03:26:49.633] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 24.532645ms | method: GET | path: /api/v1/roles/pages/tree | query: active=true | request_id: eb5b4925-0d20-4c45-8a1a-f1808e31c61c | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 03:27:00.623] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 3.065973ms | method: GET | path: /api/v1/roles/pages/tree | query: active=false | request_id: 4b8467fd-53e0-4ba6-a287-c31ff7a3fe7e | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 03:27:02.896] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.074794ms | method: GET | path: /api/v1/roles/pages/tree | query: active= | request_id: fb3c67c2-b65f-4b3e-979a-07e3282a6fdc | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 03:27:11.561] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 03:27:11.564] [ERROR] HTTP Request                                            | 📍 middleware.go:173 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 3.455989ms | method: GET | path: /api/v1/roles/master | request_id: 3ff268ca-dd9f-4e88-9ec5-fd91041cd13c | service: service-general | status: 500 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 03:27:15.245] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 03:27:15.247] [ERROR] HTTP Request                                            | 📍 middleware.go:173 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 3.258183ms | method: GET | path: /api/v1/roles/master | request_id: 9e8d63ce-3f27-46be-a5b0-9af03db743db | service: service-general | status: 500 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 03:27:41.796] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 03:27:41.798] [ERROR] HTTP Request                                            | 📍 middleware.go:173 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.668582ms | method: GET | path: /api/v1/roles/master | request_id: 1ac60e2a-105a-40cd-93be-1ba8a5081e3e | service: service-general | status: 500 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 03:27:53.396] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.998302ms | method: GET | path: /api/v1/roles/pages/tree | query: active=true | request_id: 9daa526c-2ea7-4ae2-8540-7d46c72724ae | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 03:28:00.711] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:DESC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 03:28:00.713] [ERROR] HTTP Request                                            | 📍 middleware.go:173 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.696265ms | method: GET | path: /api/v1/roles/master | query: sort=-id&limit=10&offset=0 | request_id: 01a422e2-b515-4bf1-bf2d-d6e5fc6ce6ff | service: service-general | status: 500 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 03:28:30.631] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.123846ms | method: GET | path: /api/v1/roles/pages/tree | query: active= | request_id: 4c5ac45b-4755-411a-aa99-98d66eaa69b2 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 03:28:55.741] [DEBUG] Cache hit for Role Permission Tree                      | 📍 service.go:662 | environment: debug | ⚙️ service/internal/master/role/permission.(*service).GetRolePermissionTreeRole | key: permission_tree:1:all | service: service-general
[2026-04-07 03:28:55.741] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 892.217µs | method: GET | path: /api/v1/roles/permissions/role/1 | request_id: 25e601fb-f989-4620-bfd0-89a6ed9eb6dd | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 03:29:22.577] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 38.390961ms | method: GET | path: /api/v1/roles/pages/tree | query: active=true | request_id: a36b4da1-fb29-4b87-bc29-d12165d0ee86 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 03:29:24.064] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 1.872189ms | method: GET | path: /api/v1/roles/pages/tree | query: active=false | request_id: e98d4c3c-a166-4908-8841-a28122c5b329 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 03:29:26.219] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 22.368µs | method: OPTIONS | path: /api/v1/roles/pages/2 | request_id: 93eaf6a0-9a66-4fc5-bb6a-3e210a525d91 | service: service-general | status: 204 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 03:29:26.241] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 4.341719ms | method: GET | path: /api/v1/roles/pages/2 | request_id: 25fa0689-f744-4f59-8e86-2146e2cacb15 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 03:29:48.671] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 1.926031ms | method: GET | path: /api/v1/roles/pages/tree | query: active= | request_id: eb78b711-4fbe-453d-8132-f4655269b528 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 03:29:49.947] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 1.999509ms | method: GET | path: /api/v1/roles/pages/tree | query: active=true | request_id: 7abf9565-4b2d-4eec-bbe6-76e2ba1a686f | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 03:30:06.933] [INFO ] Built search query                                      | 📍 repository.go:280 | environment: debug | ⚙️ service/internal/master/role/permission.(*repository).Search | request: {Fields:[{Expression:rp.* Alias: WindowFunction:<nil>} {Expression:rm.name Alias:role_master_name WindowFunction:<nil>}] From:role_access.rol_permission Aliases:rp Joins:[{Type:INNER Table:role_access.rol_master Alias:rm OnConditions:{Filters:[{Column:rm.id Operator:_eq Value:rp.role_keycloak Options:map[]}] LogicOp:} Lateral:false}] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:rp.id Order:ASC}] Limit:1 Offset:4 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 03:30:06.936] [ERROR] HTTP Request                                            | 📍 middleware.go:173 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 3.720157ms | method: GET | path: /api/v1/roles/permissions | query: sort=id&limit=1&offset=5 | request_id: 1f13e607-0f31-4e4b-bb38-5611db9088fe | service: service-general | status: 500 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 03:30:15.163] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 3.249895ms | method: GET | path: /api/v1/roles/pages | request_id: 1503162c-0f5b-4922-b55f-5bee02b79284 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 03:30:22.374] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:DESC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 03:30:22.452] [ERROR] HTTP Request                                            | 📍 middleware.go:173 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 78.256754ms | method: GET | path: /api/v1/roles/master | query: sort=-id&limit=10&offset=0 | request_id: 5393d21f-3c2e-4d4b-b4e2-9eaf681feae0 | service: service-general | status: 500 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 03:32:26.290] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 11.214787ms | method: GET | path: /api/v1/roles/pages/tree | query: active= | request_id: aa38ca52-44f1-4c50-a1ec-55c1f5d58c69 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 03:32:26.984] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 03:32:26.985] [ERROR] HTTP Request                                            | 📍 middleware.go:173 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.279136ms | method: GET | path: /api/v1/roles/master | request_id: 870f4663-1474-485c-bd1c-36421d8e519f | service: service-general | status: 500 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 03:32:38.825] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 553.014µs | method: GET | path: /api/v1/roles/pages/tree | query: active= | request_id: 3fa388d2-6649-421f-aa3c-83d47bb4e5dc | service: service-general | status: 401 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 03:32:38.926] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 29.174497ms | method: POST | path: /api/v1/auth/refresh | request_id: e9c00b0e-5a3d-4f8e-adf9-33ee281d29a9 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 03:32:39.002] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 563.911µs | method: GET | path: /api/v1/auth/info | request_id: e21b054d-5ebc-4293-9a49-b26a9d5e7192 | service: service-general | status: 200 | user_agent: node
[2026-04-07 03:32:39.022] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 3.117625ms | method: GET | path: /api/v1/roles/pages/tree | query: active= | request_id: 8da5d407-0911-453e-b4cc-4369ecd5dc5d | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 03:36:03.587] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 43.688µs | method: OPTIONS | path: /api/v1/roles/pages/1 | request_id: d935f617-29b0-431b-b89f-a5cbf48d2609 | service: service-general | status: 204 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 03:36:03.660] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 55.85944ms | method: GET | path: /api/v1/roles/pages/1 | request_id: c3955ad1-e8d7-4442-a4dd-07dd3a4fd076 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 03:38:40.251] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 966.507µs | method: GET | path: /api/v1/roles/pages/tree | query: active=true | request_id: db1b3683-29e1-443e-9c7d-5905e01b5126 | service: service-general | status: 401 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 03:38:40.315] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 48.016998ms | method: POST | path: /api/v1/auth/refresh | request_id: 4c9eaf05-fe33-4657-b9a9-ebe06318302d | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 03:38:40.346] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 753.3µs | method: GET | path: /api/v1/auth/info | request_id: 756e024d-ade8-4dcc-ac45-a6ba60f0fc9e | service: service-general | status: 200 | user_agent: node
[2026-04-07 03:38:40.375] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 13.649312ms | method: GET | path: /api/v1/roles/pages/tree | query: active=true | request_id: 013f78ae-496d-41ee-902f-063ad0989a13 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 03:38:47.129] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 3.268245ms | method: GET | path: /api/v1/roles/pages/tree | query: active=false | request_id: a90aa691-6f02-4c04-b357-27aa4c4c603b | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 03:38:48.239] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 03:38:48.241] [ERROR] HTTP Request                                            | 📍 middleware.go:173 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.822503ms | method: GET | path: /api/v1/roles/master | request_id: 208d6481-8b38-4c47-9c62-9c7a10281def | service: service-general | status: 500 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 03:38:57.144] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 582.19µs | method: GET | path: /api/v1/roles/master | query: sort=-id&limit=10&offset=0 | request_id: 726dcefc-aee3-4ddc-a683-7bd685634055 | service: service-general | status: 401 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 03:39:03.970] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 405.575µs | method: POST | path: /api/v1/auth/login | request_id: 959c4e7b-c2cc-458f-8218-60305a58d757 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 03:39:07.791] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:DESC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 03:39:07.822] [ERROR] HTTP Request                                            | 📍 middleware.go:173 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 31.46551ms | method: GET | path: /api/v1/roles/master | query: sort=-id&limit=10&offset=0 | request_id: 513bbe3c-a074-415a-ad95-961afb8c1b3d | service: service-general | status: 500 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 03:39:37.574] [ERROR] HTTP Request                                            | 📍 middleware.go:173 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 3.877589ms | method: GET | path: /api/v1/roles/permissions/role/1 | request_id: deadc545-b938-417b-88be-f6b5f152c7b6 | service: service-general | status: 500 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 03:39:44.358] [ERROR] HTTP Request                                            | 📍 middleware.go:173 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 3.212891ms | method: GET | path: /api/v1/roles/permissions/role/1 | request_id: 16a107d5-3d07-4458-9b42-4671c2f87dad | service: service-general | status: 500 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 03:46:25.933] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 912.099µs | method: GET | path: /api/v1/roles/master | request_id: 499320ca-8413-4ca7-806f-72385522f1ff | service: service-general | status: 401 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 03:46:25.974] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 32.048096ms | method: POST | path: /api/v1/auth/refresh | request_id: 7ac31923-fa48-4e48-8e43-52b23385083a | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 03:46:26.030] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 591.798µs | method: GET | path: /api/v1/auth/info | request_id: 5c0cefe8-e3a2-4ef0-92bc-d7203a4fa23e | service: service-general | status: 200 | user_agent: node
[2026-04-07 03:46:26.042] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 03:46:26.053] [ERROR] HTTP Request                                            | 📍 middleware.go:173 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 11.059044ms | method: GET | path: /api/v1/roles/master | request_id: 0ff6bd81-4272-4ff5-91f9-83d3dbf53a26 | service: service-general | status: 500 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 03:46:27.242] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 5.207839ms | method: GET | path: /api/v1/roles/pages/tree | query: active= | request_id: 2a8d4db9-e8bf-41f3-8a77-286a95ea70b3 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 03:46:33.977] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 4.286963ms | method: GET | path: /api/v1/roles/pages/tree | query: active=true | request_id: 3d889e13-d3f0-49d4-9f25-01c804399b4e | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 03:46:36.552] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 3.005719ms | method: GET | path: /api/v1/roles/pages/tree | query: active=false | request_id: a2526704-13a9-4574-a594-dac4c19b1e31 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 03:46:38.558] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 35.488µs | method: OPTIONS | path: /api/v1/roles/pages/3 | request_id: 31cc4b83-5e5d-4373-81ab-8108b144d9c5 | service: service-general | status: 204 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 03:46:38.570] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 4.0876ms | method: GET | path: /api/v1/roles/pages/3 | request_id: 35576c2f-e465-46de-92d7-bdbde1c32587 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 03:47:01.548] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 802.78µs | method: POST | path: /api/v1/roles/master | request_id: 51b6ee11-bdd4-4d21-b920-c4180da1df84 | service: service-general | status: 401 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 03:47:04.822] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 393.905µs | method: POST | path: /api/v1/auth/login | request_id: 276ff70a-9bfb-4a87-add5-88dcbebed9b0 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 03:47:10.572] [ERROR] Database query failed                                   | 📍 database.go:168 | duration_ms: 3.092255ms | environment: debug | ❌ ERROR: ERROR: permission denied for table rol_master (SQLSTATE 42501) | ⚙️ service/internal/infrastructure/database.(*gormLoggerAdapter).Trace | request_id: fcce785f-87fb-4fe0-8190-43be9334e9f1 | rows: 0 | service: service-general | sql: INSERT INTO "role_access"."rol_master" ("name","active","created_at","updated_at") VALUES ('user1',true,'2026-04-07 03:47:10.57','2026-04-07 03:47:10.57')
[2026-04-07 03:47:10.572] [ERROR] HTTP Request                                            | 📍 middleware.go:173 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 3.882592ms | method: POST | path: /api/v1/roles/master | request_id: fcce785f-87fb-4fe0-8190-43be9334e9f1 | service: service-general | status: 500 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 03:48:01.973] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.868414ms | method: GET | path: /api/v1/roles/pages/tree | query: active=true | request_id: 1622fb50-7b27-4aea-9435-8316b919bcd1 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 03:48:03.996] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.53206ms | method: GET | path: /api/v1/roles/pages/tree | query: active= | request_id: 23d49d7b-6eb3-4397-99b3-40d630394a08 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 03:48:09.708] [INFO ] Search request                                          | 📍 pages_handler.go:155 | environment: debug | filters: map[] | ⚙️ service/internal/infrastructure/transport/http/handlers/main/master/roles.(*RolPagesHandler).Search | limit: 10 | offset: 0 | request_id: 4b12b6c9-69f0-43b8-9271-8ed03a68d81c | service: service-general | sorts: []
[2026-04-07 03:48:09.711] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 3.598439ms | method: GET | path: /api/v1/roles/pages/search | query: name= | request_id: 4b12b6c9-69f0-43b8-9271-8ed03a68d81c | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 03:49:48.248] [DEBUG] Database query executed                                 | 📍 database.go:174 | duration_ms: 3.208909ms | environment: debug | ⚙️ service/internal/infrastructure/database.(*gormLoggerAdapter).Trace | request_id: bb53bab4-0445-41ec-a378-9149417292ec | rows: 1 | service: service-general | sql: INSERT INTO "role_access"."rol_master" ("name","active","created_at","updated_at") VALUES ('user1',true,'2026-04-07 03:49:48.246','2026-04-07 03:49:48.246')
[2026-04-07 03:49:48.249] [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/roles/master | request_id: req_1775533788244335641 | service: service-general
[2026-04-07 03:50:00.093] [DEBUG] Database query executed                                 | 📍 database.go:174 | duration_ms: 2.532684ms | environment: debug | ⚙️ service/internal/infrastructure/database.(*gormLoggerAdapter).Trace | request_id: a6448dae-35b5-451e-a604-05d75066fa7a | rows: 1 | service: service-general | sql: INSERT INTO "role_access"."rol_master" ("name","active","created_at","updated_at") VALUES ('user1',true,'2026-04-07 03:50:00.092','2026-04-07 03:50:00.092')
[2026-04-07 03:50:00.093] [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/roles/master | request_id: req_1775533800090311527 | service: service-general
[2026-04-07 03:50:03.042] [DEBUG] Database query executed                                 | 📍 database.go:174 | duration_ms: 2.851532ms | environment: debug | ⚙️ service/internal/infrastructure/database.(*gormLoggerAdapter).Trace | request_id: a8fc6da4-5256-4c6e-a268-3e421823c01a | rows: 1 | service: service-general | sql: INSERT INTO "role_access"."rol_master" ("name","active","created_at","updated_at") VALUES ('user1',true,'2026-04-07 03:50:03.041','2026-04-07 03:50:03.041')
[2026-04-07 03:50:03.043] [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/roles/master | request_id: req_1775533803039593953 | service: service-general
[2026-04-07 03:50:13.869] [INFO ] Search request                                          | 📍 pages_handler.go:155 | environment: debug | filters: map[] | ⚙️ service/internal/infrastructure/transport/http/handlers/main/master/roles.(*RolPagesHandler).Search | limit: 10 | offset: 0 | request_id: ff8bb5c1-33b1-4ee1-af3c-64d7f0c79132 | service: service-general | sorts: []
[2026-04-07 03:50:13.869] [DEBUG] Cache hit for Role Pages Search                         | 📍 service.go:102 | environment: debug | ⚙️ service/internal/master/role/pages.(*service).Search | key: role_pages_search_v2:e05e59c670c74303c12f5d7ecf5f886c195ff8f21cd61b0e6b81d9a1c63d2cc4 | service: service-general
[2026-04-07 03:50:13.869] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 1.120069ms | method: GET | path: /api/v1/roles/pages/search | query: name= | request_id: ff8bb5c1-33b1-4ee1-af3c-64d7f0c79132 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 03:50:16.716] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 27.696µs | method: OPTIONS | path: /api/v1/roles/pages/search | query: name=Menu+3 | request_id: b2195929-77ff-4ef9-8ce9-d05bed5004ef | service: service-general | status: 204 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 03:50:16.723] [INFO ] Search request                                          | 📍 pages_handler.go:155 | environment: debug | filters: map[name:Menu 3] | ⚙️ service/internal/infrastructure/transport/http/handlers/main/master/roles.(*RolPagesHandler).Search | limit: 10 | offset: 0 | request_id: 61dcf4e4-a81b-4c5d-bd42-0c7d41f66dde | service: service-general | sorts: []
[2026-04-07 03:50:16.727] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 4.716555ms | method: GET | path: /api/v1/roles/pages/search | query: name=Menu+3 | request_id: 61dcf4e4-a81b-4c5d-bd42-0c7d41f66dde | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 03:50:22.984] [INFO ] Search request                                          | 📍 pages_handler.go:155 | environment: debug | filters: map[] | ⚙️ service/internal/infrastructure/transport/http/handlers/main/master/roles.(*RolPagesHandler).Search | limit: 10 | offset: 0 | request_id: ac6671f7-1462-471c-8922-d7b961b29037 | service: service-general | sorts: []
[2026-04-07 03:50:22.984] [DEBUG] Cache hit for Role Pages Search                         | 📍 service.go:102 | environment: debug | ⚙️ service/internal/master/role/pages.(*service).Search | key: role_pages_search_v2:e05e59c670c74303c12f5d7ecf5f886c195ff8f21cd61b0e6b81d9a1c63d2cc4 | service: service-general
[2026-04-07 03:50:22.984] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 896.304µs | method: GET | path: /api/v1/roles/pages/search | query: name= | request_id: ac6671f7-1462-471c-8922-d7b961b29037 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 03:50:25.187] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 40.484µs | method: OPTIONS | path: /api/v1/roles/pages/search | query: name=inde | request_id: d1f1c683-51d4-4050-90dd-f38809460c19 | service: service-general | status: 204 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 03:50:25.196] [INFO ] Search request                                          | 📍 pages_handler.go:155 | environment: debug | filters: map[name:inde] | ⚙️ service/internal/infrastructure/transport/http/handlers/main/master/roles.(*RolPagesHandler).Search | limit: 10 | offset: 0 | request_id: 7c66a0be-ca20-40d4-b111-b56e5bc1f0ed | service: service-general | sorts: []
[2026-04-07 03:50:25.199] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 3.222279ms | method: GET | path: /api/v1/roles/pages/search | query: name=inde | request_id: 7c66a0be-ca20-40d4-b111-b56e5bc1f0ed | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 03:50:25.728] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 37.251µs | method: OPTIONS | path: /api/v1/roles/pages/search | query: name=index | request_id: 73354ced-53b9-4803-b7f3-55c3a774b63e | service: service-general | status: 204 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 03:50:25.737] [INFO ] Search request                                          | 📍 pages_handler.go:155 | environment: debug | filters: map[name:index] | ⚙️ service/internal/infrastructure/transport/http/handlers/main/master/roles.(*RolPagesHandler).Search | limit: 10 | offset: 0 | request_id: 293e23e5-9680-4695-99eb-72f00777ccae | service: service-general | sorts: []
[2026-04-07 03:50:25.739] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 3.107006ms | method: GET | path: /api/v1/roles/pages/search | query: name=index | request_id: 293e23e5-9680-4695-99eb-72f00777ccae | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 03:50:27.166] [INFO ] Search request                                          | 📍 pages_handler.go:155 | environment: debug | filters: map[] | ⚙️ service/internal/infrastructure/transport/http/handlers/main/master/roles.(*RolPagesHandler).Search | limit: 10 | offset: 0 | request_id: 5422ec02-d12f-45e6-bd78-981090795c1c | service: service-general | sorts: []
[2026-04-07 03:50:27.167] [DEBUG] Cache hit for Role Pages Search                         | 📍 service.go:102 | environment: debug | ⚙️ service/internal/master/role/pages.(*service).Search | key: role_pages_search_v2:e05e59c670c74303c12f5d7ecf5f886c195ff8f21cd61b0e6b81d9a1c63d2cc4 | service: service-general
[2026-04-07 03:50:27.167] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 782.598µs | method: GET | path: /api/v1/roles/pages/search | query: name= | request_id: 5422ec02-d12f-45e6-bd78-981090795c1c | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 03:50:30.334] [DEBUG] Database query executed                                 | 📍 database.go:174 | duration_ms: 1.538724ms | environment: debug | ⚙️ service/internal/infrastructure/database.(*gormLoggerAdapter).Trace | rows: -1 | service: service-general | sql: SELECT DB_NAME(), @@VERSION, SYSTEM_USER
[2026-04-07 03:50:30.343] [DEBUG] Database query executed                                 | 📍 database.go:174 | duration_ms: 875.561µs | environment: debug | ⚙️ service/internal/infrastructure/database.(*gormLoggerAdapter).Trace | rows: -1 | service: service-general | sql: SELECT current_database(), version(), current_user
[2026-04-07 03:50:30.345] [DEBUG] Database query executed                                 | 📍 database.go:174 | duration_ms: 1.080394ms | environment: debug | ⚙️ service/internal/infrastructure/database.(*gormLoggerAdapter).Trace | rows: -1 | service: service-general | sql: SELECT current_database(), version(), current_user
[2026-04-07 03:50:30.345] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 87.207412ms | method: GET | path: /health/database | request_id: 0834efe1-f42c-4e49-85a0-67038a8bf2f2 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 03:50:36.730] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 519.374µs | method: GET | path: /health | request_id: 2de74d8a-626a-400b-80db-d050c20397f4 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 03:50:39.507] [INFO ] Search request                                          | 📍 pages_handler.go:155 | environment: debug | filters: map[name:p] | ⚙️ service/internal/infrastructure/transport/http/handlers/main/master/roles.(*RolPagesHandler).Search | limit: 10 | offset: 0 | request_id: c1cb15da-7e81-4340-91d7-3e46e056870d | service: service-general | sorts: []
[2026-04-07 03:50:39.509] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 3.433915ms | method: GET | path: /api/v1/roles/pages/search | query: name=p | request_id: c1cb15da-7e81-4340-91d7-3e46e056870d | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 03:50:45.452] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 03:50:45.478] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 25.77758ms | method: GET | path: /api/v1/roles/master | request_id: 88ada965-116e-4c00-b9da-0011f7d4a3e6 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 03:50:47.066] [INFO ] Search request                                          | 📍 pages_handler.go:155 | environment: debug | filters: map[name:index] | ⚙️ service/internal/infrastructure/transport/http/handlers/main/master/roles.(*RolPagesHandler).Search | limit: 10 | offset: 0 | request_id: 39be88fd-2803-47dd-a3b8-e0d41b7a7c90 | service: service-general | sorts: []
[2026-04-07 03:50:47.067] [DEBUG] Cache hit for Role Pages Search                         | 📍 service.go:102 | environment: debug | ⚙️ service/internal/master/role/pages.(*service).Search | key: role_pages_search_v2:2d5f22e06c91b2252995f300e1e9b67dd9139ac1f8bdf6681e0535a8e7195a9b | service: service-general
[2026-04-07 03:50:47.067] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 615.949µs | method: GET | path: /api/v1/roles/pages/search | query: name=index | request_id: 39be88fd-2803-47dd-a3b8-e0d41b7a7c90 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 03:50:49.579] [INFO ] Built search query                                      | 📍 repository.go:280 | environment: debug | ⚙️ service/internal/master/role/permission.(*repository).Search | request: {Fields:[{Expression:rp.* Alias: WindowFunction:<nil>} {Expression:rm.name Alias:role_master_name WindowFunction:<nil>}] From:role_access.rol_permission Aliases:rp Joins:[{Type:INNER Table:role_access.rol_master Alias:rm OnConditions:{Filters:[{Column:rm.id Operator:_eq Value:rp.role_keycloak Options:map[]}] LogicOp:} Lateral:false}] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:rp.id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 03:50:49.623] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 45.041582ms | method: GET | path: /api/v1/roles/permissions | request_id: 89879477-698b-4404-8709-a31541f12b59 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 03:50:52.927] [DEBUG] Database query executed                                 | 📍 database.go:174 | duration_ms: 3.339147ms | environment: debug | ⚙️ service/internal/infrastructure/database.(*gormLoggerAdapter).Trace | request_id: 95a76a78-efbd-4c3e-b35e-2435a25a550f | rows: 1 | service: service-general | sql: INSERT INTO "role_access"."rol_master" ("name","active","created_at","updated_at") VALUES ('user1',true,'2026-04-07 03:50:52.925','2026-04-07 03:50:52.925')
[2026-04-07 03:50:52.927] [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/roles/master | request_id: req_1775533852923350005 | service: service-general
[2026-04-07 03:50:53.320] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 03:50:53.369] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 49.230099ms | method: GET | path: /api/v1/roles/master | request_id: 20152239-d6d7-425e-828d-c12c0ed7b344 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 03:51:01.826] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 03:51:01.828] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.557338ms | method: GET | path: /api/v1/roles/master | request_id: 6b7ed89e-8173-47ac-92e4-04e6ad43afe1 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 03:51:09.261] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 27.581µs | method: OPTIONS | path: /api/v1/roles/master/4 | request_id: c00b54c9-7630-45b9-b49f-fce57128d765 | service: service-general | status: 204 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 03:51:09.272] [ERROR] HTTP Request                                            | 📍 middleware.go:173 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 3.241774ms | method: DELETE | path: /api/v1/roles/master/4 | request_id: cd39e229-7a55-456a-9773-31cf6edbd085 | service: service-general | status: 500 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 03:51:19.953] [ERROR] HTTP Request                                            | 📍 middleware.go:173 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.126439ms | method: DELETE | path: /api/v1/roles/master/4 | request_id: d1ae8659-b890-4481-9768-1fe7f5ffbfdf | service: service-general | status: 500 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 03:51:52.017] [DEBUG] Database query executed                                 | 📍 database.go:174 | duration_ms: 8.492466ms | environment: debug | ⚙️ service/internal/infrastructure/database.(*gormLoggerAdapter).Trace | request_id: 37c798aa-2a80-4865-a6cd-d18c47d6dc8a | rows: 1 | service: service-general | sql: INSERT INTO "role_access"."rol_master" ("name","active","created_at","updated_at") VALUES ('user1',true,'2026-04-07 03:51:52.015','2026-04-07 03:51:52.015')
[2026-04-07 03:51:52.017] [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/roles/master | request_id: req_1775533912008585870 | service: service-general
[2026-04-07 03:53:26.107] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 59.975µs | method: OPTIONS | path: /api/v1/roles/master | request_id: 2809acf4-3226-4381-9c98-2970ea7c2d6a | service: service-general | status: 204 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 03:53:26.144] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 706.588µs | method: POST | path: /api/v1/roles/master | request_id: 85100c26-fa48-453f-9541-a70c4a99b9ac | service: service-general | status: 401 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 03:53:30.341] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 4.032549017s | method: POST | path: /api/v1/auth/refresh | request_id: 515af417-3ac2-4480-b42d-188b5502d29e | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 03:53:30.754] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 509.902µs | method: GET | path: /api/v1/auth/info | request_id: 2eb6ac5f-0f08-418a-b923-7e93528fa105 | service: service-general | status: 200 | user_agent: node
[2026-04-07 03:53:30.861] [DEBUG] Database query executed                                 | 📍 database.go:174 | duration_ms: 1.833031ms | environment: debug | ⚙️ service/internal/infrastructure/database.(*gormLoggerAdapter).Trace | request_id: 1d921f56-99cc-4f20-b710-f392054d3b2e | rows: 1 | service: service-general | sql: INSERT INTO "role_access"."rol_master" ("name","active","created_at","updated_at") VALUES ('tes',true,'2026-04-07 03:53:30.86','2026-04-07 03:53:30.86')
[2026-04-07 03:53:30.861] [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/roles/master | request_id: req_1775534010858999111 | service: service-general
[2026-04-07 03:53:49.803] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 4.666307ms | method: GET | path: /api/v1/roles/permissions/role/1 | request_id: 3d751721-a0cb-42f8-be0c-f0da00cacf53 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 03:54:00.876] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 03:54:00.880] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 4.879663ms | method: GET | path: /api/v1/roles/master | request_id: fd7fb2d8-0e62-445f-8bf7-29a0b5196246 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 03:54:06.208] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 03:54:06.210] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.168744ms | method: GET | path: /api/v1/roles/master | request_id: aace2fe4-ac49-4701-b577-9f9b8a3e255a | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 03:54:12.478] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 27.912798ms | method: GET | path: /api/v1/roles/master/1 | request_id: bc483518-96c0-4cce-ad81-b8b293e0d15f | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 03:54:40.713] [INFO ] Application starting                                    | 📍 main.go:75 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-07 03:54:40.713] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:90 | database_count: 3 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-07 03:54:40.713] [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-07 03:54:40.721] [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-07 03:54:40.721] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 03:54:40.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-07 03:54:40.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-07 03:54:40.747] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-07 03:54:40.748] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 03:54:40.748] [INFO ] Found migration files to execute                        | 📍 database.go:532 | count: 4 | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).runSQLMigrationsForDB | service: service-general
[2026-04-07 03:54:40.749] [DEBUG] Migrations table already exists                         | 📍 database.go:1371 | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).ensureMigrationTable | service: service-general
[2026-04-07 03:54:40.777] [WARNI] Database migration completed with issues                | 📍 main.go:106 | environment: debug | ❌ ERROR: sql migration failed for simrs: migration failed at file internal/infrastructure/database/sql/00001_role_pages.sql: failed to execute SQL command: -- Trigger untuk update updated_at
CREATE OR REPLACE FUNCTION update_updated_at_column()
RETURNS TRIGGER AS $
BEGIN
    NEW.updated_at = CURRENT_TIMESTAMP, error: ERROR: syntax error at or near "$" (SQLSTATE 42601) | ⚙️ main.main | service: service-general
[2026-04-07 03:54:40.778] [INFO ] Cache initialized                                       | 📍 main.go:131 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-07 03:54:40.779] [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/sandbox | service: service-general | static_tokens_len: 4
[2026-04-07 03:54:40.779] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-07 03:54:40.779] [INFO ] Registered RolPermission gRPC service                   | 📍 server.go:35 | environment: debug | ⚙️ service/internal/infrastructure/transport/grpc/servers.NewGRPCServer | service: service-general
[2026-04-07 03:54:40.779] [INFO ] Application started successfully                        | 📍 main.go:327 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-07 03:54:40.779] [INFO ] gRPC Server running                                     | 📍 main.go:293 | environment: debug | ⚙️ main.main.func2 | port: 8095 | service: service-general
[2026-04-07 03:54:40.779] [INFO ] REST API running                                        | 📍 main.go:266 | environment: debug | ⚙️ main.main.func1 | port: 8094 | service: service-general
[2026-04-07 03:54:41.748] [INFO ] Application starting                                    | 📍 main.go:75 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-07 03:54:41.748] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:90 | database_count: 3 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-07 03:54:41.748] [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-07 03:54:41.770] [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-07 03:54:41.770] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 03:54:41.777] [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-07 03:54:41.777] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 03:54:41.785] [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-07 03:54:41.785] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 03:54:41.785] [INFO ] Found migration files to execute                        | 📍 database.go:532 | count: 4 | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).runSQLMigrationsForDB | service: service-general
[2026-04-07 03:54:41.786] [WARNI] Database migration completed with issues                | 📍 main.go:106 | environment: debug | ❌ ERROR: sql migration failed for default: failed to ensure migration table: failed to create migrations table: ERROR: no schema has been selected to create in (SQLSTATE 3F000) | ⚙️ main.main | service: service-general
[2026-04-07 03:54:41.788] [INFO ] Cache initialized                                       | 📍 main.go:131 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-07 03:54:41.788] [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/sandbox | service: service-general | static_tokens_len: 4
[2026-04-07 03:54:41.788] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-07 03:54:41.788] [INFO ] Registered RolPermission gRPC service                   | 📍 server.go:35 | environment: debug | ⚙️ service/internal/infrastructure/transport/grpc/servers.NewGRPCServer | service: service-general
[2026-04-07 03:54:41.788] [INFO ] REST API running                                        | 📍 main.go:266 | environment: debug | ⚙️ main.main.func1 | port: 8094 | service: service-general
[2026-04-07 03:54:41.789] [INFO ] Application started successfully                        | 📍 main.go:327 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-07 03:54:41.789] [INFO ] gRPC Server running                                     | 📍 main.go:293 | environment: debug | ⚙️ main.main.func2 | port: 8095 | service: service-general
[2026-04-07 03:54:46.046] [INFO ] Application starting                                    | 📍 main.go:75 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-07 03:54:46.046] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:90 | database_count: 3 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-07 03:54:46.046] [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-07 03:54:46.070] [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-07 03:54:46.070] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 03:54:46.079] [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-07 03:54:46.079] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 03:54:46.086] [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-07 03:54:46.086] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 03:54:46.086] [INFO ] Found migration files to execute                        | 📍 database.go:532 | count: 4 | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).runSQLMigrationsForDB | service: service-general
[2026-04-07 03:54:46.087] [WARNI] Database migration completed with issues                | 📍 main.go:106 | environment: debug | ❌ ERROR: sql migration failed for farmasi: failed to ensure migration table: failed to create migrations table: mssql: Incorrect syntax near 'Migrations'. | ⚙️ main.main | service: service-general
[2026-04-07 03:54:46.089] [INFO ] Cache initialized                                       | 📍 main.go:131 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-07 03:54:46.090] [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/sandbox | service: service-general | static_tokens_len: 4
[2026-04-07 03:54:46.090] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-07 03:54:46.091] [INFO ] Registered RolPermission gRPC service                   | 📍 server.go:35 | environment: debug | ⚙️ service/internal/infrastructure/transport/grpc/servers.NewGRPCServer | service: service-general
[2026-04-07 03:54:46.091] [INFO ] Application started successfully                        | 📍 main.go:327 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-07 03:54:46.091] [INFO ] REST API running                                        | 📍 main.go:266 | environment: debug | ⚙️ main.main.func1 | port: 8094 | service: service-general
[2026-04-07 03:54:46.091] [INFO ] gRPC Server running                                     | 📍 main.go:293 | environment: debug | ⚙️ main.main.func2 | port: 8095 | service: service-general
[2026-04-07 03:55:26.903] [DEBUG] Database query executed                                 | 📍 database.go:174 | duration_ms: 5.747254ms | environment: debug | ⚙️ service/internal/infrastructure/database.(*gormLoggerAdapter).Trace | request_id: e54f108f-f59b-493e-b6d9-280fc6ae14d3 | rows: 1 | service: service-general | sql: INSERT INTO "role_access"."rol_master" ("name","active","created_at","updated_at") VALUES ('user2',true,'2026-04-07 03:55:26.899','2026-04-07 03:55:26.899') RETURNING "id"
[2026-04-07 03:55:26.905] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 9.192193ms | method: POST | path: /api/v1/roles/master | request_id: e54f108f-f59b-493e-b6d9-280fc6ae14d3 | service: service-general | status: 201 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 03:55:40.044] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 03:55:40.047] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 3.925064ms | method: GET | path: /api/v1/roles/master | request_id: 0d8e5941-d185-4671-9499-c730f6da05bc | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 03:56:23.228] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 523.673µs | method: PUT | path: /api/v1/roles/master/7 | request_id: 499498ea-6dc3-47c3-aaf7-250997dedc7f | service: service-general | status: 400 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 03:56:35.086] [DEBUG] Database query executed                                 | 📍 database.go:174 | duration_ms: 1.700521ms | environment: debug | ⚙️ service/internal/infrastructure/database.(*gormLoggerAdapter).Trace | request_id: e260381e-8043-4a02-9b0e-27801e9913f0 | rows: 1 | service: service-general | sql: UPDATE "role_access"."rol_master" SET "name"='user admin',"active"=true,"created_at"=NULL,"updated_at"='2026-04-07 03:56:35.084' WHERE "id" = 7
[2026-04-07 03:56:35.086] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 3.578112ms | method: PUT | path: /api/v1/roles/master/7 | request_id: e260381e-8043-4a02-9b0e-27801e9913f0 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 03:56:41.666] [DEBUG] Database query executed                                 | 📍 database.go:174 | duration_ms: 2.053303ms | environment: debug | ⚙️ service/internal/infrastructure/database.(*gormLoggerAdapter).Trace | request_id: 05b2e778-d67d-42b6-9ba4-475e5f06a3ff | rows: 1 | service: service-general | sql: DELETE FROM "role_access"."rol_master" WHERE "rol_master"."id" = 8
[2026-04-07 03:56:41.666] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 4.119371ms | method: DELETE | path: /api/v1/roles/master/8 | request_id: 05b2e778-d67d-42b6-9ba4-475e5f06a3ff | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 03:57:24.791] [DEBUG] Cache hit for Role Permission Tree                      | 📍 service.go:662 | environment: debug | ⚙️ service/internal/master/role/permission.(*service).GetRolePermissionTreeRole | key: permission_tree:1:all | service: service-general
[2026-04-07 03:57:24.791] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 98.334914ms | method: GET | path: /api/v1/roles/permissions/role/1 | request_id: 8850873e-e8dc-4030-8f88-4455d279431b | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 03:57:27.752] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 03:57:27.754] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.381668ms | method: GET | path: /api/v1/roles/master | request_id: 7e97faad-d426-4591-822b-dbdecefa6677 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 03:57:30.544] [DEBUG] Cache hit for Role Permission Tree                      | 📍 service.go:662 | environment: debug | ⚙️ service/internal/master/role/permission.(*service).GetRolePermissionTreeRole | key: permission_tree:1:all | service: service-general
[2026-04-07 03:57:30.544] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 747.718µs | method: GET | path: /api/v1/roles/permissions/role/1 | request_id: 78074a0f-d338-4fc3-a7b3-3bfd971a799f | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 03:58:53.002] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 1.036385ms | method: GET | path: /api/v1/roles/master | request_id: 0f3f8107-a7d0-46f3-8971-56b7c221584e | service: service-general | status: 401 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 03:58:53.067] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 52.576631ms | method: POST | path: /api/v1/auth/refresh | request_id: c2fff5f3-a9dc-4f46-a929-673df3f88bba | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 03:58:53.104] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 642.962µs | method: GET | path: /api/v1/auth/info | request_id: f8cf276c-69d0-4cd6-a878-f069feb8498c | service: service-general | status: 200 | user_agent: node
[2026-04-07 03:58:53.129] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 03:58:53.130] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.217947ms | method: GET | path: /api/v1/roles/master | request_id: 061e32f7-c4ca-4763-b515-e8a157099b2a | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 03:58:54.881] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 4.236462ms | method: GET | path: /api/v1/roles/pages/tree | query: active= | request_id: 33579944-9119-4497-8fe4-1a8dad665bbe | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 03:58:56.501] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 03:58:56.504] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.951881ms | method: GET | path: /api/v1/roles/master | request_id: e7cb911b-a1d7-4285-a746-802fe6f015f4 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 03:59:00.829] [DEBUG] Cache hit for Role Permission Tree                      | 📍 service.go:662 | environment: debug | ⚙️ service/internal/master/role/permission.(*service).GetRolePermissionTreeRole | key: permission_tree:1:all | service: service-general
[2026-04-07 03:59:00.829] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 749.151µs | method: GET | path: /api/v1/roles/permissions/role/1 | request_id: 7c2c36e3-21cc-4ece-8bb6-bb7b04d49a05 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 04:05:10.972] [INFO ] Application starting                                    | 📍 main.go:75 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-07 04:05:10.972] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:90 | database_count: 3 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-07 04:05:10.972] [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-07 04:05:10.983] [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-07 04:05:10.983] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 04:05:10.991] [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-07 04:05:10.991] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 04:05:11.011] [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-07 04:05:11.011] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 04:05:11.012] [INFO ] Found migration files to execute                        | 📍 database.go:532 | count: 4 | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).runSQLMigrationsForDB | service: service-general
[2026-04-07 04:05:11.013] [DEBUG] Migrations table already exists                         | 📍 database.go:1371 | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).ensureMigrationTable | service: service-general
[2026-04-07 04:05:11.045] [WARNI] Database migration completed with issues                | 📍 main.go:106 | environment: debug | ❌ ERROR: sql migration failed for simrs: migration failed at file internal/infrastructure/database/sql/00001_role_pages.sql: failed to execute SQL command: -- Trigger untuk update updated_at
CREATE OR REPLACE FUNCTION update_updated_at_column()
RETURNS TRIGGER AS $
BEGIN
    NEW.updated_at = CURRENT_TIMESTAMP, error: ERROR: syntax error at or near "$" (SQLSTATE 42601) | ⚙️ main.main | service: service-general
[2026-04-07 04:05:11.047] [INFO ] Cache initialized                                       | 📍 main.go:131 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-07 04:05:11.048] [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/sandbox | service: service-general | static_tokens_len: 4
[2026-04-07 04:05:11.048] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-07 04:05:11.048] [INFO ] Registered RolPermission gRPC service                   | 📍 server.go:35 | environment: debug | ⚙️ service/internal/infrastructure/transport/grpc/servers.NewGRPCServer | service: service-general
[2026-04-07 04:05:11.048] [INFO ] Application started successfully                        | 📍 main.go:327 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-07 04:05:11.048] [INFO ] REST API running                                        | 📍 main.go:266 | environment: debug | ⚙️ main.main.func1 | port: 8094 | service: service-general
[2026-04-07 04:05:11.049] [INFO ] gRPC Server running                                     | 📍 main.go:293 | environment: debug | ⚙️ main.main.func2 | port: 8095 | service: service-general
[2026-04-07 04:05:12.435] [INFO ] Application starting                                    | 📍 main.go:75 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-07 04:05:12.435] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:90 | database_count: 3 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-07 04:05:12.436] [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-07 04:05:12.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-07 04:05:12.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-07 04:05:12.453] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-07 04:05:12.453] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 04:05:12.472] [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-07 04:05:12.472] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 04:05:12.473] [INFO ] Found migration files to execute                        | 📍 database.go:532 | count: 4 | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).runSQLMigrationsForDB | service: service-general
[2026-04-07 04:05:12.474] [DEBUG] Migrations table already exists                         | 📍 database.go:1371 | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).ensureMigrationTable | service: service-general
[2026-04-07 04:05:12.503] [WARNI] Database migration completed with issues                | 📍 main.go:106 | environment: debug | ❌ ERROR: sql migration failed for simrs: migration failed at file internal/infrastructure/database/sql/00001_role_pages.sql: failed to execute SQL command: -- Trigger untuk update updated_at
CREATE OR REPLACE FUNCTION update_updated_at_column()
RETURNS TRIGGER AS $
BEGIN
    NEW.updated_at = CURRENT_TIMESTAMP, error: ERROR: syntax error at or near "$" (SQLSTATE 42601) | ⚙️ main.main | service: service-general
[2026-04-07 04:05:12.505] [INFO ] Cache initialized                                       | 📍 main.go:131 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-07 04:05:12.506] [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/sandbox | service: service-general | static_tokens_len: 4
[2026-04-07 04:05:12.506] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-07 04:05:12.507] [INFO ] Registered RolPermission gRPC service                   | 📍 server.go:35 | environment: debug | ⚙️ service/internal/infrastructure/transport/grpc/servers.NewGRPCServer | service: service-general
[2026-04-07 04:05:12.507] [INFO ] REST API running                                        | 📍 main.go:266 | environment: debug | ⚙️ main.main.func1 | port: 8094 | service: service-general
[2026-04-07 04:05:12.507] [INFO ] Application started successfully                        | 📍 main.go:327 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-07 04:05:12.507] [INFO ] gRPC Server running                                     | 📍 main.go:293 | environment: debug | ⚙️ main.main.func2 | port: 8095 | service: service-general
[2026-04-07 04:07:29.426] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 1.335835ms | method: GET | path: /api/v1/roles/permissions/role/1 | request_id: a33ea967-2747-4c86-be1c-2f75fc9b8be5 | service: service-general | status: 401 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 04:07:35.064] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 1.130718ms | method: POST | path: /api/v1/auth/login | request_id: 822eca69-aa35-4902-97d0-291fb0b04997 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 04:07:47.837] [DEBUG] Cache hit for Role Permission Tree                      | 📍 service.go:662 | environment: debug | ⚙️ service/internal/master/role/permission.(*service).GetRolePermissionTreeRole | key: permission_tree:1:all | service: service-general
[2026-04-07 04:07:47.837] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 896.424µs | method: GET | path: /api/v1/roles/permissions/role/1 | request_id: 00661128-b44c-420d-9454-26ebea8e6796 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 04:08:59.444] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 692.654µs | method: GET | path: /api/v1/roles/permissions/role/1 | request_id: 329e3d02-0a17-442f-8081-d49b26f53dd2 | service: service-general | status: 401 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 04:09:03.515] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 4.054963872s | method: POST | path: /api/v1/auth/refresh | request_id: 82ca8c26-8bfa-4144-b7dd-99e12809a36d | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 04:09:03.573] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 11.801509ms | method: GET | path: /api/v1/auth/info | request_id: bee5fa2a-9de6-4a52-8d67-50870127727a | service: service-general | status: 200 | user_agent: node
[2026-04-07 04:09:03.587] [DEBUG] Cache hit for Role Permission Tree                      | 📍 service.go:662 | environment: debug | ⚙️ service/internal/master/role/permission.(*service).GetRolePermissionTreeRole | key: permission_tree:1:all | service: service-general
[2026-04-07 04:09:03.587] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 790.195µs | method: GET | path: /api/v1/roles/permissions/role/1 | request_id: 7a9785dd-5067-4885-bfb0-b93e16491191 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 04:10:18.743] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 126.323µs | method: OPTIONS | path: /api/v1/roles/permissions/role/2 | request_id: 86317f7f-b462-48a8-b492-3bc66101a33f | service: service-general | status: 204 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 04:10:18.763] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 11.860203ms | method: GET | path: /api/v1/roles/permissions/role/2 | request_id: 582f98a3-edc2-4495-9c55-d99c50501ae6 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 04:10:27.147] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 29.955µs | method: OPTIONS | path: /api/v1/roles/permissions/role/3 | request_id: e98a2fb2-f49e-4d0f-bb0d-f4d5db256ef5 | service: service-general | status: 204 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 04:10:27.154] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.997724ms | method: GET | path: /api/v1/roles/permissions/role/3 | request_id: ed3f1cde-400c-4f07-9a68-ba335fde3355 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 04:10:59.291] [INFO ] Application starting                                    | 📍 main.go:75 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-07 04:10:59.292] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:90 | database_count: 3 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-07 04:10:59.292] [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-07 04:10:59.302] [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-07 04:10:59.302] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 04:10:59.316] [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-07 04:10:59.316] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 04:10:59.324] [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-07 04:10:59.324] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 04:10:59.324] [INFO ] Found migration files to execute                        | 📍 database.go:532 | count: 4 | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).runSQLMigrationsForDB | service: service-general
[2026-04-07 04:10:59.325] [WARNI] Database migration completed with issues                | 📍 main.go:106 | environment: debug | ❌ ERROR: sql migration failed for farmasi: failed to ensure migration table: failed to create migrations table: mssql: Incorrect syntax near 'Migrations'. | ⚙️ main.main | service: service-general
[2026-04-07 04:10:59.327] [INFO ] Cache initialized                                       | 📍 main.go:131 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-07 04:10:59.328] [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/sandbox | service: service-general | static_tokens_len: 4
[2026-04-07 04:10:59.328] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-07 04:10:59.329] [INFO ] Registered RolPermission gRPC service                   | 📍 server.go:35 | environment: debug | ⚙️ service/internal/infrastructure/transport/grpc/servers.NewGRPCServer | service: service-general
[2026-04-07 04:10:59.329] [INFO ] Application started successfully                        | 📍 main.go:327 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-07 04:10:59.329] [INFO ] gRPC Server running                                     | 📍 main.go:293 | environment: debug | ⚙️ main.main.func2 | port: 8095 | service: service-general
[2026-04-07 04:10:59.329] [INFO ] REST API running                                        | 📍 main.go:266 | environment: debug | ⚙️ main.main.func1 | port: 8094 | service: service-general
[2026-04-07 04:11:01.449] [INFO ] Application starting                                    | 📍 main.go:75 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-07 04:11:01.449] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:90 | database_count: 3 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-07 04:11:01.449] [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-07 04:11:01.461] [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-07 04:11:01.461] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 04:11:01.482] [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-07 04:11:01.482] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 04:11:01.489] [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-07 04:11:01.489] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 04:11:01.490] [INFO ] Found migration files to execute                        | 📍 database.go:532 | count: 4 | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).runSQLMigrationsForDB | service: service-general
[2026-04-07 04:11:01.491] [WARNI] Database migration completed with issues                | 📍 main.go:106 | environment: debug | ❌ ERROR: sql migration failed for default: failed to ensure migration table: failed to create migrations table: ERROR: no schema has been selected to create in (SQLSTATE 3F000) | ⚙️ main.main | service: service-general
[2026-04-07 04:11:01.494] [INFO ] Cache initialized                                       | 📍 main.go:131 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-07 04:11:01.494] [INFO ] Creating authentication providers                       | auth_type: hybrid | 📍 provider.go:69 | environment: debug | fallback_to: jwt | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | keycloak_enabled: true | keycloak_issuer: https://auth.rssa.top/realms/sandbox | service: service-general | static_tokens_len: 4
[2026-04-07 04:11:01.494] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-07 04:11:01.495] [INFO ] Registered RolPermission gRPC service                   | 📍 server.go:35 | environment: debug | ⚙️ service/internal/infrastructure/transport/grpc/servers.NewGRPCServer | service: service-general
[2026-04-07 04:11:01.495] [INFO ] REST API running                                        | 📍 main.go:266 | environment: debug | ⚙️ main.main.func1 | port: 8094 | service: service-general
[2026-04-07 04:11:01.495] [INFO ] Application started successfully                        | 📍 main.go:327 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-07 04:11:01.495] [INFO ] gRPC Server running                                     | 📍 main.go:293 | environment: debug | ⚙️ main.main.func2 | port: 8095 | service: service-general
[2026-04-07 04:11:42.548] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 04:11:42.600] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 86.013547ms | method: GET | path: /api/v1/roles/master | request_id: 2088873d-082d-40b8-92e2-23bcb0293abb | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 04:11:45.679] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 3.714934ms | method: GET | path: /api/v1/roles/pages/tree | query: active= | request_id: 324a002d-b323-40d1-b0ce-941dcfa87267 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 04:12:08.577] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 350.257µs | method: GET | path: /swagger/*any | request_id: 9794c545-df8d-4c82-9ad6-469b42358b8c | service: service-general | status: 404 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 04:12:27.802] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 04:12:27.804] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.671262ms | method: GET | path: /api/v1/roles/master | request_id: bd5596f1-52fa-4639-ba19-39af4a255e80 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 04:12:30.716] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.474216ms | method: GET | path: /api/v1/roles/master/1 | request_id: 041c3bff-04c1-41ec-8572-0758196af218 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 04:12:30.727] [DEBUG] Cache hit for Role Permission Tree                      | 📍 service.go:662 | environment: debug | ⚙️ service/internal/master/role/permission.(*service).GetRolePermissionTreeRole | key: permission_tree:1:all | service: service-general
[2026-04-07 04:12:30.727] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 778.317µs | method: GET | path: /api/v1/roles/permissions/role/1 | request_id: 09659bf4-f330-4316-b1c2-954a95f418f3 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 04:13:01.644] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 81.706µs | method: OPTIONS | path: /api/v1/roles/master/5 | request_id: 424ae152-5c4b-46b1-b640-ce51c90567a6 | service: service-general | status: 204 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 04:13:01.652] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.043477ms | method: GET | path: /api/v1/roles/master/5 | request_id: e87a76f2-df42-423a-af15-e95652e09035 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 04:13:01.665] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 57.4µs | method: OPTIONS | path: /api/v1/roles/permissions/role/5 | request_id: dff61238-337d-4ad6-aeea-1dfdefb5be71 | service: service-general | status: 204 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 04:13:01.676] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 5.882991ms | method: GET | path: /api/v1/roles/permissions/role/5 | request_id: c1ee4108-147c-4f9a-b282-b7b79ba11672 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 04:13:05.907] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 04:13:05.909] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.566069ms | method: GET | path: /api/v1/roles/master | request_id: c8a0ea94-9639-4207-b61d-8902b2a463bd | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 04:13:07.482] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.032321ms | method: GET | path: /api/v1/roles/pages/tree | query: active= | request_id: 77ff7d90-9b59-41f4-b318-f66fa84bf8fd | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 04:13:11.742] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 3.278343ms | method: GET | path: /api/v1/roles/pages/tree | query: active=true | request_id: d8265859-534a-4319-a05d-96e2a4f51d8f | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 04:13:52.773] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 04:13:52.775] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.347226ms | method: GET | path: /api/v1/roles/master | request_id: 05ee086e-cf4d-40b5-a658-6c3f208f072d | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 04:14:01.306] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 21.55µs | method: OPTIONS | path: /api/v1/roles/master/10 | request_id: 270258e3-31eb-4313-998b-99ccc4334baa | service: service-general | status: 204 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 04:14:01.317] [DEBUG] Database query executed                                 | 📍 database.go:174 | duration_ms: 2.493087ms | environment: debug | ⚙️ service/internal/infrastructure/database.(*gormLoggerAdapter).Trace | request_id: 6c3f69b1-beeb-43ac-8c12-e05d1a3354de | rows: 1 | service: service-general | sql: DELETE FROM "role_access"."rol_master" WHERE "rol_master"."id" = 10
[2026-04-07 04:14:01.318] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 4.279853ms | method: DELETE | path: /api/v1/roles/master/10 | request_id: 6c3f69b1-beeb-43ac-8c12-e05d1a3354de | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 04:14:01.356] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 04:14:01.357] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 1.852817ms | method: GET | path: /api/v1/roles/master | request_id: cb755a4a-3018-41bd-aa22-0b1baebb591f | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 04:14:08.499] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 29.546µs | method: OPTIONS | path: /api/v1/roles/master/11 | request_id: f1709c28-e61d-4ec3-8b31-5f10bd0adbc9 | service: service-general | status: 204 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 04:14:08.506] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 676.263µs | method: DELETE | path: /api/v1/roles/master/11 | request_id: aefbd985-7a42-462e-9cdc-eb84cc2b38a6 | service: service-general | status: 401 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 04:14:12.556] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 4.034362686s | method: POST | path: /api/v1/auth/refresh | request_id: 9cea8a7b-742c-4bb4-bee8-56dc90c71882 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 04:14:12.610] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 574.947µs | method: GET | path: /api/v1/auth/info | request_id: 237de2d5-8701-43d0-810a-a0ecafefc393 | service: service-general | status: 200 | user_agent: node
[2026-04-07 04:14:12.692] [DEBUG] Database query executed                                 | 📍 database.go:174 | duration_ms: 1.570469ms | environment: debug | ⚙️ service/internal/infrastructure/database.(*gormLoggerAdapter).Trace | request_id: 4ecbc342-05a6-4081-820d-ee293682e731 | rows: 1 | service: service-general | sql: DELETE FROM "role_access"."rol_master" WHERE "rol_master"."id" = 11
[2026-04-07 04:14:12.692] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 3.360814ms | method: DELETE | path: /api/v1/roles/master/11 | request_id: 4ecbc342-05a6-4081-820d-ee293682e731 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 04:14:12.733] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 04:14:12.734] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 1.363405ms | method: GET | path: /api/v1/roles/master | request_id: dec1c12f-4ecc-4ebe-b8d2-d498dd8c56a9 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 04:15:59.355] [INFO ] Application starting                                    | 📍 main.go:75 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-07 04:15:59.355] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:90 | database_count: 3 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-07 04:15:59.355] [INFO ] Initializing database service with GORM as primary abstraction... | 📍 database.go:192 | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 04:15:59.376] [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-07 04:15:59.376] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 04:15:59.387] [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-07 04:15:59.388] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 04:15:59.411] [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-07 04:15:59.411] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 04:15:59.411] [INFO ] Found migration files to execute                        | 📍 database.go:532 | count: 4 | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).runSQLMigrationsForDB | service: service-general
[2026-04-07 04:15:59.411] [WARNI] Database migration completed with issues                | 📍 main.go:106 | environment: debug | ❌ ERROR: sql migration failed for default: failed to ensure migration table: failed to create migrations table: ERROR: no schema has been selected to create in (SQLSTATE 3F000) | ⚙️ main.main | service: service-general
[2026-04-07 04:15:59.413] [INFO ] Cache initialized                                       | 📍 main.go:131 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-07 04:15:59.413] [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/sandbox | service: service-general | static_tokens_len: 4
[2026-04-07 04:15:59.413] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-07 04:15:59.413] [INFO ] Registered RolPermission gRPC service                   | 📍 server.go:35 | environment: debug | ⚙️ service/internal/infrastructure/transport/grpc/servers.NewGRPCServer | service: service-general
[2026-04-07 04:15:59.414] [INFO ] Application started successfully                        | 📍 main.go:327 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-07 04:15:59.414] [INFO ] gRPC Server running                                     | 📍 main.go:293 | environment: debug | ⚙️ main.main.func2 | port: 8095 | service: service-general
[2026-04-07 04:15:59.414] [INFO ] REST API running                                        | 📍 main.go:266 | environment: debug | ⚙️ main.main.func1 | port: 8094 | service: service-general
[2026-04-07 04:16:01.250] [INFO ] Application starting                                    | 📍 main.go:75 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-07 04:16:01.250] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:90 | database_count: 3 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-07 04:16:01.250] [INFO ] Initializing database service with GORM as primary abstraction... | 📍 database.go:192 | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 04:16:01.258] [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-07 04:16:01.258] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 04:16:01.266] [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-07 04:16:01.266] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 04:16:01.285] [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-07 04:16:01.285] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 04:16:01.285] [INFO ] Found migration files to execute                        | 📍 database.go:532 | count: 4 | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).runSQLMigrationsForDB | service: service-general
[2026-04-07 04:16:01.289] [DEBUG] Migrations table already exists                         | 📍 database.go:1371 | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).ensureMigrationTable | service: service-general
[2026-04-07 04:16:01.319] [WARNI] Database migration completed with issues                | 📍 main.go:106 | environment: debug | ❌ ERROR: sql migration failed for simrs: migration failed at file internal/infrastructure/database/sql/00001_role_pages.sql: failed to execute SQL command: -- Trigger untuk update updated_at
CREATE OR REPLACE FUNCTION update_updated_at_column()
RETURNS TRIGGER AS $
BEGIN
    NEW.updated_at = CURRENT_TIMESTAMP, error: ERROR: syntax error at or near "$" (SQLSTATE 42601) | ⚙️ main.main | service: service-general
[2026-04-07 04:16:01.320] [INFO ] Cache initialized                                       | 📍 main.go:131 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-07 04:16:01.321] [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/sandbox | service: service-general | static_tokens_len: 4
[2026-04-07 04:16:01.321] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-07 04:16:01.321] [INFO ] Registered RolPermission gRPC service                   | 📍 server.go:35 | environment: debug | ⚙️ service/internal/infrastructure/transport/grpc/servers.NewGRPCServer | service: service-general
[2026-04-07 04:16:01.321] [INFO ] Application started successfully                        | 📍 main.go:327 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-07 04:16:01.321] [INFO ] REST API running                                        | 📍 main.go:266 | environment: debug | ⚙️ main.main.func1 | port: 8094 | service: service-general
[2026-04-07 04:16:01.321] [INFO ] gRPC Server running                                     | 📍 main.go:293 | environment: debug | ⚙️ main.main.func2 | port: 8095 | service: service-general
[2026-04-07 04:16:51.823] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 329.005µs | method: GET | path: /swagger/*any | request_id: d8013284-18ff-4518-839d-e7cc7a45e061 | service: service-general | status: 404 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 04:16:52.677] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 285.459µs | method: GET | path: /swagger/*any | request_id: 9df64234-87d1-4c9b-921a-dd9a6fac1819 | service: service-general | status: 404 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 04:16:53.386] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 309.574µs | method: GET | path: /swagger/*any | request_id: 53a197ed-1385-49fc-81b8-0954d5a9cab0 | service: service-general | status: 404 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 04:16:53.554] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 258.579µs | method: GET | path: /swagger/*any | request_id: 1a764e5b-e988-4add-8e1d-31c5a06f4bcc | service: service-general | status: 404 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 04:17:18.936] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 51.187µs | method: OPTIONS | path: /api/v1/roles/master/7 | request_id: e4e02333-53a7-4496-9114-c59e45ee4871 | service: service-general | status: 204 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 04:17:18.990] [DEBUG] Database query executed                                 | 📍 database.go:174 | duration_ms: 2.276775ms | environment: debug | ⚙️ service/internal/infrastructure/database.(*gormLoggerAdapter).Trace | request_id: 6c46db3c-9f9b-4c4f-80dd-4484ceff5d1a | rows: 1 | service: service-general | sql: DELETE FROM "role_access"."rol_master" WHERE "rol_master"."id" = 7
[2026-04-07 04:17:18.991] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 39.57592ms | method: DELETE | path: /api/v1/roles/master/7 | request_id: 6c46db3c-9f9b-4c4f-80dd-4484ceff5d1a | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 04:17:19.019] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 04:17:19.021] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.951283ms | method: GET | path: /api/v1/roles/master | request_id: 5a7d1b6a-63bb-4ac5-8cbd-10884dc82b31 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 04:17:21.576] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 36.23µs | method: OPTIONS | path: /api/v1/roles/master/9 | request_id: 639f15bd-6b3c-47be-9cf4-b35a0d54a9fa | service: service-general | status: 204 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 04:17:21.588] [DEBUG] Database query executed                                 | 📍 database.go:174 | duration_ms: 1.354678ms | environment: debug | ⚙️ service/internal/infrastructure/database.(*gormLoggerAdapter).Trace | request_id: 91ebff83-af02-4a73-9445-61d29cea3fac | rows: 1 | service: service-general | sql: DELETE FROM "role_access"."rol_master" WHERE "rol_master"."id" = 9
[2026-04-07 04:17:21.588] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 3.505482ms | method: DELETE | path: /api/v1/roles/master/9 | request_id: 91ebff83-af02-4a73-9445-61d29cea3fac | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 04:17:21.624] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 04:17:21.626] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 1.838607ms | method: GET | path: /api/v1/roles/master | request_id: 30ce597d-590e-41d0-a43a-da43ec0dddb9 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 04:17:24.326] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 31.215µs | method: OPTIONS | path: /api/v1/roles/master/6 | request_id: f951e66c-91b7-47c5-afba-ad2d325f8237 | service: service-general | status: 204 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 04:17:24.354] [DEBUG] Database query executed                                 | 📍 database.go:174 | duration_ms: 6.366866ms | environment: debug | ⚙️ service/internal/infrastructure/database.(*gormLoggerAdapter).Trace | request_id: 5628839b-fc91-4d17-ae93-e8d1ac9b33ec | rows: 1 | service: service-general | sql: DELETE FROM "role_access"."rol_master" WHERE "rol_master"."id" = 6
[2026-04-07 04:17:24.355] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 11.504194ms | method: DELETE | path: /api/v1/roles/master/6 | request_id: 5628839b-fc91-4d17-ae93-e8d1ac9b33ec | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 04:17:24.396] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 04:17:24.402] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 5.969367ms | method: GET | path: /api/v1/roles/master | request_id: 2e058c6f-b480-4f63-844e-0e2beacda566 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 04:17:26.890] [DEBUG] Database query executed                                 | 📍 database.go:174 | duration_ms: 1.887202ms | environment: debug | ⚙️ service/internal/infrastructure/database.(*gormLoggerAdapter).Trace | request_id: 27bc62e0-210f-4be4-831c-982a57bd5a90 | rows: 1 | service: service-general | sql: DELETE FROM "role_access"."rol_master" WHERE "rol_master"."id" = 5
[2026-04-07 04:17:26.890] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 3.724267ms | method: DELETE | path: /api/v1/roles/master/5 | request_id: 27bc62e0-210f-4be4-831c-982a57bd5a90 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 04:17:26.908] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 04:17:26.909] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.02036ms | method: GET | path: /api/v1/roles/master | request_id: 304cb6b9-634c-4198-b58b-969973461a69 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 04:17:31.717] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 1.688332ms | method: GET | path: /api/v1/roles/master/4 | request_id: f425d100-6b6e-4f76-b037-3ff0e9cf13fe | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 04:17:31.726] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 19.657µs | method: OPTIONS | path: /api/v1/roles/permissions/role/4 | request_id: c764ac7f-b2e2-4131-917a-b8579f4ccac3 | service: service-general | status: 204 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 04:17:31.736] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 3.559971ms | method: GET | path: /api/v1/roles/permissions/role/4 | request_id: 68d76d90-c3ae-40b9-b3bf-94bba58b158e | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 04:17:33.722] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 04:17:33.724] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.933986ms | method: GET | path: /api/v1/roles/master | request_id: 9dfbc7a8-590b-4e02-a0a9-5f878fc672c2 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 04:35:55.488] [INFO ] Application starting                                    | 📍 main.go:77 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-07 04:35:55.488] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:92 | database_count: 3 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-07 04:35:55.488] [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-07 04:35:55.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-07 04:35:55.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-07 04:35:55.506] [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-07 04:35:55.506] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 04:35:55.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-07 04:35:55.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-07 04:35:55.526] [INFO ] Found migration files to execute                        | 📍 database.go:532 | count: 4 | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).runSQLMigrationsForDB | service: service-general
[2026-04-07 04:35:55.528] [DEBUG] Migrations table already exists                         | 📍 database.go:1371 | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).ensureMigrationTable | service: service-general
[2026-04-07 04:35:55.552] [WARNI] Database migration completed with issues                | 📍 main.go:108 | environment: debug | ❌ ERROR: sql migration failed for simrs: migration failed at file internal/infrastructure/database/sql/00001_role_pages.sql: failed to execute SQL command: -- Trigger untuk update updated_at
CREATE OR REPLACE FUNCTION update_updated_at_column()
RETURNS TRIGGER AS $
BEGIN
    NEW.updated_at = CURRENT_TIMESTAMP, error: ERROR: syntax error at or near "$" (SQLSTATE 42601) | ⚙️ main.main | service: service-general
[2026-04-07 04:35:55.555] [INFO ] Cache initialized                                       | 📍 main.go:133 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-07 04:35:55.555] [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/sandbox | service: service-general | static_tokens_len: 4
[2026-04-07 04:35:55.555] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-07 04:37:44.836] [INFO ] Application starting                                    | 📍 main.go:77 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-07 04:37:44.836] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:92 | database_count: 3 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-07 04:37:44.836] [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-07 04:37:44.846] [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-07 04:37:44.846] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 04:37:44.854] [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-07 04:37:44.854] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 04:37:44.874] [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-07 04:37:44.874] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 04:37:44.876] [INFO ] Cache initialized                                       | 📍 main.go:133 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-07 04:37:44.877] [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/sandbox | service: service-general | static_tokens_len: 4
[2026-04-07 04:37:44.877] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-07 04:38:36.051] [INFO ] Application starting                                    | 📍 main.go:77 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-07 04:38:36.052] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:92 | database_count: 3 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-07 04:38:36.052] [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-07 04:38:36.061] [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-07 04:38:36.061] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 04:38:36.083] [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-07 04:38:36.084] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 04:38:36.093] [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-07 04:38:36.094] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 04:38:36.097] [INFO ] Cache initialized                                       | 📍 main.go:133 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-07 04:38:36.098] [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/sandbox | service: service-general | static_tokens_len: 4
[2026-04-07 04:38:36.098] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-07 04:45:28.481] [INFO ] Application starting                                    | 📍 main.go:77 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-07 04:45:28.482] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:92 | database_count: 3 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-07 04:45:28.482] [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-07 04:45:28.492] [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-07 04:45:28.492] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 04:45:28.500] [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-07 04:45:28.500] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 04:45:28.516] [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-07 04:45:28.516] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 04:45:28.520] [INFO ] Cache initialized                                       | 📍 main.go:133 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-07 04:45:28.521] [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/sandbox | service: service-general | static_tokens_len: 4
[2026-04-07 04:45:28.521] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-07 04:45:28.521] [INFO ] REST API running                                        | 📍 main.go:267 | environment: debug | ⚙️ main.main.func1 | port: 8094 | service: service-general
[2026-04-07 04:45:28.521] [INFO ] Registered RolPermission gRPC service                   | 📍 server.go:35 | environment: debug | ⚙️ service/internal/infrastructure/transport/grpc/servers.NewGRPCServer | service: service-general
[2026-04-07 04:45:28.521] [INFO ] Application started successfully                        | 📍 main.go:328 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-07 04:45:28.521] [INFO ] gRPC Server running                                     | 📍 main.go:294 | environment: debug | ⚙️ main.main.func2 | port: 8095 | service: service-general
[2026-04-07 04:45:55.535] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 745.526µs | method: GET | path: /health | request_id: 245e1014-165c-40a5-94d1-9671734d65da | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 04:46:00.158] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 423.575µs | method: GET | path: /swagger/*any | request_id: b6c03900-f187-4276-a9e3-30fea7b3b149 | service: service-general | status: 404 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 04:46:01.045] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 328.788µs | method: GET | path: /swagger/*any | request_id: 2ccf85ba-44b6-4043-beec-5e940d4636ff | service: service-general | status: 404 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 04:46:04.609] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 291.497µs | method: GET | path: /swagger/ | request_id: c6e59278-8c50-429e-8aa6-69c1d9461f4e | service: service-general | status: 404 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 04:46:44.057] [INFO ] Application starting                                    | 📍 main.go:77 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-07 04:46:44.057] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:92 | database_count: 3 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-07 04:46:44.057] [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-07 04:46:44.067] [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-07 04:46:44.067] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 04:46:44.075] [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-07 04:46:44.076] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 04:46:44.095] [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-07 04:46:44.095] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 04:46:44.098] [INFO ] Cache initialized                                       | 📍 main.go:133 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-07 04:46:44.098] [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/sandbox | service: service-general | static_tokens_len: 4
[2026-04-07 04:46:44.099] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-07 04:46:44.099] [INFO ] REST API running                                        | 📍 main.go:267 | environment: debug | ⚙️ main.main.func1 | port: 8094 | service: service-general
[2026-04-07 04:46:44.099] [INFO ] Registered RolPermission gRPC service                   | 📍 server.go:35 | environment: debug | ⚙️ service/internal/infrastructure/transport/grpc/servers.NewGRPCServer | service: service-general
[2026-04-07 04:46:44.099] [INFO ] Application started successfully                        | 📍 main.go:328 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-07 04:46:44.099] [INFO ] gRPC Server running                                     | 📍 main.go:294 | environment: debug | ⚙️ main.main.func2 | port: 8095 | service: service-general
[2026-04-07 04:47:04.761] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 499.144µs | method: GET | path: //swagger/* | request_id: 0ebbde5a-b98e-4588-9d6b-03ac569450e4 | service: service-general | status: 404 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 04:47:12.494] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 392.637µs | method: GET | path: /swagger/* | request_id: 8fe79e7d-9cbe-4e40-bfb2-00f706c91fff | service: service-general | status: 404 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 04:48:53.654] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 881.221µs | method: GET | path: /health | request_id: dbff94a1-f5ba-441a-aa17-e06e482dcc4d | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 04:48:57.635] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 801.655µs | method: GET | path: /api/v1/auth/info | request_id: d7c4a8ba-702d-444a-a051-8041f3ffb036 | service: service-general | status: 401 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 04:49:04.071] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 630.186µs | method: GET | path: /api/v1/roles/master | request_id: 39786925-3b17-494b-8ec1-91198c6ded20 | service: service-general | status: 401 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 04:55:07.937] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 841.557µs | method: GET | path: /api/v1/roles/pages/tree | query: active= | request_id: 1071f3ad-91dd-4bbb-b3e6-e719ecd14e18 | service: service-general | status: 401 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 04:55:08.004] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 54.600105ms | method: POST | path: /api/v1/auth/refresh | request_id: 248ebbbd-2285-45b0-9631-4a74a576ec67 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 04:55:08.030] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 4.445024ms | method: GET | path: /api/v1/auth/info | request_id: ab2dbe27-235e-4de3-a63f-face675be82d | service: service-general | status: 200 | user_agent: node
[2026-04-07 04:55:08.058] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 12.634419ms | method: GET | path: /api/v1/roles/pages/tree | query: active= | request_id: bd7cf8eb-d60b-43bf-8a22-b9ca99c59aa3 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 04:55:09.345] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 04:55:09.348] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 3.916276ms | method: GET | path: /api/v1/roles/master | request_id: 86dc6c78-486d-4cf4-9791-5858922173cf | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 04:55:15.344] [DEBUG] Database query executed                                 | 📍 database.go:174 | duration_ms: 2.527817ms | environment: debug | ⚙️ service/internal/infrastructure/database.(*gormLoggerAdapter).Trace | request_id: 64030062-9d4e-4fcb-9bff-613926a23b6b | rows: 1 | service: service-general | sql: DELETE FROM "role_access"."rol_master" WHERE "rol_master"."id" = 4
[2026-04-07 04:55:15.344] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 5.558745ms | method: DELETE | path: /api/v1/roles/master/4 | request_id: 64030062-9d4e-4fcb-9bff-613926a23b6b | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 04:55:15.390] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 04:55:15.392] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 1.988309ms | method: GET | path: /api/v1/roles/master | request_id: 1ddfa754-cb5e-4b13-a84b-9780ace4f6d7 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 04:55:20.142] [DEBUG] Database query executed                                 | 📍 database.go:174 | duration_ms: 4.251417ms | environment: debug | ⚙️ service/internal/infrastructure/database.(*gormLoggerAdapter).Trace | request_id: 99c7c17b-908b-4e49-87ef-26cf3944e3d0 | rows: 1 | service: service-general | sql: INSERT INTO "role_access"."rol_master" ("name","active","created_at","updated_at") VALUES ('tes',true,'2026-04-07 04:55:20.139','2026-04-07 04:55:20.139') RETURNING "id"
[2026-04-07 04:55:20.145] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 8.045941ms | method: POST | path: /api/v1/roles/master | request_id: 99c7c17b-908b-4e49-87ef-26cf3944e3d0 | service: service-general | status: 201 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 04:55:20.181] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 04:55:20.183] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.039024ms | method: GET | path: /api/v1/roles/master | request_id: 11e81326-77d8-4595-a5ef-c94998f2fb0f | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 04:55:26.098] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 25.828µs | method: OPTIONS | path: /api/v1/roles/master/12 | request_id: 8d766113-2b4d-4b21-a6cd-a7216ad403a4 | service: service-general | status: 204 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 04:55:26.107] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 1.906331ms | method: GET | path: /api/v1/roles/master/12 | request_id: 9b542558-50bb-454e-89c4-d18e56a9261a | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 04:55:26.118] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 22.494µs | method: OPTIONS | path: /api/v1/roles/permissions/role/12 | request_id: 4a78c9e1-9d0d-4628-9601-0e6d7109a0d8 | service: service-general | status: 204 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 04:55:26.127] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.898233ms | method: GET | path: /api/v1/roles/permissions/role/12 | request_id: 45eac965-9a31-4f9d-b2f3-5a10e97110e7 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 04:55:27.749] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 04:55:27.751] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.662576ms | method: GET | path: /api/v1/roles/master | request_id: 4e8aecf0-ebf0-4e91-ac57-4c843150f0d8 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 04:59:41.091] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.704871ms | method: GET | path: /api/v1/roles/pages/tree | query: active= | request_id: 441e6f0e-852d-47ae-a35c-0e1dac124bb4 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 04:59:44.515] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 90.571609ms | method: GET | path: /api/v1/roles/pages/tree | query: active=true | request_id: 60f94ad4-fe9d-4683-8970-1784c0aade72 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 04:59:46.964] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.536567ms | method: GET | path: /api/v1/roles/pages/tree | query: active=false | request_id: 3c89bae4-f476-4807-bfd0-164062f8cb24 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 04:59:48.606] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 04:59:48.607] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.347125ms | method: GET | path: /api/v1/roles/master | request_id: 7b6c10df-4446-4ea0-97f3-454f0c5aa6c3 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 04:59:50.497] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 32.438µs | method: OPTIONS | path: /api/v1/roles/master/1 | request_id: 50aebf04-2f09-4c6a-ba85-8152cf46689a | service: service-general | status: 204 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 04:59:50.505] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 1.846722ms | method: GET | path: /api/v1/roles/master/1 | request_id: a2049633-8f1f-49a0-a742-dfc9223b2f83 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 04:59:53.627] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.063615ms | method: GET | path: /api/v1/roles/master/1 | request_id: 1a019596-3655-4d70-91bc-a0e40361df6d | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 04:59:53.639] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 36.084µs | method: OPTIONS | path: /api/v1/roles/permissions/role/1 | request_id: f99aef75-0be5-4de9-b4df-32749e0c5d3a | service: service-general | status: 204 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 04:59:53.645] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.141816ms | method: GET | path: /api/v1/roles/permissions/role/1 | request_id: c89892eb-cb82-496a-a63a-48c96b0eb2d2 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 05:00:06.860] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 05:00:06.861] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.3248ms | method: GET | path: /api/v1/roles/master | request_id: 6211f055-f7b9-4268-ba51-ffb202edd2c2 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 05:00:08.795] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 528.283µs | method: GET | path: /api/v1/roles/pages/tree | query: active= | request_id: f3e1bdb7-b0b5-4de8-8b77-149c40db43b6 | service: service-general | status: 401 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 05:00:08.845] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 42.410408ms | method: POST | path: /api/v1/auth/refresh | request_id: f819f3e9-0b7f-45bf-ae2d-f153824512eb | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 05:00:08.887] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 658.171µs | method: GET | path: /api/v1/auth/info | request_id: 68d21874-9b27-4fd2-a7b8-fb8a97adbf19 | service: service-general | status: 200 | user_agent: node
[2026-04-07 05:00:08.916] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 14.72989ms | method: GET | path: /api/v1/roles/pages/tree | query: active= | request_id: 3507c55c-bc39-4a28-b937-3043b266820d | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 05:00:09.595] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 05:00:09.599] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 3.778077ms | method: GET | path: /api/v1/roles/master | request_id: d3193892-f099-42a7-9fa6-9405135372a3 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 05:00:10.391] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 5.749383ms | method: GET | path: /api/v1/roles/pages/tree | query: active= | request_id: 2a9e7fdc-252a-427d-a91b-dcc3ea3ec719 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 05:00:11.232] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 05:00:11.234] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.142336ms | method: GET | path: /api/v1/roles/master | request_id: e7782e06-627b-49b7-94b2-563eeb964976 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 05:00:12.462] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.559627ms | method: GET | path: /api/v1/roles/pages/tree | query: active= | request_id: 7f15d0a1-74c2-4d68-9cd0-ef053f7e8017 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 05:00:13.587] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 425.805µs | method: GET | path: /swagger/* | request_id: aba35c92-16c7-4444-a846-a39bfe0a2616 | service: service-general | status: 404 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 05:00:18.951] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 4.263348ms | method: GET | path: /api/v1/roles/pages/tree | query: active=true | request_id: 0e493c18-515e-4070-9282-adcbedf87ebe | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 05:00:26.462] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 3.851947ms | method: GET | path: /api/v1/roles/pages/1 | request_id: 25d64339-a113-46cf-ac9f-2e9cad2368e0 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 05:03:03.368] [INFO ] Application starting                                    | 📍 main.go:77 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-07 05:03:03.369] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:92 | database_count: 3 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-07 05:03:03.369] [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-07 05:03:03.378] [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-07 05:03:03.378] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 05:03:03.399] [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-07 05:03:03.399] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 05:03:03.407] [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-07 05:03:03.407] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 05:03:03.410] [INFO ] Cache initialized                                       | 📍 main.go:133 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-07 05:03:03.410] [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/sandbox | service: service-general | static_tokens_len: 4
[2026-04-07 05:03:03.410] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-07 05:03:03.411] [INFO ] Registered RolPermission gRPC service                   | 📍 server.go:35 | environment: debug | ⚙️ service/internal/infrastructure/transport/grpc/servers.NewGRPCServer | service: service-general
[2026-04-07 05:03:03.411] [INFO ] Application started successfully                        | 📍 main.go:328 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-07 05:03:03.411] [INFO ] REST API running                                        | 📍 main.go:267 | environment: debug | ⚙️ main.main.func1 | port: 8094 | service: service-general
[2026-04-07 05:03:03.411] [INFO ] gRPC Server running                                     | 📍 main.go:294 | environment: debug | ⚙️ main.main.func2 | port: 8095 | service: service-general
[2026-04-07 05:03:16.174] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 700.348µs | method: GET | path: /swagger/* | request_id: 383ff2ea-5532-4c4c-a7b7-99e302f73a9e | service: service-general | status: 404 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 05:03:17.276] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 289.16µs | method: GET | path: /swagger/* | request_id: 127f3db1-440b-417a-b52b-45c534a3d3db | service: service-general | status: 404 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 05:03:17.457] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 248.202µs | method: GET | path: /swagger/* | request_id: 1b660fe4-e219-4758-8eea-f6f6e18b7be8 | service: service-general | status: 404 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 05:03:17.625] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 234.616µs | method: GET | path: /swagger/* | request_id: fa18ab78-99d1-4c66-888e-1990b323ff68 | service: service-general | status: 404 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 05:04:01.027] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 245.286µs | method: GET | path: /swagger/* | request_id: 4d0e427d-0ae8-48f1-96d8-4e6cb7b96d73 | service: service-general | status: 404 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 05:04:01.417] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 242.284µs | method: GET | path: /swagger/* | request_id: 080aec52-943c-4aca-8bb6-ac09fd8e686e | service: service-general | status: 404 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 05:04:01.588] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 346.207µs | method: GET | path: /swagger/* | request_id: 49fb4f14-69e7-453f-8875-559936f7a9ec | service: service-general | status: 404 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 05:05:48.603] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 553.747µs | method: GET | path: /swagger | request_id: ee9d6982-4252-4941-b2b8-c98cef459e97 | service: service-general | status: 301 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 05:05:48.607] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 773.408µs | method: GET | path: /swagger/index.html | request_id: 60073dc6-cf1a-4e28-a7c7-c3e4921052fb | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 05:59:56.290] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 91.746µs | method: OPTIONS | path: /api/v1/roles/pages/tree | query: active= | request_id: b79f5029-af69-4f49-9db0-fd6f2bbbcf64 | service: service-general | status: 204 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 05:59:56.360] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 50.193773ms | method: GET | path: /api/v1/roles/pages/tree | query: active= | request_id: 42942341-739a-417b-af1a-209c4c85fbf5 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 05:59:57.311] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 23.888µs | method: OPTIONS | path: /api/v1/roles/master | request_id: 0389fea7-4565-4ad5-83a2-c224839abcf6 | service: service-general | status: 204 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 05:59:57.324] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 05:59:57.327] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 3.761587ms | method: GET | path: /api/v1/roles/master | request_id: c7de5ee3-9d09-4c81-ab35-e3d1e9a24cc2 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 06:23:42.090] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 1.128183ms | method: GET | path: /api/v1/roles/pages/tree | query: active= | request_id: 1b6b50cc-a016-487e-bc4c-58a2c72846e2 | service: service-general | status: 401 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 06:23:42.151] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 52.550359ms | method: POST | path: /api/v1/auth/refresh | request_id: 5293f1cc-187c-4000-bc87-bc07e8016afc | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 06:23:42.183] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 875.525µs | method: GET | path: /api/v1/auth/info | request_id: 4688e34e-ac1b-4906-842c-39db2bc1e7c0 | service: service-general | status: 200 | user_agent: node
[2026-04-07 06:23:42.207] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 13.257569ms | method: GET | path: /api/v1/roles/pages/tree | query: active= | request_id: ad062206-753c-4a6b-98ca-06de50f928e0 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 06:23:43.549] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 06:23:43.552] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 3.737791ms | method: GET | path: /api/v1/roles/master | request_id: 52f7eec0-e839-4c90-a790-593812fc5cc3 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 06:23:45.630] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.245916ms | method: GET | path: /api/v1/roles/pages/tree | query: active= | request_id: 39b3606f-0fed-48ee-aef3-73b0809b170a | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 06:23:55.882] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 28.342µs | method: OPTIONS | path: /api/v1/roles/pages/tree | query: active=true | request_id: a2f9d715-d4e2-417d-b9b8-5581226006f3 | service: service-general | status: 204 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 06:23:55.894] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 3.449653ms | method: GET | path: /api/v1/roles/pages/tree | query: active=true | request_id: 705810af-4564-48fb-a370-b5d602ebe747 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 06:26:09.990] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 06:26:09.991] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.159542ms | method: GET | path: /api/v1/roles/master | request_id: 0260a7d9-1d98-4fd7-8be7-12760a01d65f | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 06:26:17.766] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.658298ms | method: GET | path: /api/v1/roles/master/12 | request_id: a549cced-84c2-4b6c-a0fc-8ded7976198d | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 06:26:17.776] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 3.299994ms | method: GET | path: /api/v1/roles/permissions/role/12 | request_id: 307395b6-b2ff-4884-bb7f-5488283a4858 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 06:26:20.000] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 06:26:20.002] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.410951ms | method: GET | path: /api/v1/roles/master | request_id: 5d307a26-376c-44f3-bca0-b2726857b928 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 06:26:21.348] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.076578ms | method: GET | path: /api/v1/roles/master/1 | request_id: 43122f5c-db47-472f-a531-2b7b6592abad | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 06:26:21.361] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.183094ms | method: GET | path: /api/v1/roles/permissions/role/1 | request_id: 79f95429-3856-47fa-a94b-27f09ef33ab5 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 06:31:42.523] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 717.024µs | method: GET | path: /api/v1/roles/master | request_id: e274d66d-81cf-4372-ac7b-1eedf56a877b | service: service-general | status: 401 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 06:31:42.569] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 30.742447ms | method: POST | path: /api/v1/auth/refresh | request_id: 4f407c79-b57c-48a2-8ab3-db8a238e8f5e | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 06:31:42.617] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 731.785µs | method: GET | path: /api/v1/auth/info | request_id: 84e003b0-3244-40ed-8dc9-54979c250b98 | service: service-general | status: 200 | user_agent: node
[2026-04-07 06:31:42.632] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 06:31:42.642] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 10.570211ms | method: GET | path: /api/v1/roles/master | request_id: d2d8632d-68e5-4901-b517-90b7ac159fb6 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 06:31:48.016] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 3.019044ms | method: GET | path: /api/v1/roles/master/1 | request_id: 3509042a-d9d8-4323-8cf0-0dd9d681bce0 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 06:31:48.026] [DEBUG] Cache hit for Role Permission Tree                      | 📍 service.go:662 | environment: debug | ⚙️ service/internal/master/role/permission.(*service).GetRolePermissionTreeRole | key: permission_tree:1:all | service: service-general
[2026-04-07 06:31:48.026] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 964.25µs | method: GET | path: /api/v1/roles/permissions/role/1 | request_id: eeefe078-ae54-4628-adbb-8936ffafd405 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 06:37:45.781] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 752.544µs | method: GET | path: /api/v1/roles/master | request_id: dd88eb81-c318-44bd-8cbe-215a3b85cf97 | service: service-general | status: 401 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 06:37:45.821] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 31.263583ms | method: POST | path: /api/v1/auth/refresh | request_id: 592ee4e8-cda1-4386-bcd1-b56678c1e5b6 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 06:37:45.866] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 725.568µs | method: GET | path: /api/v1/auth/info | request_id: 6b84a9cb-f12b-496d-9f49-cc02f5b35243 | service: service-general | status: 200 | user_agent: node
[2026-04-07 06:37:45.880] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 06:37:45.890] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 11.190592ms | method: GET | path: /api/v1/roles/master | request_id: c24a6cf9-3607-4947-953d-a3dec03e53aa | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 06:39:20.292] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.66391ms | method: GET | path: /api/v1/roles/master/1 | request_id: a9ad73d1-272c-41f2-9191-dfff6355fded | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 06:39:20.302] [DEBUG] Cache hit for Role Permission Tree                      | 📍 service.go:662 | environment: debug | ⚙️ service/internal/master/role/permission.(*service).GetRolePermissionTreeRole | key: permission_tree:1:all | service: service-general
[2026-04-07 06:39:20.303] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 723.21µs | method: GET | path: /api/v1/roles/permissions/role/1 | request_id: 3cc2428c-085b-4cff-888f-97f1031e2c08 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 06:39:38.998] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.008547ms | method: GET | path: /api/v1/roles/master/1 | request_id: 7e409d74-178c-4b27-b6b0-d960ec79c19f | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 06:39:39.045] [DEBUG] Cache hit for Role Permission Tree                      | 📍 service.go:662 | environment: debug | ⚙️ service/internal/master/role/permission.(*service).GetRolePermissionTreeRole | key: permission_tree:1:all | service: service-general
[2026-04-07 06:39:39.045] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 848.245µs | method: GET | path: /api/v1/roles/permissions/role/1 | request_id: 47dddec2-b6aa-41b8-ab82-59c8c5de4214 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 06:40:04.121] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.662644ms | method: GET | path: /api/v1/roles/master/1 | request_id: 39c1bea3-9f84-41fa-964e-c87115567bf5 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 06:40:04.178] [DEBUG] Cache hit for Role Permission Tree                      | 📍 service.go:662 | environment: debug | ⚙️ service/internal/master/role/permission.(*service).GetRolePermissionTreeRole | key: permission_tree:1:all | service: service-general
[2026-04-07 06:40:04.178] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 724.681µs | method: GET | path: /api/v1/roles/permissions/role/1 | request_id: b75e6e67-78ec-44a8-badb-8466563dbae8 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 06:43:44.383] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 804.364µs | method: GET | path: /api/v1/roles/master | request_id: e2e81ca0-2f70-463f-966b-9c9f09c68c1e | service: service-general | status: 401 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 06:43:44.600] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 190.557591ms | method: POST | path: /api/v1/auth/refresh | request_id: 88289c0a-b897-45ee-8404-0778f17b2306 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 06:43:44.635] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 631.502µs | method: GET | path: /api/v1/auth/info | request_id: 22010ecb-97ec-4cdb-aea5-eaead02113b6 | service: service-general | status: 200 | user_agent: node
[2026-04-07 06:43:44.672] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 06:43:44.689] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 17.335824ms | method: GET | path: /api/v1/roles/master | request_id: e6b85401-8dae-4d33-9893-c09c609b117b | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 06:43:49.143] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 1.948104ms | method: GET | path: /api/v1/roles/master/1 | request_id: 751777c8-076a-4768-9370-0a0c0c96fca7 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 06:43:49.169] [DEBUG] Cache hit for Role Permission Tree                      | 📍 service.go:662 | environment: debug | ⚙️ service/internal/master/role/permission.(*service).GetRolePermissionTreeRole | key: permission_tree:1:all | service: service-general
[2026-04-07 06:43:49.170] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 854.259µs | method: GET | path: /api/v1/roles/permissions/role/1 | request_id: 328839a6-6f82-4a1b-a27a-b0bc489a61fb | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 06:46:48.553] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 1.987185ms | method: GET | path: /api/v1/roles/master/1 | request_id: 88de4b45-b9d8-4780-863b-2ca4b5bba9b1 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 06:46:48.582] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 1.838476ms | method: GET | path: /api/v1/roles/master/1 | request_id: 15add6d1-771f-4b34-8c3a-b98922d53692 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 06:46:48.584] [DEBUG] Cache hit for Role Permission Tree                      | 📍 service.go:662 | environment: debug | ⚙️ service/internal/master/role/permission.(*service).GetRolePermissionTreeRole | key: permission_tree:1:all | service: service-general
[2026-04-07 06:46:48.584] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 594.804µs | method: GET | path: /api/v1/roles/permissions/role/1 | request_id: 789cad2b-b0d1-45cb-add5-ad81d4e70433 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 06:46:48.593] [DEBUG] Cache hit for Role Permission Tree                      | 📍 service.go:662 | environment: debug | ⚙️ service/internal/master/role/permission.(*service).GetRolePermissionTreeRole | key: permission_tree:1:all | service: service-general
[2026-04-07 06:46:48.593] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 663.753µs | method: GET | path: /api/v1/roles/permissions/role/1 | request_id: 302066e6-a4c4-46ee-b659-7921d3af5549 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 06:47:29.510] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 1.537762ms | method: GET | path: /api/v1/roles/master/1 | request_id: b79e6943-c15c-4718-a898-cc7d493c6b0d | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 06:47:29.528] [DEBUG] Cache hit for Role Permission Tree                      | 📍 service.go:662 | environment: debug | ⚙️ service/internal/master/role/permission.(*service).GetRolePermissionTreeRole | key: permission_tree:1:all | service: service-general
[2026-04-07 06:47:29.529] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 910.36µs | method: GET | path: /api/v1/roles/permissions/role/1 | request_id: 7005f275-dbe2-4858-a0fc-ead8c6a9cdc0 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 06:50:19.952] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 06:50:19.965] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 13.988038ms | method: GET | path: /api/v1/roles/master | request_id: 769fc0c0-a147-4606-9b73-266fdd9296ec | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 06:50:21.604] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 5.164026ms | method: GET | path: /api/v1/roles/master/1 | request_id: a05efea4-8fd2-466e-bb53-3ede82f2da47 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 06:50:21.669] [DEBUG] Cache hit for Role Permission Tree                      | 📍 service.go:662 | environment: debug | ⚙️ service/internal/master/role/permission.(*service).GetRolePermissionTreeRole | key: permission_tree:1:all | service: service-general
[2026-04-07 06:50:21.669] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 772.111µs | method: GET | path: /api/v1/roles/permissions/role/1 | request_id: 62b3cb89-8819-4b1d-8bf1-d8407b56fe6c | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 06:50:32.987] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 3.73798ms | method: GET | path: /api/v1/roles/pages/tree | query: active= | request_id: 04e4b549-f2b2-4066-b326-0c3990b2d956 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 06:50:34.365] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 06:50:34.367] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.266661ms | method: GET | path: /api/v1/roles/master | request_id: 45daac56-4277-4fc6-9f89-463b49084849 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 06:50:35.069] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 1.743306ms | method: GET | path: /api/v1/roles/pages/tree | query: active= | request_id: b1b2842b-aeb6-44dd-baa7-65fa48fc31c3 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 06:50:44.925] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 06:50:44.927] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.584501ms | method: GET | path: /api/v1/roles/master | request_id: 0db59b95-93bf-47fd-af10-9ff57b7398c8 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 06:50:47.737] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 17.802485ms | method: GET | path: /api/v1/roles/master/1 | request_id: 731c6b6b-370d-4a88-aa26-f4efa3c37f28 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 06:50:47.769] [DEBUG] Cache hit for Role Permission Tree                      | 📍 service.go:662 | environment: debug | ⚙️ service/internal/master/role/permission.(*service).GetRolePermissionTreeRole | key: permission_tree:1:all | service: service-general
[2026-04-07 06:50:47.770] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 794.271µs | method: GET | path: /api/v1/roles/permissions/role/1 | request_id: 9adc97a9-1d84-4154-95e1-fc1f013fc7db | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 06:51:57.396] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.494057ms | method: GET | path: /api/v1/roles/master/1 | request_id: 62cf55b2-9a46-470d-853f-206d0f5e0eb3 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 06:51:57.437] [DEBUG] Cache hit for Role Permission Tree                      | 📍 service.go:662 | environment: debug | ⚙️ service/internal/master/role/permission.(*service).GetRolePermissionTreeRole | key: permission_tree:1:all | service: service-general
[2026-04-07 06:51:57.437] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 686.642µs | method: GET | path: /api/v1/roles/permissions/role/1 | request_id: 7ca0a815-a0ac-4346-92e6-171eabe511b6 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 06:53:30.736] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 34.574519ms | method: GET | path: /api/v1/roles/master/1 | request_id: 24f2d056-7ba8-412b-997f-2ace52768ff2 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 06:53:30.775] [DEBUG] Cache hit for Role Permission Tree                      | 📍 service.go:662 | environment: debug | ⚙️ service/internal/master/role/permission.(*service).GetRolePermissionTreeRole | key: permission_tree:1:all | service: service-general
[2026-04-07 06:53:30.775] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 688.512µs | method: GET | path: /api/v1/roles/permissions/role/1 | request_id: deb54de5-4040-4eda-8616-f3c4b953d2e1 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 06:53:57.785] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.073034ms | method: GET | path: /api/v1/roles/master/1 | request_id: 9e893d18-1742-4b8b-b795-801a608a86d9 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 06:53:57.830] [DEBUG] Cache hit for Role Permission Tree                      | 📍 service.go:662 | environment: debug | ⚙️ service/internal/master/role/permission.(*service).GetRolePermissionTreeRole | key: permission_tree:1:all | service: service-general
[2026-04-07 06:53:57.830] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 740.054µs | method: GET | path: /api/v1/roles/permissions/role/1 | request_id: b6f2a02f-2d5f-4f3f-923a-b38482562934 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 06:54:06.856] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 1.623375ms | method: GET | path: /api/v1/roles/master/1 | request_id: 0ce76d1f-92b8-48f7-a757-9349f4230516 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 06:54:06.910] [DEBUG] Cache hit for Role Permission Tree                      | 📍 service.go:662 | environment: debug | ⚙️ service/internal/master/role/permission.(*service).GetRolePermissionTreeRole | key: permission_tree:1:all | service: service-general
[2026-04-07 06:54:06.910] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 695.997µs | method: GET | path: /api/v1/roles/permissions/role/1 | request_id: 37e00cc3-bfa8-4d94-bff3-6e293817bbbe | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 06:54:33.827] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 1.619349ms | method: GET | path: /api/v1/roles/master/1 | request_id: 54b897fb-6816-4e99-93ef-c3b01b4e5b7a | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 06:54:33.864] [DEBUG] Cache hit for Role Permission Tree                      | 📍 service.go:662 | environment: debug | ⚙️ service/internal/master/role/permission.(*service).GetRolePermissionTreeRole | key: permission_tree:1:all | service: service-general
[2026-04-07 06:54:33.864] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 734.227µs | method: GET | path: /api/v1/roles/permissions/role/1 | request_id: 4bf88314-dac2-49fa-a5fc-f3f50c449573 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 06:56:01.520] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 06:56:01.531] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 12.190331ms | method: GET | path: /api/v1/roles/master | request_id: 5f1d9e3d-b5fe-4fcd-ab42-af30bd5cb5c5 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 06:56:02.737] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 3.804901ms | method: GET | path: /api/v1/roles/pages/tree | query: active= | request_id: c0cd42bf-7832-46cc-9e64-60e3b5541cb2 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 06:56:07.249] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 06:56:07.251] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.098362ms | method: GET | path: /api/v1/roles/master | request_id: 570d1073-a75f-4e34-871f-a9a5cc16a8c4 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 06:56:09.068] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.847472ms | method: GET | path: /api/v1/roles/master/1 | request_id: 5d24d01b-4c66-40a3-83fa-b784f7ee7ddd | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 06:56:09.083] [DEBUG] Cache hit for Role Permission Tree                      | 📍 service.go:662 | environment: debug | ⚙️ service/internal/master/role/permission.(*service).GetRolePermissionTreeRole | key: permission_tree:1:all | service: service-general
[2026-04-07 06:56:09.083] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 741.488µs | method: GET | path: /api/v1/roles/permissions/role/1 | request_id: e25fea81-f789-4621-8746-235ff8ac8075 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 06:56:25.972] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 1.793789ms | method: GET | path: /api/v1/roles/master/1 | request_id: 95cd437c-4dfb-445f-a1a7-0359c386cea7 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 06:56:26.015] [DEBUG] Cache hit for Role Permission Tree                      | 📍 service.go:662 | environment: debug | ⚙️ service/internal/master/role/permission.(*service).GetRolePermissionTreeRole | key: permission_tree:1:all | service: service-general
[2026-04-07 06:56:26.015] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 744.231µs | method: GET | path: /api/v1/roles/permissions/role/1 | request_id: a98d52ba-ca4f-40da-a86a-48a3d551d070 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 06:57:41.125] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.369919ms | method: GET | path: /api/v1/roles/master/1 | request_id: 490e7204-e1b9-4885-bf03-93e7faa0063e | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 06:57:41.162] [DEBUG] Cache hit for Role Permission Tree                      | 📍 service.go:662 | environment: debug | ⚙️ service/internal/master/role/permission.(*service).GetRolePermissionTreeRole | key: permission_tree:1:all | service: service-general
[2026-04-07 06:57:41.162] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 870.047µs | method: GET | path: /api/v1/roles/permissions/role/1 | request_id: 11ec5246-477c-4afb-9cca-624c35965b20 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 06:58:15.096] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 23.558398ms | method: GET | path: /api/v1/roles/master/1 | request_id: 9521c256-cab9-46a4-9f79-c7fb09ddb14e | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 06:58:15.146] [DEBUG] Cache hit for Role Permission Tree                      | 📍 service.go:662 | environment: debug | ⚙️ service/internal/master/role/permission.(*service).GetRolePermissionTreeRole | key: permission_tree:1:all | service: service-general
[2026-04-07 06:58:15.146] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 819.65µs | method: GET | path: /api/v1/roles/permissions/role/1 | request_id: f3f5d5b1-ce7e-4f33-ac9a-d3a0382e6f92 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 06:59:36.548] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 1.993067ms | method: GET | path: /api/v1/roles/master/1 | request_id: 4af47468-ab71-4e82-b566-e6a3f0adfe19 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 06:59:36.586] [DEBUG] Cache hit for Role Permission Tree                      | 📍 service.go:662 | environment: debug | ⚙️ service/internal/master/role/permission.(*service).GetRolePermissionTreeRole | key: permission_tree:1:all | service: service-general
[2026-04-07 06:59:36.586] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 1.502195ms | method: GET | path: /api/v1/roles/permissions/role/1 | request_id: 45384b20-a99f-4276-8ba6-218a889d1396 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 06:59:51.786] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 555.428µs | method: GET | path: /api/v1/roles/permissions/role/1 | request_id: 9c9f04e4-2097-43bc-89e4-a37c423dc891 | service: service-general | status: 401 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 06:59:56.538] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 866.281µs | method: POST | path: /api/v1/auth/login | request_id: f5f5561c-382a-436b-95f5-778c180c9a55 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 07:00:05.895] [DEBUG] Cache hit for Role Permission Tree                      | 📍 service.go:662 | environment: debug | ⚙️ service/internal/master/role/permission.(*service).GetRolePermissionTreeRole | key: permission_tree:1:all | service: service-general
[2026-04-07 07:00:05.895] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 673.554µs | method: GET | path: /api/v1/roles/permissions/role/1 | request_id: 4dfdff00-20fa-44b5-a4a6-bf2f2c49a81d | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 07:02:26.244] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 624.651µs | method: GET | path: /api/v1/roles/master | request_id: 7cb2a8b6-1371-4c40-932d-1a9cae6ea9e3 | service: service-general | status: 401 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:02:26.297] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 37.880308ms | method: POST | path: /api/v1/auth/refresh | request_id: 8fe4d7fb-8c2e-4640-9e31-1fbc5671fd86 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:02:26.353] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 3.913795ms | method: GET | path: /api/v1/auth/info | request_id: a0afc29d-940d-4b82-b89b-0a376e0c1cc6 | service: service-general | status: 200 | user_agent: node
[2026-04-07 07:02:26.380] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 07:02:26.390] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 10.920024ms | method: GET | path: /api/v1/roles/master | request_id: d2343578-8790-4d1b-81b4-26e39924f8d6 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:02:27.409] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 5.598948ms | method: GET | path: /api/v1/roles/pages/tree | query: active= | request_id: dced66cd-d471-431c-9b71-851bbb3645af | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:02:28.223] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 07:02:28.225] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.19005ms | method: GET | path: /api/v1/roles/master | request_id: fab7cb0f-a57e-40a1-9159-94a1d2d5be29 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:02:30.107] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 29.402µs | method: OPTIONS | path: /api/v1/roles/master/1 | request_id: e8da9ea3-ae4e-4b90-a1af-1df8e2aa9ffa | service: service-general | status: 204 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:02:30.133] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.663557ms | method: GET | path: /api/v1/roles/master/1 | request_id: 89d1bb71-a449-46f1-92dc-cdbc9d0c418f | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:02:30.147] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 25.848µs | method: OPTIONS | path: /api/v1/roles/permissions/role/1 | request_id: 6e9d6a8a-febb-49fe-86f2-6421161b8fd3 | service: service-general | status: 204 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:02:30.195] [DEBUG] Cache hit for Role Permission Tree                      | 📍 service.go:662 | environment: debug | ⚙️ service/internal/master/role/permission.(*service).GetRolePermissionTreeRole | key: permission_tree:1:all | service: service-general
[2026-04-07 07:02:30.195] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 828.989µs | method: GET | path: /api/v1/roles/permissions/role/1 | request_id: 6576b149-92d1-4158-b009-ce6037261093 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:02:32.423] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 07:02:32.426] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.843088ms | method: GET | path: /api/v1/roles/master | request_id: 63f67c7f-572b-4dd8-95e9-338e512a30de | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:02:35.511] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.230368ms | method: GET | path: /api/v1/roles/pages/tree | query: active= | request_id: 99f60fd4-b42e-4a9a-901e-221e850e90b0 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:02:36.381] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 07:02:36.383] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.489735ms | method: GET | path: /api/v1/roles/master | request_id: 87a96bf9-aa4a-4a3b-96da-4ad44554ccd9 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:02:38.416] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 1.819725ms | method: GET | path: /api/v1/roles/master/1 | request_id: 5838b087-92e0-4bd4-b29b-9686ef408069 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:02:38.431] [DEBUG] Cache hit for Role Permission Tree                      | 📍 service.go:662 | environment: debug | ⚙️ service/internal/master/role/permission.(*service).GetRolePermissionTreeRole | key: permission_tree:1:all | service: service-general
[2026-04-07 07:02:38.431] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 594.905µs | method: GET | path: /api/v1/roles/permissions/role/1 | request_id: 9fc04a78-3949-438e-88d8-c134b442082e | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:04:23.892] [ERROR] Database query failed                                   | 📍 database.go:168 | duration_ms: 3.516502ms | environment: debug | ❌ ERROR: ERROR: invalid input syntax for type integer: "" (SQLSTATE 22P02) | ⚙️ service/internal/infrastructure/database.(*gormLoggerAdapter).Trace | request_id: 18df2170-0600-4598-bccd-85d28eeb706a | rows: 0 | service: service-general | sql: UPDATE "role_access"."rol_permission" SET "create"=true,"read"=false,"update"=false,"disable"=false,"delete"=false,"active"=false,"fk_rol_pages_id"=0,"role_keycloak"='',"group_keycloak"='',"created_at"=NULL,"updated_at"='2026-04-07 07:04:23.89' WHERE "id" = 8
[2026-04-07 07:04:23.893] [ERROR] HTTP Request                                            | 📍 middleware.go:173 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 9.597591ms | method: PUT | path: /api/v1/roles/permissions/8 | request_id: 18df2170-0600-4598-bccd-85d28eeb706a | service: service-general | status: 500 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 07:04:45.152] [ERROR] Database query failed                                   | 📍 database.go:168 | duration_ms: 1.051015ms | environment: debug | ❌ ERROR: ERROR: invalid input syntax for type integer: "superadmin" (SQLSTATE 22P02) | ⚙️ service/internal/infrastructure/database.(*gormLoggerAdapter).Trace | request_id: 6c5573bd-64e0-4a09-8e7f-5d86400b1f8e | rows: 0 | service: service-general | sql: UPDATE "role_access"."rol_permission" SET "create"=true,"read"=false,"update"=true,"disable"=false,"delete"=false,"active"=true,"fk_rol_pages_id"=4,"role_keycloak"='superadmin',"group_keycloak"='REKAM MEDIS',"created_at"=NULL,"updated_at"='2026-04-07 07:04:45.152' WHERE "id" = 8
[2026-04-07 07:04:45.153] [ERROR] HTTP Request                                            | 📍 middleware.go:173 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 3.465212ms | method: PUT | path: /api/v1/roles/permissions/8 | request_id: 6c5573bd-64e0-4a09-8e7f-5d86400b1f8e | service: service-general | status: 500 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-07 07:06:34.190] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 07:06:34.236] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 47.0297ms | method: GET | path: /api/v1/roles/master | request_id: 32a83e26-0acf-4d1f-a8c5-30e07baf564b | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:06:35.583] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 29.301µs | method: OPTIONS | path: /api/v1/roles/master/2 | request_id: 34d51e01-6eb4-4757-9402-c870046f4b69 | service: service-general | status: 204 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:06:35.645] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 21.741715ms | method: GET | path: /api/v1/roles/master/2 | request_id: 0f720261-5911-4a22-ad18-de7f512ca04f | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:06:35.656] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 34.534µs | method: OPTIONS | path: /api/v1/roles/permissions/role/2 | request_id: c58a4796-2728-4cd3-8ceb-03220f75aa4d | service: service-general | status: 204 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:06:35.666] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 3.752926ms | method: GET | path: /api/v1/roles/permissions/role/2 | request_id: 4a09d389-86ab-4d0b-9e4f-16bed70854bd | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:07:08.028] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 1.995513ms | method: GET | path: /api/v1/roles/master/2 | request_id: 8be97857-6f7d-455c-ad2d-72246390328b | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:07:08.083] [DEBUG] Cache hit for Role Permission Tree                      | 📍 service.go:662 | environment: debug | ⚙️ service/internal/master/role/permission.(*service).GetRolePermissionTreeRole | key: permission_tree:2:all | service: service-general
[2026-04-07 07:07:08.083] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 742.422µs | method: GET | path: /api/v1/roles/permissions/role/2 | request_id: 6d884ad7-7867-45fa-abfa-4b7d64ce9555 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:07:16.607] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 07:07:16.609] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.639345ms | method: GET | path: /api/v1/roles/master | request_id: 0973e599-dba4-4a1b-8076-b18f6f1aa2fd | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:07:18.320] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 1.822747ms | method: GET | path: /api/v1/roles/master/1 | request_id: 5da60eee-ddbb-4a6e-96ab-e764bd227646 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:07:18.342] [DEBUG] Cache hit for Role Permission Tree                      | 📍 service.go:662 | environment: debug | ⚙️ service/internal/master/role/permission.(*service).GetRolePermissionTreeRole | key: permission_tree:1:all | service: service-general
[2026-04-07 07:07:18.342] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 674.14µs | method: GET | path: /api/v1/roles/permissions/role/1 | request_id: f34cc75f-7a85-4419-aadc-f509b7fe79fd | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:07:28.403] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 543.829µs | method: GET | path: /api/v1/roles/master | request_id: 4902fcf3-ff84-4036-91c3-e5f01459252c | service: service-general | status: 401 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:07:28.454] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 37.888943ms | method: POST | path: /api/v1/auth/refresh | request_id: d10dbda9-2bfe-44a7-b0e3-16d91ea259d2 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:07:28.544] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 611.766µs | method: GET | path: /api/v1/auth/info | request_id: bdb5b31d-db9f-47d6-8e09-6c60cc013e33 | service: service-general | status: 200 | user_agent: node
[2026-04-07 07:07:28.568] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 07:07:28.596] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 28.09891ms | method: GET | path: /api/v1/roles/master | request_id: d42cbb20-03f5-47b2-a793-dad88815223e | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:07:30.238] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 22.705µs | method: OPTIONS | path: /api/v1/roles/master/3 | request_id: a20f3223-fce5-4261-9c5f-e106fb8ef619 | service: service-general | status: 204 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:07:30.248] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.038323ms | method: GET | path: /api/v1/roles/master/3 | request_id: 2c066468-be85-4660-88ce-7978d941853e | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:07:33.158] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 1.888263ms | method: GET | path: /api/v1/roles/master/1 | request_id: eabfdced-2ea7-4cf3-80cf-f47d65a310a6 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:07:33.171] [DEBUG] Cache hit for Role Permission Tree                      | 📍 service.go:662 | environment: debug | ⚙️ service/internal/master/role/permission.(*service).GetRolePermissionTreeRole | key: permission_tree:1:all | service: service-general
[2026-04-07 07:07:33.171] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 816.261µs | method: GET | path: /api/v1/roles/permissions/role/1 | request_id: 7f568223-2b8a-4f0b-babf-e6916269e06a | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:07:36.331] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 07:07:36.333] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.392858ms | method: GET | path: /api/v1/roles/master | request_id: 8afe0678-26fb-4868-a4f7-dd2b49871aca | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:07:38.450] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 34.657µs | method: OPTIONS | path: /api/v1/roles/master/12 | request_id: a60c6c44-094e-4208-8339-36788c483039 | service: service-general | status: 204 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:07:38.530] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 1.510602ms | method: GET | path: /api/v1/roles/master/12 | request_id: 8db6852a-09f7-45e8-9df4-2c17a2109bab | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:07:38.618] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 26.848µs | method: OPTIONS | path: /api/v1/roles/permissions/role/12 | request_id: df734410-228d-4523-8ffb-4b687dde2855 | service: service-general | status: 204 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:07:38.646] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 3.317479ms | method: GET | path: /api/v1/roles/permissions/role/12 | request_id: ec5b0d7e-6e2e-41d1-b722-04387439915d | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:07:40.506] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 07:07:40.508] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 1.95833ms | method: GET | path: /api/v1/roles/master | request_id: d5f3fa31-4a81-4024-ad4c-1a8692965c46 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:07:42.305] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 1.886371ms | method: GET | path: /api/v1/roles/master/2 | request_id: cd3c827d-721a-4c34-84a0-51171fb6e058 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:07:42.321] [DEBUG] Cache hit for Role Permission Tree                      | 📍 service.go:662 | environment: debug | ⚙️ service/internal/master/role/permission.(*service).GetRolePermissionTreeRole | key: permission_tree:2:all | service: service-general
[2026-04-07 07:07:42.321] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 712.693µs | method: GET | path: /api/v1/roles/permissions/role/2 | request_id: fc37baa5-fa40-46c1-abf2-2a0a090fb021 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:07:54.621] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 07:07:54.622] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 1.832539ms | method: GET | path: /api/v1/roles/master | request_id: 8e555dc2-43f6-49e8-960c-757faf444603 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:07:57.518] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 1.695165ms | method: GET | path: /api/v1/roles/master/1 | request_id: 8d93315e-d6df-4109-93b1-669ab8d5739c | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:07:57.537] [DEBUG] Cache hit for Role Permission Tree                      | 📍 service.go:662 | environment: debug | ⚙️ service/internal/master/role/permission.(*service).GetRolePermissionTreeRole | key: permission_tree:1:all | service: service-general
[2026-04-07 07:07:57.537] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 558.393µs | method: GET | path: /api/v1/roles/permissions/role/1 | request_id: 1ecd38f1-091d-4e9d-abf7-6462c98d2244 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:08:05.020] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 07:08:05.022] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.184276ms | method: GET | path: /api/v1/roles/master | request_id: 8ca00bbc-9f6b-4087-8c3b-a0089768514f | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:08:08.862] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 3.570703ms | method: GET | path: /api/v1/roles/pages/tree | query: active= | request_id: 40df2981-b7f6-468f-bd70-22bcf8c613a2 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:08:10.299] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 07:08:10.301] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.181116ms | method: GET | path: /api/v1/roles/master | request_id: 1c2cbf7e-9fc9-4eb0-b55e-e1edbced2935 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:08:11.986] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 1.72299ms | method: GET | path: /api/v1/roles/master/12 | request_id: b4f0705d-6292-4688-855d-d034bb60b692 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:08:17.264] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 17.091764ms | method: GET | path: /api/v1/roles/pages/tree | query: active= | request_id: 4f94a871-ec8f-4b90-b76d-6709476aa63f | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:08:17.712] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 07:08:17.713] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 1.948912ms | method: GET | path: /api/v1/roles/master | request_id: 93d8e987-b8e0-4a9b-8dcc-dc6a1e1c717d | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:08:20.957] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.618089ms | method: GET | path: /api/v1/roles/pages/tree | query: active= | request_id: 7d683918-50a8-4a00-9ffe-6428c6a35a93 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:08:21.582] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 07:08:21.583] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 1.451257ms | method: GET | path: /api/v1/roles/master | request_id: f240698b-c92f-4efc-af87-a7f4f20d40d6 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:09:04.346] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 45.736159ms | method: GET | path: /api/v1/roles/pages/tree | query: active= | request_id: a79c7013-db5d-48e7-a9b8-73f39b99b03c | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:09:12.669] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.759918ms | method: GET | path: /api/v1/roles/pages/tree | query: active=true | request_id: 766b83fe-afd7-4bc8-81eb-3fccd8214b71 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:09:34.796] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 07:09:34.797] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.126338ms | method: GET | path: /api/v1/roles/master | request_id: 63a283fe-d177-4873-9f79-f287d1adcacb | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:09:37.384] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.309358ms | method: GET | path: /api/v1/roles/pages/tree | query: active= | request_id: 686f1b05-19eb-4384-ac00-0fa25c3ce821 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:09:38.772] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 07:09:38.774] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.211664ms | method: GET | path: /api/v1/roles/master | request_id: a67e9e32-382d-4c83-9a11-d4513595158b | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:09:56.666] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.333424ms | method: GET | path: /api/v1/roles/pages/tree | query: active= | request_id: 5dd1469b-3aa4-4071-ab81-793e986a2123 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:09:59.191] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.361732ms | method: GET | path: /api/v1/roles/pages/tree | query: active= | request_id: 729c0dfb-796b-4709-a2e4-cffc0a0b0926 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:09:59.730] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 07:09:59.732] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.277969ms | method: GET | path: /api/v1/roles/master | request_id: b8cb8937-7087-4fa8-b7f4-27f99abc22dd | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:10:00.455] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.076514ms | method: GET | path: /api/v1/roles/pages/tree | query: active= | request_id: a7904a64-94bf-495f-b880-58c46c15b933 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:10:01.121] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 07:10:01.123] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 1.895603ms | method: GET | path: /api/v1/roles/master | request_id: 46780c19-8134-4b36-aaf6-c73eeb44b3de | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:10:01.856] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 33.068841ms | method: GET | path: /api/v1/roles/pages/tree | query: active= | request_id: 4c740b74-1793-4d51-930e-110e9e26d038 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:13:57.194] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 1.13512ms | method: GET | path: /api/v1/roles/master | request_id: 1e1971a7-ba4e-4ebe-8453-61437e3061f7 | service: service-general | status: 401 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:13:57.257] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 44.070752ms | method: POST | path: /api/v1/auth/refresh | request_id: f86c8c1f-0694-42e3-9ecf-3dc8a829bed9 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:13:57.287] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 712.872µs | method: GET | path: /api/v1/auth/info | request_id: 7f48d8e2-1517-4634-8a8e-ce558d91b8d8 | service: service-general | status: 200 | user_agent: node
[2026-04-07 07:13:57.302] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 07:13:57.314] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 12.118768ms | method: GET | path: /api/v1/roles/master | request_id: d79b8e22-6a3e-491a-95c7-b0edb8902c91 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:15:41.519] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 3.216234ms | method: GET | path: /api/v1/roles/master/1 | request_id: f86ed8ce-b572-4aef-8438-b3e87a75178a | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:15:41.529] [DEBUG] Cache hit for Role Permission Tree                      | 📍 service.go:662 | environment: debug | ⚙️ service/internal/master/role/permission.(*service).GetRolePermissionTreeRole | key: permission_tree:1:all | service: service-general
[2026-04-07 07:15:41.529] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 733.438µs | method: GET | path: /api/v1/roles/permissions/role/1 | request_id: 766cb606-b659-4cfc-95f0-bb177a52984f | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:15:47.069] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 07:15:47.071] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.234034ms | method: GET | path: /api/v1/roles/master | request_id: efc6277c-ff5a-4ccb-b881-b9a62e6e09eb | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:15:48.539] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.304239ms | method: GET | path: /api/v1/roles/master/1 | request_id: aae2ee90-7068-4014-8435-f42dc0723f92 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:15:48.558] [DEBUG] Cache hit for Role Permission Tree                      | 📍 service.go:662 | environment: debug | ⚙️ service/internal/master/role/permission.(*service).GetRolePermissionTreeRole | key: permission_tree:1:all | service: service-general
[2026-04-07 07:15:48.559] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 706.614µs | method: GET | path: /api/v1/roles/permissions/role/1 | request_id: 24d7890e-d486-4f20-9f31-240b96ee9616 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:15:55.554] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 4.144981ms | method: GET | path: /api/v1/roles/pages/tree | query: active= | request_id: 6d4026d3-a67a-4229-886b-2ff083417e0a | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:15:57.446] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 07:15:57.448] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.477313ms | method: GET | path: /api/v1/roles/master | request_id: 85267ef1-23b2-40dd-a30f-1e666f4dcfc7 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:15:58.064] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 1.946528ms | method: GET | path: /api/v1/roles/pages/tree | query: active= | request_id: 77732633-28ea-4775-a803-6f8391850863 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:16:02.591] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 3.400319ms | method: GET | path: /api/v1/roles/pages/tree | query: active=true | request_id: a70473e9-b995-47d7-bdf0-20bf3f7ff669 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:16:16.379] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.094339ms | method: GET | path: /api/v1/roles/pages/tree | query: active= | request_id: 429af801-45df-49e7-92e6-99c5944bddfb | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:16:17.648] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.527242ms | method: GET | path: /api/v1/roles/pages/tree | query: active=true | request_id: caaca5e6-33d6-43e1-9d36-f3aa45b4defc | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:16:21.104] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 07:16:21.106] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.521683ms | method: GET | path: /api/v1/roles/master | request_id: ccdf190b-2e42-4fee-b039-dd46b6f0d98d | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:16:22.521] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 1.452948ms | method: GET | path: /api/v1/roles/master/1 | request_id: 431abd21-09df-46a5-b3db-fce71f634fdf | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:16:22.535] [DEBUG] Cache hit for Role Permission Tree                      | 📍 service.go:662 | environment: debug | ⚙️ service/internal/master/role/permission.(*service).GetRolePermissionTreeRole | key: permission_tree:1:all | service: service-general
[2026-04-07 07:16:22.535] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 617.623µs | method: GET | path: /api/v1/roles/permissions/role/1 | request_id: 57e05c4b-49ba-417a-b764-9bbe76722009 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:16:24.499] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 07:16:24.527] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 28.94517ms | method: GET | path: /api/v1/roles/master | request_id: 311c929c-e3da-41d1-917c-25cbb1dc4b6e | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:16:31.951] [INFO ] Application starting                                    | 📍 main.go:77 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-07 07:16:31.951] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:92 | database_count: 3 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-07 07:16:31.951] [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-07 07:16:31.989] [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-07 07:16:31.989] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 07:16:31.999] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-07 07:16:31.999] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 07:16:32.020] [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-07 07:16:32.020] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 07:16:32.022] [INFO ] Cache initialized                                       | 📍 main.go:133 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-07 07:16:32.023] [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/sandbox | service: service-general | static_tokens_len: 4
[2026-04-07 07:16:32.023] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-07 07:16:32.023] [INFO ] Registered RolPermission gRPC service                   | 📍 server.go:35 | environment: debug | ⚙️ service/internal/infrastructure/transport/grpc/servers.NewGRPCServer | service: service-general
[2026-04-07 07:16:32.024] [INFO ] Application started successfully                        | 📍 main.go:328 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-07 07:16:32.024] [INFO ] REST API running                                        | 📍 main.go:267 | environment: debug | ⚙️ main.main.func1 | port: 8094 | service: service-general
[2026-04-07 07:16:32.024] [INFO ] gRPC Server running                                     | 📍 main.go:294 | environment: debug | ⚙️ main.main.func2 | port: 8095 | service: service-general
[2026-04-07 07:16:36.843] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 1.658306ms | method: GET | path: /swagger/index.html | request_id: b173e762-265c-4700-a1ed-613842aa4d59 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:16:38.258] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 353.41µs | method: GET | path: /swagger/index.html | request_id: e2f701f5-0cd4-420e-a9dc-b6f5028453ec | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:16:38.712] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 336.966µs | method: GET | path: /swagger/index.html | request_id: aebe29da-2bfa-495b-9d0b-c0085a3c20b8 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:16:38.908] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 316.421µs | method: GET | path: /swagger/index.html | request_id: 26502d05-493f-4f2f-b310-bd8c93b99a31 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:16:39.062] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 424.042µs | method: GET | path: /swagger/index.html | request_id: 0d132927-053d-4e57-b62b-0489698f70ac | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:16:39.225] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 279.467µs | method: GET | path: /swagger/index.html | request_id: 1663aa9f-19f1-472d-92c6-f118a2f0e285 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:16:39.396] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 346.465µs | method: GET | path: /swagger/index.html | request_id: c2ce45cb-53a5-472d-abcd-c6609ce0db3e | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:16:39.938] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 274.344µs | method: GET | path: /swagger/index.html | request_id: 13415199-cf52-4012-b6c1-7118a944c6ef | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:16:40.126] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 319.627µs | method: GET | path: /swagger/index.html | request_id: 58602026-f60c-4cf2-b7ce-6f7fb6f48dd7 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:16:40.310] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 320.254µs | method: GET | path: /swagger/index.html | request_id: aaa9d078-33de-47dc-beb5-edad1ce72c3f | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:16:40.488] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 305.773µs | method: GET | path: /swagger/index.html | request_id: acbce1b0-8e79-4d02-ab71-89f2d6ad6b53 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:16:40.663] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 289.165µs | method: GET | path: /swagger/index.html | request_id: 6aeb63d3-f58c-401b-8959-a8ef694bd3e2 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:16:40.833] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 298.716µs | method: GET | path: /swagger/index.html | request_id: 4fcc3477-be3a-4c5a-96be-453a0a874aa8 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:18:14.112] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 07:18:14.117] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 45.044834ms | method: GET | path: /api/v1/roles/master | request_id: 504e1df7-baaa-46c3-a8a9-3e0c80947055 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:18:15.916] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 4.837571ms | method: GET | path: /api/v1/roles/pages/tree | query: active= | request_id: 648e496f-d2d3-49d5-893f-3387dc296b26 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:18:16.581] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 07:18:16.583] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.038458ms | method: GET | path: /api/v1/roles/master | request_id: 213050b1-c0e9-49cc-93b3-e34bb771890c | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:18:18.636] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.464915ms | method: GET | path: /api/v1/roles/master/12 | request_id: 12c13b4b-a9e0-4602-b836-aa07f7004ed3 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:18:18.655] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 3.052115ms | method: GET | path: /api/v1/roles/permissions/role/12 | request_id: 5269b31e-4e59-4a1f-ae48-6ea6815bf155 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:18:20.539] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 07:18:20.541] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.460455ms | method: GET | path: /api/v1/roles/master | request_id: 176597cc-81b2-4e4f-9d5f-9b7f9150c542 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:18:21.906] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.155627ms | method: GET | path: /api/v1/roles/master/1 | request_id: bd1ddbaf-48d4-4778-a53a-a9d3e7371e57 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:18:21.923] [DEBUG] Cache hit for Role Permission Tree                      | 📍 service.go:662 | environment: debug | ⚙️ service/internal/master/role/permission.(*service).GetRolePermissionTreeRole | key: permission_tree:1:all | service: service-general
[2026-04-07 07:18:21.924] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 1.065989ms | method: GET | path: /api/v1/roles/permissions/role/1 | request_id: 5604ef97-ab8b-4e5b-832f-71a2653f240f | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:18:28.384] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 07:18:28.386] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.161497ms | method: GET | path: /api/v1/roles/master | request_id: ea278c70-5904-4957-b1ca-4383f1ad0b98 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:18:29.751] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.435971ms | method: GET | path: /api/v1/roles/pages/tree | query: active= | request_id: 2568fd03-3870-4e7b-a01e-858ab03d2939 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:18:31.980] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.649497ms | method: GET | path: /api/v1/roles/pages/tree | query: active=true | request_id: 3573e9e4-1a15-4fd9-9239-cb88ee9220f4 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:18:33.901] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 07:18:33.902] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 1.618943ms | method: GET | path: /api/v1/roles/master | request_id: 4f0cdb72-9132-4888-a34e-c1b58107f079 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:18:35.344] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 28.456029ms | method: GET | path: /api/v1/roles/master/1 | request_id: 526313fb-ca00-4ca1-83d6-48a6a80927ff | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:18:35.405] [DEBUG] Cache hit for Role Permission Tree                      | 📍 service.go:662 | environment: debug | ⚙️ service/internal/master/role/permission.(*service).GetRolePermissionTreeRole | key: permission_tree:1:all | service: service-general
[2026-04-07 07:18:35.405] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 748.458µs | method: GET | path: /api/v1/roles/permissions/role/1 | request_id: ee6de5f0-6e14-4a43-9624-5d3620ab9ca4 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:18:36.779] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 07:18:36.781] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.661351ms | method: GET | path: /api/v1/roles/master | request_id: 78d345ae-754e-4c4b-a80e-680c5c956ea8 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:18:49.114] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 1.950454ms | method: GET | path: /api/v1/roles/master/1 | request_id: 80ba42a7-573d-47b9-945b-3a49db5d56eb | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:18:49.147] [DEBUG] Cache hit for Role Permission Tree                      | 📍 service.go:662 | environment: debug | ⚙️ service/internal/master/role/permission.(*service).GetRolePermissionTreeRole | key: permission_tree:1:all | service: service-general
[2026-04-07 07:18:49.147] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 714.232µs | method: GET | path: /api/v1/roles/permissions/role/1 | request_id: c6f416e4-fa61-4943-8549-5e8ac13c728c | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:20:00.868] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 784.748µs | method: GET | path: /api/v1/roles/master | request_id: 4045449e-dd18-46b3-a2d0-9888845503b0 | service: service-general | status: 401 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:20:00.955] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 28.587838ms | method: POST | path: /api/v1/auth/refresh | request_id: 3319d289-a20b-4079-a9ee-ae716e46bfd4 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:20:00.988] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 595.655µs | method: GET | path: /api/v1/auth/info | request_id: 82302579-853d-406b-8ffa-1f1f9397a49b | service: service-general | status: 200 | user_agent: node
[2026-04-07 07:20:00.998] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 07:20:01.000] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 1.997995ms | method: GET | path: /api/v1/roles/master | request_id: 78a8ead3-3077-40c4-b1f2-7b9eeca7d8bd | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:20:04.604] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.273476ms | method: GET | path: /api/v1/roles/pages/tree | query: active= | request_id: 1db2b2fa-49b2-4692-bf5a-310976f73522 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:20:05.573] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 07:20:05.574] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 1.809191ms | method: GET | path: /api/v1/roles/master | request_id: 5e877db8-976f-428e-87ab-e9e6316783bf | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:22:45.055] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 07:22:45.071] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 16.603582ms | method: GET | path: /api/v1/roles/master | request_id: cdcd92f3-0a2b-449f-8c26-77ccbec77ef5 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:22:45.554] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 07:22:45.556] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 1.76747ms | method: GET | path: /api/v1/roles/master | request_id: 352ff4a2-9772-4248-b263-3b0ff265f2b3 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:23:41.858] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 3.16732ms | method: GET | path: /api/v1/roles/master/3 | request_id: 9ef7c754-7871-4b3f-af35-3b04024d6e09 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:23:44.714] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 1.858789ms | method: GET | path: /api/v1/roles/master/2 | request_id: 07be947e-0365-4695-b929-94123df40d40 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:23:44.831] [DEBUG] Cache hit for Role Permission Tree                      | 📍 service.go:662 | environment: debug | ⚙️ service/internal/master/role/permission.(*service).GetRolePermissionTreeRole | key: permission_tree:2:all | service: service-general
[2026-04-07 07:23:44.831] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 817.641µs | method: GET | path: /api/v1/roles/permissions/role/2 | request_id: 29cf6b63-a9df-4a36-897d-203a0476e254 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:23:46.332] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 07:23:46.334] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.26088ms | method: GET | path: /api/v1/roles/master | request_id: a4943f0e-80af-4ebf-bbcb-9931a1073a1b | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:23:47.585] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 1.6879ms | method: GET | path: /api/v1/roles/master/12 | request_id: 14f73525-42ac-46b5-bad9-2207eb6f1a2f | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:23:52.383] [DEBUG] Database query executed                                 | 📍 database.go:174 | duration_ms: 3.205075ms | environment: debug | ⚙️ service/internal/infrastructure/database.(*gormLoggerAdapter).Trace | request_id: 8a57fd84-eccf-4e4e-8da3-59631c4d2af3 | rows: 1 | service: service-general | sql: UPDATE "role_access"."rol_master" SET "name"='tes 2',"active"=true,"created_at"=NULL,"updated_at"='2026-04-07 07:23:52.38' WHERE "id" = 12
[2026-04-07 07:23:52.383] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 5.476575ms | method: PUT | path: /api/v1/roles/master/12 | request_id: 8a57fd84-eccf-4e4e-8da3-59631c4d2af3 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:23:52.435] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 07:23:52.436] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 1.684678ms | method: GET | path: /api/v1/roles/master | request_id: ba3fd83b-996b-4139-b715-6d9318838fa7 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:23:54.348] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.276633ms | method: GET | path: /api/v1/roles/master/12 | request_id: d1e9a5ff-3b0b-4940-90f8-8a40cca7f066 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:23:56.833] [DEBUG] Database query executed                                 | 📍 database.go:174 | duration_ms: 1.74401ms | environment: debug | ⚙️ service/internal/infrastructure/database.(*gormLoggerAdapter).Trace | request_id: 3abae369-c40f-4d9e-906e-616a29f11877 | rows: 1 | service: service-general | sql: UPDATE "role_access"."rol_master" SET "name"='tes 2',"active"=false,"created_at"=NULL,"updated_at"='2026-04-07 07:23:56.832' WHERE "id" = 12
[2026-04-07 07:23:56.834] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 3.559629ms | method: PUT | path: /api/v1/roles/master/12 | request_id: 3abae369-c40f-4d9e-906e-616a29f11877 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:23:56.875] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 07:23:56.876] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 1.5753ms | method: GET | path: /api/v1/roles/master | request_id: fdc9012f-e141-48e4-a10d-5d9d4ed8d792 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:23:59.661] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 1.673245ms | method: GET | path: /api/v1/roles/master/12 | request_id: e72829dd-89aa-427c-b158-455da33b8680 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:24:03.286] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 3.952749ms | method: GET | path: /api/v1/roles/pages/tree | query: active= | request_id: d667afd7-598f-4de8-8ac4-70e04ace35b4 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:24:03.977] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 07:24:03.978] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.257002ms | method: GET | path: /api/v1/roles/master | request_id: e6a08926-210f-4c37-9736-4dc96296664d | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:24:06.962] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.153927ms | method: GET | path: /api/v1/roles/pages/tree | query: active= | request_id: 45136bfc-066d-487a-afe4-adc2e7e19102 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:24:07.606] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 07:24:07.607] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 1.814231ms | method: GET | path: /api/v1/roles/master | request_id: a15cd589-4409-4874-826b-f8a5eec1e8c3 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:24:13.712] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 1.737089ms | method: GET | path: /api/v1/roles/master/2 | request_id: e6652fac-cbd6-4efb-a4ad-beb846196588 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:24:13.723] [DEBUG] Cache hit for Role Permission Tree                      | 📍 service.go:662 | environment: debug | ⚙️ service/internal/master/role/permission.(*service).GetRolePermissionTreeRole | key: permission_tree:2:all | service: service-general
[2026-04-07 07:24:13.723] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 573.479µs | method: GET | path: /api/v1/roles/permissions/role/2 | request_id: 262f5282-d566-4da0-9af8-fc90eed7f05c | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:24:16.291] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 07:24:16.293] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.262315ms | method: GET | path: /api/v1/roles/master | request_id: 3736767f-4a80-4b25-90ca-f4775ef45825 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:24:17.011] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 1.760889ms | method: GET | path: /api/v1/roles/pages/tree | query: active= | request_id: 58a41ae9-9c66-4e10-b753-a790237f358c | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:24:20.205] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.063751ms | method: GET | path: /api/v1/roles/pages/tree | query: active= | request_id: 42446d5c-3812-4eef-9148-b3b2e757e5a4 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:24:20.760] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 07:24:20.761] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 1.820441ms | method: GET | path: /api/v1/roles/master | request_id: d57dcca4-1d4a-45be-9685-1ed2ad23651a | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:24:26.576] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 1.897374ms | method: GET | path: /api/v1/roles/master/12 | request_id: 6c47ccf8-7857-43c7-b625-4aeca08c93e4 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:24:26.610] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 3.338463ms | method: GET | path: /api/v1/roles/permissions/role/12 | request_id: 62bb5077-6f2b-4c5f-b522-e418225c85b7 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:24:28.135] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 07:24:28.136] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.348298ms | method: GET | path: /api/v1/roles/master | request_id: 55f947ab-6f85-4866-9b7f-860855d08d81 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:25:04.311] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 718.266µs | method: GET | path: /api/v1/roles/pages/tree | query: active= | request_id: 7f5b9629-9156-46ae-bfeb-f14056560c74 | service: service-general | status: 401 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:25:04.363] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 41.960237ms | method: POST | path: /api/v1/auth/refresh | request_id: 0b30ae56-c199-45fb-9472-3ec80b56fd52 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:25:04.397] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 643.871µs | method: GET | path: /api/v1/auth/info | request_id: 238a03ba-0cf3-4d7f-b3b9-ae71759a0268 | service: service-general | status: 200 | user_agent: node
[2026-04-07 07:25:04.430] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.357987ms | method: GET | path: /api/v1/roles/pages/tree | query: active= | request_id: 28f2e1a7-6f12-4ef8-b1da-b7355d4987c9 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:25:07.943] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 07:25:07.945] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.040626ms | method: GET | path: /api/v1/roles/master | request_id: 11a783d2-8a78-4350-a4c9-7e4dab8029dc | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:25:08.786] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 1.817232ms | method: GET | path: /api/v1/roles/pages/tree | query: active= | request_id: a7688e10-ba69-4fb7-8b1a-ab49d6040a10 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:25:09.386] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 07:25:09.388] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.233275ms | method: GET | path: /api/v1/roles/master | request_id: 3e740967-b34d-4aee-9cac-6595cef7ccd0 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:25:11.015] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.030255ms | method: GET | path: /api/v1/roles/pages/tree | query: active= | request_id: a4405184-0407-4e58-971b-1bf39d240e89 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:25:11.906] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 07:25:11.908] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.061466ms | method: GET | path: /api/v1/roles/master | request_id: 5f3de05f-5ff1-4873-9517-2c4a288fdb5c | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:25:13.650] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 1.677028ms | method: GET | path: /api/v1/roles/master/1 | request_id: 8db821fd-8835-497d-9067-998937a2f8b7 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:25:13.664] [DEBUG] Cache hit for Role Permission Tree                      | 📍 service.go:662 | environment: debug | ⚙️ service/internal/master/role/permission.(*service).GetRolePermissionTreeRole | key: permission_tree:1:all | service: service-general
[2026-04-07 07:25:13.664] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 616.135µs | method: GET | path: /api/v1/roles/permissions/role/1 | request_id: e9042079-0278-46b2-b083-3da74174e628 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:25:26.831] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 07:25:26.833] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.82736ms | method: GET | path: /api/v1/roles/master | request_id: 6028d273-7423-44a3-ae4d-bb2ddc4815e8 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:26:38.097] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 07:26:38.099] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.850464ms | method: GET | path: /api/v1/roles/master | request_id: 34288737-4fce-4269-91a7-0ceab05ce1e1 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:26:39.538] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.269374ms | method: GET | path: /api/v1/roles/pages/tree | query: active= | request_id: 68bc4958-0978-424b-aa7b-44dcd5ca3f96 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:26:56.563] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 07:26:56.565] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.288003ms | method: GET | path: /api/v1/roles/master | request_id: 3c953cfd-d087-4f53-a133-ba47ad81bcea | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:27:08.145] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.06592ms | method: GET | path: /api/v1/roles/pages/tree | query: active= | request_id: 0563fb07-d1e5-407c-b093-9c75d078952d | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:27:11.863] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 07:27:11.867] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 3.809273ms | method: GET | path: /api/v1/roles/master | request_id: f685e8d9-47b2-4655-a33c-936cb505b94b | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:27:16.943] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 10.801862ms | method: GET | path: /api/v1/roles/pages/tree | query: active= | request_id: d9d7552b-7312-4ac7-be81-3819f86bacf2 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:27:20.252] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 1.753184ms | method: GET | path: /api/v1/roles/pages/tree | query: active= | request_id: bd73039e-7319-4f2b-a398-e9c2adcaff24 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:27:25.230] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 07:27:25.231] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.164912ms | method: GET | path: /api/v1/roles/master | request_id: de294fd7-6b0e-4a00-b272-eaaae405194b | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:27:26.703] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 1.752406ms | method: GET | path: /api/v1/roles/master/1 | request_id: 8e1d2754-40b2-4770-85c1-d8a8d218643d | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:27:26.732] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.227193ms | method: GET | path: /api/v1/roles/permissions/role/1 | request_id: 5cf9f9c8-2095-44e9-805d-c52a56224d1a | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:28:34.931] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 10.291703ms | method: GET | path: /api/v1/roles/pages/tree | query: active= | request_id: 9d0b2687-be8c-496a-a65d-829927e5bff6 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:28:46.009] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 07:28:46.013] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 3.8842ms | method: GET | path: /api/v1/roles/master | request_id: e65f130d-4596-4d82-aeb9-8c5cd703a3d1 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:28:47.418] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.339886ms | method: GET | path: /api/v1/roles/master/1 | request_id: bdd9c72e-4ea5-4976-b931-230fb3fe4108 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:28:47.442] [DEBUG] Cache hit for Role Permission Tree                      | 📍 service.go:662 | environment: debug | ⚙️ service/internal/master/role/permission.(*service).GetRolePermissionTreeRole | key: permission_tree:1:all | service: service-general
[2026-04-07 07:28:47.442] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 686.102µs | method: GET | path: /api/v1/roles/permissions/role/1 | request_id: 2a2a1584-2527-4409-9d06-a44b122d37d3 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:28:49.249] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 07:28:49.251] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.577137ms | method: GET | path: /api/v1/roles/master | request_id: c3083275-9463-4eeb-90f7-9e8832cac43d | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:28:51.333] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 1.932827ms | method: GET | path: /api/v1/roles/master/1 | request_id: 5ba65afe-382b-4355-a17e-d4a49e3cc6c5 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:28:54.253] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.010025ms | method: GET | path: /api/v1/roles/master/1 | request_id: 5a20367c-599c-4130-8631-c3bb53982705 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:28:54.278] [DEBUG] Cache hit for Role Permission Tree                      | 📍 service.go:662 | environment: debug | ⚙️ service/internal/master/role/permission.(*service).GetRolePermissionTreeRole | key: permission_tree:1:all | service: service-general
[2026-04-07 07:28:54.278] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 721.14µs | method: GET | path: /api/v1/roles/permissions/role/1 | request_id: b3b77450-798e-4fdb-b565-45a97451de6d | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:29:00.516] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 07:29:00.517] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.12807ms | method: GET | path: /api/v1/roles/master | request_id: 9c966c8d-646b-404c-8708-a8308bf3b277 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:29:03.312] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.07534ms | method: GET | path: /api/v1/roles/pages/tree | query: active= | request_id: c95c3a60-741d-4842-9116-5c91b6d0591d | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:32:18.605] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 851.906µs | method: GET | path: /api/v1/roles/master | request_id: a9d4274b-079b-4995-95a4-2eb1b36709cf | service: service-general | status: 401 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:32:18.654] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 30.810188ms | method: POST | path: /api/v1/auth/refresh | request_id: 4c16a285-610e-4970-ac98-6f14e785a652 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:32:18.697] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 606.014µs | method: GET | path: /api/v1/auth/info | request_id: 83631349-4aeb-4a9e-b328-c1dba42f5ce0 | service: service-general | status: 200 | user_agent: node
[2026-04-07 07:32:18.710] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 07:32:18.712] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 1.916652ms | method: GET | path: /api/v1/roles/master | request_id: 36b407d7-4226-49c2-a1be-177670b9d1df | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:32:19.551] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.039965ms | method: GET | path: /api/v1/roles/pages/tree | query: active= | request_id: ec8ae9c7-62ce-4cb2-80ee-0292b5515205 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:32:20.098] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 07:32:20.099] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 1.579057ms | method: GET | path: /api/v1/roles/master | request_id: 41c425e6-fc17-48a8-a84b-d92a55bd50f7 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:32:20.902] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 1.411729ms | method: GET | path: /api/v1/roles/pages/tree | query: active= | request_id: 1264412f-8a30-4f69-bb2e-fce085b94858 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:32:21.335] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 07:32:21.336] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 1.717931ms | method: GET | path: /api/v1/roles/master | request_id: d872a179-0680-4569-9527-b1c67cd9c6bb | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:32:21.936] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 1.452329ms | method: GET | path: /api/v1/roles/pages/tree | query: active= | request_id: 7227f2ae-8be5-4c82-a76c-794e0e3e7592 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:32:22.909] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 07:32:22.910] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 1.800629ms | method: GET | path: /api/v1/roles/master | request_id: a9471472-bd77-4e0d-88b0-c65aa45a87e7 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:32:23.484] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 1.576336ms | method: GET | path: /api/v1/roles/pages/tree | query: active= | request_id: 171269d2-fcfe-46f0-baf9-a73b9f8282f5 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:32:29.887] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 07:32:29.888] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 1.904094ms | method: GET | path: /api/v1/roles/master | request_id: 72609ed4-1141-4fa2-973b-3b1700f5b20b | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:32:33.507] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 1.769479ms | method: GET | path: /api/v1/roles/pages/tree | query: active= | request_id: 08034813-0b75-42fa-8b67-c6cccd690db6 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:32:34.025] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 07:32:34.026] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 1.780875ms | method: GET | path: /api/v1/roles/master | request_id: 83858328-c6c5-4a70-af64-8dc3ca073c86 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:37:37.854] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 681.18µs | method: GET | path: /api/v1/roles/pages/tree | query: active= | request_id: ab3606a1-0e25-4a6a-9c88-d4fc314a54f8 | service: service-general | status: 401 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:37:37.917] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 50.162222ms | method: POST | path: /api/v1/auth/refresh | request_id: 72971243-2273-4e52-85dd-957f65162306 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:37:37.969] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 538.036µs | method: GET | path: /api/v1/auth/info | request_id: 32fad94c-b317-44f8-8ac0-c745c8d6f46e | service: service-general | status: 200 | user_agent: node
[2026-04-07 07:37:37.993] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 11.961851ms | method: GET | path: /api/v1/roles/pages/tree | query: active= | request_id: 74f4ac48-58e0-4a6b-a12b-40a3d9036ffe | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:37:38.591] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 07:37:38.594] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 3.253469ms | method: GET | path: /api/v1/roles/master | request_id: 6c811f23-b392-4545-a86a-be791bd4cc3a | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:38:11.143] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.501923ms | method: GET | path: /api/v1/roles/master/1 | request_id: 7bdbd99f-0547-4bce-89c9-918267e9cc92 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:38:11.154] [DEBUG] Cache hit for Role Permission Tree                      | 📍 service.go:662 | environment: debug | ⚙️ service/internal/master/role/permission.(*service).GetRolePermissionTreeRole | key: permission_tree:1:all | service: service-general
[2026-04-07 07:38:11.154] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 781.153µs | method: GET | path: /api/v1/roles/permissions/role/1 | request_id: 178d3874-2ac1-455d-8ac9-b6f19562f80d | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:38:13.956] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 07:38:13.958] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.087436ms | method: GET | path: /api/v1/roles/master | request_id: 39832e16-4233-4e84-b81a-132b2e8dbf99 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:39:48.134] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 1.825108ms | method: GET | path: /api/v1/roles/master/2 | request_id: 4744e8bf-c0ff-4261-b474-eae62c8dc155 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:45:01.942] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 733.197µs | method: GET | path: /api/v1/roles/master/1 | request_id: 85f9fb72-2baa-433f-92aa-28e2aba4a54f | service: service-general | status: 401 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:45:01.994] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 45.265461ms | method: POST | path: /api/v1/auth/refresh | request_id: 45b0e2f4-b470-479b-8edc-1d336a00f903 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:45:02.024] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 550.421µs | method: GET | path: /api/v1/auth/info | request_id: 82c430a4-3620-40f1-b7a0-d740083e3996 | service: service-general | status: 200 | user_agent: node
[2026-04-07 07:45:02.070] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 12.158215ms | method: GET | path: /api/v1/roles/master/1 | request_id: bfb4b6bd-5696-414c-85bc-0c84f28683af | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:45:03.328] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 1.811864ms | method: GET | path: /api/v1/roles/master/2 | request_id: 5cc1a44a-536b-4d31-abb6-30552647c112 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:45:05.675] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 1.665971ms | method: GET | path: /api/v1/roles/master/1 | request_id: b48ccee3-0b94-41d1-a358-dd768ee024db | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:45:05.729] [DEBUG] Cache hit for Role Permission Tree                      | 📍 service.go:662 | environment: debug | ⚙️ service/internal/master/role/permission.(*service).GetRolePermissionTreeRole | key: permission_tree:1:all | service: service-general
[2026-04-07 07:45:05.729] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 700.992µs | method: GET | path: /api/v1/roles/permissions/role/1 | request_id: d5cea912-4680-480d-b2e1-8ab5c4b40cde | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:45:07.033] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 07:45:07.036] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 3.698349ms | method: GET | path: /api/v1/roles/master | request_id: 96d49dcc-a886-4c9f-b6f1-38371d6982c6 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:45:07.837] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 1.49777ms | method: GET | path: /api/v1/roles/master/1 | request_id: 0986773a-6822-493b-ae98-84060214449f | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:45:09.959] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 1.579695ms | method: GET | path: /api/v1/roles/master/1 | request_id: b58518f4-2a3b-4b1f-8892-8f26b471c3be | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:45:09.972] [DEBUG] Cache hit for Role Permission Tree                      | 📍 service.go:662 | environment: debug | ⚙️ service/internal/master/role/permission.(*service).GetRolePermissionTreeRole | key: permission_tree:1:all | service: service-general
[2026-04-07 07:45:09.972] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 587.245µs | method: GET | path: /api/v1/roles/permissions/role/1 | request_id: 92a068cf-a480-4cc8-8364-074d69b01615 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:45:12.947] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 07:45:12.949] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.284512ms | method: GET | path: /api/v1/roles/master | request_id: 046cfac2-91bb-45ab-88e2-a70cd942495f | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:45:14.659] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 1.519421ms | method: GET | path: /api/v1/roles/master/1 | request_id: 7bc6c553-29a6-440b-a7a5-c4ab976bdff1 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:45:14.676] [DEBUG] Cache hit for Role Permission Tree                      | 📍 service.go:662 | environment: debug | ⚙️ service/internal/master/role/permission.(*service).GetRolePermissionTreeRole | key: permission_tree:1:all | service: service-general
[2026-04-07 07:45:14.676] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 683.872µs | method: GET | path: /api/v1/roles/permissions/role/1 | request_id: e0700495-d457-4e9e-b3bf-dd208322d1d4 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:45:25.213] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 07:45:25.298] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 85.661516ms | method: GET | path: /api/v1/roles/master | request_id: 2379f832-7c67-4929-994d-d4c34e2b534d | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:46:05.649] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 4.46011ms | method: GET | path: /api/v1/roles/pages/tree | query: active= | request_id: 38de35c2-3732-4eec-9abf-a4f69d9994e6 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:46:11.320] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 3.353441ms | method: GET | path: /api/v1/roles/pages/tree | query: active=true | request_id: 0465afe6-9480-4428-bbab-10e888552b91 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:46:14.210] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 26.371µs | method: OPTIONS | path: /api/v1/roles/pages/4 | request_id: 811ebca4-a24b-45b0-af27-8866f05ad197 | service: service-general | status: 204 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:46:14.218] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 3.37906ms | method: GET | path: /api/v1/roles/pages/4 | request_id: a157ea70-a12b-4c2e-87ad-6f3ff24ea2bb | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:48:34.121] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 07:48:34.123] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 2.541223ms | method: GET | path: /api/v1/roles/master | request_id: a2f34339-9630-4b6e-a14f-679b9644bf4d | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:48:39.926] [INFO ] Built search query                                      | 📍 repository.go:208 | environment: debug | ⚙️ service/internal/master/role/master.(*repository).Search | request: {Fields:[{Expression:* Alias: WindowFunction:<nil>}] From:role_access.rol_master Aliases: Joins:[] Filters:[{Filters:[] LogicOp:}] GroupBy:[] Having:[] Unions:[] CTEs:[] Sort:[{Column:id Order:ASC}] Limit:10 Offset:0 WindowFunctions:[] JsonOperations:[]} | service: service-general
[2026-04-07 07:48:39.955] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 30.466154ms | method: GET | path: /api/v1/roles/master | request_id: 0549ef14-2aa6-457e-b5ce-7c5c81dd2ff0 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 07:48:43.889] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 7.159121ms | method: GET | path: /api/v1/roles/pages/tree | query: active= | request_id: 04863821-6cbd-4847-a80a-9975ea21aad6 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 08:01:55.400] [INFO ] Application starting                                    | 📍 main.go:76 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-07 08:01:55.400] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:91 | database_count: 3 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-07 08:01:55.400] [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-07 08:01:55.410] [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-07 08:01:55.410] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 08:01:55.418] [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-07 08:01:55.418] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 08:01:55.438] [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-07 08:01:55.438] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 08:01:55.440] [INFO ] Cache initialized                                       | 📍 main.go:132 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-07 08:01:55.441] [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/sandbox | service: service-general | static_tokens_len: 4
[2026-04-07 08:01:55.441] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-07 08:01:55.441] [INFO ] Registered RolPermission gRPC service                   | 📍 server.go:35 | environment: debug | ⚙️ service/internal/infrastructure/transport/grpc/servers.NewGRPCServer | service: service-general
[2026-04-07 08:01:55.441] [INFO ] Application started successfully                        | 📍 main.go:327 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-07 08:01:55.441] [INFO ] REST API running                                        | 📍 main.go:266 | environment: debug | ⚙️ main.main.func1 | port: 8094 | service: service-general
[2026-04-07 08:01:55.442] [INFO ] gRPC Server running                                     | 📍 main.go:293 | environment: debug | ⚙️ main.main.func2 | port: 8095 | service: service-general
[2026-04-07 08:02:06.942] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 2.18599ms | method: GET | path: /swagger/index.html | request_id: 20581b46-b4b1-4667-b182-52be9cccce49 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 08:02:07.562] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 328.338µs | method: GET | path: /swagger/index.html | request_id: aa0fd136-41b7-4f8b-b55d-c766495bdf86 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 08:02:07.750] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 285.913µs | method: GET | path: /swagger/index.html | request_id: d822e127-8200-4933-9c23-d2be30eb28d3 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 08:02:07.909] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 388.041µs | method: GET | path: /swagger/index.html | request_id: a3dfc92c-edd2-4d71-be5c-6ad5d9c3c7ad | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 08:02:43.802] [INFO ] Application starting                                    | 📍 main.go:76 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-07 08:02:43.802] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:91 | database_count: 3 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-07 08:02:43.802] [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-07 08:02:43.824] [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-07 08:02:43.824] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 08:02:43.840] [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-07 08:02:43.840] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 08:02:43.848] [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-07 08:02:43.848] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 08:02:43.853] [INFO ] Cache initialized                                       | 📍 main.go:132 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-07 08:02:43.855] [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/sandbox | service: service-general | static_tokens_len: 4
[2026-04-07 08:02:43.855] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-07 08:02:43.855] [INFO ] Registered RolPermission gRPC service                   | 📍 server.go:35 | environment: debug | ⚙️ service/internal/infrastructure/transport/grpc/servers.NewGRPCServer | service: service-general
[2026-04-07 08:02:43.856] [INFO ] REST API running                                        | 📍 main.go:266 | environment: debug | ⚙️ main.main.func1 | port: 8094 | service: service-general
[2026-04-07 08:02:43.856] [INFO ] Application started successfully                        | 📍 main.go:327 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-07 08:02:43.856] [INFO ] gRPC Server running                                     | 📍 main.go:293 | environment: debug | ⚙️ main.main.func2 | port: 8095 | service: service-general
[2026-04-07 08:15:19.335] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 431.574µs | method: OPTIONS | path: /api/v1/roles/master | request_id: 260cd483-bdbe-4ddd-b315-5ab695eef2e8 | service: service-general | status: 204 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 08:15:19.361] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 1.713502ms | method: GET | path: /api/v1/roles/master | request_id: 798a9c36-f2f0-4454-9a8e-48e3b39323ac | service: service-general | status: 401 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 08:15:19.439] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 172.15.151.46 | latency: 30.761035ms | method: POST | path: /api/v1/auth/refresh | request_id: 28f2af14-154c-427f-b4b9-f7689e596b82 | service: service-general | status: 401 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 21:17:46.227] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 3.408113ms | method: GET | path: /swagger/index.html | request_id: b88db420-409b-4a37-bb63-8ebc6178c247 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 21:18:56.638] [INFO ] Application starting                                    | 📍 main.go:76 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-07 21:18:56.639] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:91 | database_count: 3 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-07 21:18:56.639] [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-07 21:18:56.650] [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-07 21:18:56.650] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 21:18:56.658] [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-07 21:18:56.659] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 21:18:56.681] [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-07 21:18:56.681] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 21:18:56.684] [INFO ] Cache initialized                                       | 📍 main.go:132 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-07 21:18:56.685] [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/sandbox | service: service-general | static_tokens_len: 4
[2026-04-07 21:18:56.685] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-07 21:18:56.686] [INFO ] REST API running                                        | 📍 main.go:266 | environment: debug | ⚙️ main.main.func1 | port: 8094 | service: service-general
[2026-04-07 21:18:56.686] [INFO ] Registered RolPermission gRPC service                   | 📍 server.go:35 | environment: debug | ⚙️ service/internal/infrastructure/transport/grpc/servers.NewGRPCServer | service: service-general
[2026-04-07 21:18:56.686] [INFO ] Application started successfully                        | 📍 main.go:327 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-07 21:18:56.686] [INFO ] gRPC Server running                                     | 📍 main.go:293 | environment: debug | ⚙️ main.main.func2 | port: 8095 | service: service-general
[2026-04-07 21:19:16.647] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 1.530493ms | method: GET | path: /swagger/index.html | request_id: f9de9db7-ef47-4c86-b386-29729da2fef4 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 21:21:10.920] [INFO ] Application starting                                    | 📍 main.go:76 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-07 21:21:10.921] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:91 | database_count: 3 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-07 21:21:10.921] [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-07 21:21:10.944] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-07 21:21:10.944] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 21:21:10.954] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-07 21:21:10.954] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 21:21:10.977] [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-07 21:21:10.977] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 21:21:10.980] [INFO ] Cache initialized                                       | 📍 main.go:132 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-07 22:24:46.837] [INFO ] Application starting                                    | 📍 main.go:76 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-07 22:24:46.838] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:91 | database_count: 3 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-07 22:24:46.838] [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-07 22:24:46.860] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-07 22:24:46.860] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 22:24:46.869] [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-07 22:24:46.869] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 22:24:46.876] [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-07 22:24:46.876] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 22:24:46.879] [INFO ] Cache initialized                                       | 📍 main.go:132 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-07 22:24:46.880] [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/sandbox | service: service-general | static_tokens_len: 4
[2026-04-07 22:24:46.880] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-07 22:24:46.880] [INFO ] Registered RolPermission gRPC service                   | 📍 server.go:35 | environment: debug | ⚙️ service/internal/infrastructure/transport/grpc/servers.NewGRPCServer | service: service-general
[2026-04-07 22:24:46.880] [INFO ] Application started successfully                        | 📍 main.go:327 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-07 22:24:46.880] [INFO ] REST API running                                        | 📍 main.go:266 | environment: debug | ⚙️ main.main.func1 | port: 8094 | service: service-general
[2026-04-07 22:24:46.880] [INFO ] gRPC Server running                                     | 📍 main.go:293 | environment: debug | ⚙️ main.main.func2 | port: 8095 | service: service-general
[2026-04-07 22:24:58.679] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 2.321579ms | method: GET | path: /swagger/index.html | request_id: 6c0b73fd-1d55-4cc9-a1c0-af23636abc53 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 22:25:09.510] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 415.94µs | method: GET | path: /swagger/index.html | request_id: f7f15cf7-b0dd-4dfa-8887-d0fcab3abedb | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 22:26:35.420] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 925.524µs | method: GET | path: /swagger/index.html | request_id: 6cbe6682-a967-46a7-b50f-5e0e70139088 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 22:27:17.095] [INFO ] Application starting                                    | 📍 main.go:76 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-07 22:27:17.095] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:91 | database_count: 3 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-07 22:27:17.095] [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-07 22:27:17.106] [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-07 22:27:17.106] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 22:27:17.113] [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-07 22:27:17.113] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 22:27:17.133] [INFO ] Successfully connected and configured GORM for database | 📍 database.go:384 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.(*service).addDatabase | service: service-general
[2026-04-07 22:27:17.133] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 22:27:17.136] [INFO ] Cache initialized                                       | 📍 main.go:132 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-07 22:27:17.137] [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/sandbox | service: service-general | static_tokens_len: 4
[2026-04-07 22:27:17.137] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-07 22:27:17.137] [INFO ] Registered RolPermission gRPC service                   | 📍 server.go:35 | environment: debug | ⚙️ service/internal/infrastructure/transport/grpc/servers.NewGRPCServer | service: service-general
[2026-04-07 22:27:17.137] [INFO ] Application started successfully                        | 📍 main.go:327 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-07 22:27:17.137] [INFO ] REST API running                                        | 📍 main.go:266 | environment: debug | ⚙️ main.main.func1 | port: 8094 | service: service-general
[2026-04-07 22:27:17.137] [INFO ] gRPC Server running                                     | 📍 main.go:293 | environment: debug | ⚙️ main.main.func2 | port: 8095 | service: service-general
[2026-04-07 22:27:20.807] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 1.116896ms | method: GET | path: /swagger/index.html | request_id: aca6fda9-10c0-4ed6-8fa5-68295a189f6e | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 22:27:20.816] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 823.429µs | method: GET | path: /swagger/swagger-ui.css | request_id: 07816a59-5372-4c7e-ba80-c661c2d92535 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 22:27:20.816] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 179.978µs | method: GET | path: /swagger/swagger-initializer.js | request_id: 5f08e1ae-3aae-45cb-89b3-28cdae0ee971 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 22:27:20.816] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 1.238997ms | method: GET | path: /swagger/index.css | request_id: cbf33cb3-0237-408e-a913-23dd961916da | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 22:27:20.818] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 2.667722ms | method: GET | path: /swagger/swagger-ui-standalone-preset.js | request_id: a9364787-cc6b-4bdf-97da-eba010bd583d | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 22:27:20.825] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 9.979854ms | method: GET | path: /swagger/swagger-ui-bundle.js | request_id: 9ecde9e0-ec9d-4efb-aea1-78e66492d713 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 22:27:20.826] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 460.507µs | method: GET | path: /swagger/swagger-ui.css.map | request_id: ce5622a2-924d-412f-8b51-d81b5367e63e | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 22:27:20.886] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 10.120528ms | method: GET | path: /swagger/swagger-ui-bundle.js.map | request_id: a070f58a-8a8d-4ae1-aaaf-b10b430c2e91 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 22:27:20.887] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 1.625922ms | method: GET | path: /swagger/swagger-ui-standalone-preset.js.map | request_id: 9133cbda-5560-4ec2-870c-3a61eb51c4d4 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 22:27:20.899] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 578.673µs | method: GET | path: /swagger/doc.json | request_id: 202af721-b696-41f1-87d2-b5a127831760 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 22:27:20.907] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 156.751µs | method: GET | path: /swagger/favicon-32x32.png | request_id: fe644c79-f53f-42aa-8d30-6c314e0bdd10 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 22:28:03.609] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 396.422µs | method: GET | path: /api/v1/satusehat/reference/auth/token | request_id: be01c10b-9a3e-4c64-a8ac-75169b410546 | service: service-general | status: 404 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 22:29:53.591] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 746.509µs | method: GET | path: /swagger/index.html | request_id: f4ecb862-8110-47f4-b56e-b95664e49428 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 22:29:53.600] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 450.952µs | method: GET | path: /swagger/index.css | request_id: 074e54ab-bce2-4955-96af-6a2acc293407 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 22:29:53.600] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 929.284µs | method: GET | path: /swagger/swagger-ui.css | request_id: 3a8e28f5-ddcd-4614-a80c-1ab543b09fb0 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 22:29:53.601] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 240.194µs | method: GET | path: /swagger/swagger-initializer.js | request_id: 41f93d14-74ab-4ae0-8f25-c1f0ceb95a81 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 22:29:53.602] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 1.738058ms | method: GET | path: /swagger/swagger-ui-standalone-preset.js | request_id: a3c5577a-7d64-44a1-bed5-accc92ede11e | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 22:29:53.610] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 9.923543ms | method: GET | path: /swagger/swagger-ui-bundle.js | request_id: 1618ffc8-68a4-4dc1-b3e5-cdee24838f6b | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 22:29:53.680] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 527.061µs | method: GET | path: /swagger/doc.json | request_id: 54885c3c-c9ec-4e49-aeca-6be2e8532d79 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 22:29:53.688] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 239.778µs | method: GET | path: /swagger/favicon-32x32.png | request_id: 7524d141-17d3-489d-b596-d94d4eb2d157 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 22:31:51.614] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 479.499µs | method: GET | path: /swagger/index.html | request_id: cae889dc-b9d5-45ca-9297-581f286af81e | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 22:31:51.629] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 241.116µs | method: GET | path: /swagger/swagger-ui.css | request_id: 86086e0b-fe1a-4300-bca1-feec2020139d | service: service-general | status: 304 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 22:31:51.631] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 131.262µs | method: GET | path: /swagger/index.css | request_id: 561a6436-0f15-405b-9fc9-db3aa17bebbf | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 22:31:51.631] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 122.974µs | method: GET | path: /swagger/swagger-ui-bundle.js | request_id: b117f470-3948-4212-86bf-d183a0cf6477 | service: service-general | status: 304 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 22:31:51.631] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 170.831µs | method: GET | path: /swagger/swagger-ui-standalone-preset.js | request_id: 7d2d0e1f-ea4d-4b98-b2bc-28f38992ad62 | service: service-general | status: 304 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 22:31:51.632] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 165.106µs | method: GET | path: /swagger/swagger-initializer.js | request_id: 6616eca2-0c9c-4bbb-b61a-5a9e0766ca48 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 22:31:51.665] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 635.163µs | method: GET | path: /swagger/doc.json | request_id: 6b7e15be-85d0-4224-b20b-4278ce5d8330 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 22:31:51.665] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 169.245µs | method: GET | path: /swagger/favicon-32x32.png | request_id: 20df1597-4839-4882-807b-ab454dbd8cbd | service: service-general | status: 304 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 22:32:57.845] [INFO ] Application starting                                    | 📍 main.go:77 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-07 22:32:57.845] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:92 | database_count: 3 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-07 22:32:57.845] [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-07 22:32:57.856] [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-07 22:32:57.856] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 22:32:57.863] [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-07 22:32:57.863] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 22:32:57.883] [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-07 22:32:57.883] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 22:32:57.888] [INFO ] Cache initialized                                       | 📍 main.go:133 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-07 22:32:57.888] [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/sandbox | service: service-general | static_tokens_len: 4
[2026-04-07 22:32:57.888] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-07 22:32:57.889] [INFO ] Registered RolPermission gRPC service                   | 📍 server.go:35 | environment: debug | ⚙️ service/internal/infrastructure/transport/grpc/servers.NewGRPCServer | service: service-general
[2026-04-07 22:32:57.889] [INFO ] REST API running                                        | 📍 main.go:267 | environment: debug | ⚙️ main.main.func1 | port: 8094 | service: service-general
[2026-04-07 22:32:57.889] [INFO ] Application started successfully                        | 📍 main.go:328 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-07 22:32:57.889] [INFO ] gRPC Server running                                     | 📍 main.go:294 | environment: debug | ⚙️ main.main.func2 | port: 8095 | service: service-general
[2026-04-07 22:33:05.394] [INFO ] Application starting                                    | 📍 main.go:77 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-07 22:33:05.395] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:92 | database_count: 3 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-07 22:33:05.395] [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-07 22:33:05.414] [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-07 22:33:05.414] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 22:33:05.423] [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-07 22:33:05.423] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 22:33:05.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-07 22:33:05.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-07 22:33:05.432] [INFO ] Cache initialized                                       | 📍 main.go:133 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-07 22:33:05.433] [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/sandbox | service: service-general | static_tokens_len: 4
[2026-04-07 22:33:05.433] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-07 22:33:05.433] [INFO ] Registered RolPermission gRPC service                   | 📍 server.go:35 | environment: debug | ⚙️ service/internal/infrastructure/transport/grpc/servers.NewGRPCServer | service: service-general
[2026-04-07 22:33:05.433] [INFO ] REST API running                                        | 📍 main.go:267 | environment: debug | ⚙️ main.main.func1 | port: 8094 | service: service-general
[2026-04-07 22:33:05.433] [INFO ] Application started successfully                        | 📍 main.go:328 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-07 22:33:05.433] [INFO ] gRPC Server running                                     | 📍 main.go:294 | environment: debug | ⚙️ main.main.func2 | port: 8095 | service: service-general
[2026-04-07 22:33:10.599] [INFO ] Application starting                                    | 📍 main.go:77 | environment: debug | ⚙️ main.main | log_level: debug | service: service-general
[2026-04-07 22:33:10.599] [DEBUG] Config loaded                                           | cache_enabled: true | 📍 main.go:92 | database_count: 3 | environment: debug | ⚙️ main.main | server_mode: debug | service: service-general
[2026-04-07 22:33:10.599] [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-07 22:33:10.609] [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-07 22:33:10.609] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: simrs | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 22:33:10.616] [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-07 22:33:10.616] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: default | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 22:33:10.636] [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-07 22:33:10.636] [INFO ] Successfully connected to database                      | 📍 database.go:203 | db_name: farmasi | environment: debug | ⚙️ service/internal/infrastructure/database.New.func1 | service: service-general
[2026-04-07 22:33:10.639] [INFO ] Cache initialized                                       | 📍 main.go:133 | environment: debug | ⚙️ main.main | host: redis | port: 6379 | service: service-general
[2026-04-07 22:33:10.640] [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/sandbox | service: service-general | static_tokens_len: 4
[2026-04-07 22:33:10.640] [INFO ] Keycloak provider added for hybrid                      | 📍 provider.go:97 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/middleware.(*ProviderFactory).CreateProviders | service: service-general
[2026-04-07 22:33:10.640] [INFO ] Registered RolPermission gRPC service                   | 📍 server.go:35 | environment: debug | ⚙️ service/internal/infrastructure/transport/grpc/servers.NewGRPCServer | service: service-general
[2026-04-07 22:33:10.640] [INFO ] REST API running                                        | 📍 main.go:267 | environment: debug | ⚙️ main.main.func1 | port: 8094 | service: service-general
[2026-04-07 22:33:10.641] [INFO ] Application started successfully                        | 📍 main.go:328 | environment: debug | ⚙️ main.main | service: service-general
[2026-04-07 22:33:10.641] [INFO ] gRPC Server running                                     | 📍 main.go:294 | environment: debug | ⚙️ main.main.func2 | port: 8095 | service: service-general
[2026-04-07 22:33:14.839] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 1.039193ms | method: GET | path: /swagger/index.html | request_id: f022341f-a7fe-4513-8423-e8a8a78f337b | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 22:33:14.855] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 288.057µs | method: GET | path: /swagger/index.css | request_id: 2cae590d-f7f9-449c-be2f-87f4ee4c3080 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 22:33:14.855] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 153.031µs | method: GET | path: /swagger/swagger-initializer.js | request_id: 7ce7e779-9263-4fe9-b848-4657a8acaf7a | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 22:33:14.856] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 1.461159ms | method: GET | path: /swagger/swagger-ui.css | request_id: f8c500b2-6ec7-44bd-b06d-c0d941999a5b | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 22:33:14.857] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 2.083229ms | method: GET | path: /swagger/swagger-ui-standalone-preset.js | request_id: 0822c81f-7f8e-457e-8180-74a62c027eb3 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 22:33:14.865] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 9.46142ms | method: GET | path: /swagger/swagger-ui-bundle.js | request_id: 437b881e-a088-41e2-9884-da6118915af0 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 22:33:14.897] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 672.851µs | method: GET | path: /swagger/doc.json | request_id: f05367be-dddd-424c-838d-510af56a95d4 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
[2026-04-07 22:33:14.898] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 173.84µs | method: GET | path: /swagger/favicon-32x32.png | request_id: 95cbc0ed-a0a0-400a-a1ea-909d66ad7627 | service: service-general | status: 200 | user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
