Skip to content

Commit

Permalink
remove additional logging in KeycloakGroupService
Browse files Browse the repository at this point in the history
  • Loading branch information
rustyjux committed Jan 25, 2025
1 parent b8628d0 commit 7fa55ad
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/services/keycloak/group-service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,10 @@ import UserRepresentation from '@keycloak/keycloak-admin-client/lib/defs/userRep
const logger = Logger('kc.group');

export class KeycloakGroupService {
private static instanceCount = 0; // Track total instances created
private instanceId: string;
private createdAt: Date;
private allGroups: any = undefined;
private kcAdminClient: KeycloakAdminClient;

constructor(issuerUrl: string) {
this.instanceId = `kc-group-${++KeycloakGroupService.instanceCount}`;
this.createdAt = new Date();
logger.info('[Instance Created] id=%s, created=%s', this.instanceId, this.createdAt);

const baseUrl = issuerUrl.substr(0, issuerUrl.indexOf('/realms'));
const realmName = issuerUrl.substr(issuerUrl.lastIndexOf('/') + 1);
logger.debug('%s %s', baseUrl, realmName);
Expand Down

0 comments on commit 7fa55ad

Please sign in to comment.