cleanup
This commit is contained in:
@@ -91,7 +91,6 @@ class AuditService {
|
||||
}
|
||||
|
||||
private loadConfig(): AuditConfig {
|
||||
// Use the env() helper function that handles both server and client contexts
|
||||
const enabledFlag = env('FORENSIC_AUDIT_ENABLED', 'false');
|
||||
const detailLevel = env('FORENSIC_AUDIT_DETAIL_LEVEL', 'standard') as 'minimal' | 'standard' | 'verbose';
|
||||
const retentionHours = parseInt(env('FORENSIC_AUDIT_RETENTION_HOURS', '72') || '72', 10);
|
||||
@@ -398,9 +397,7 @@ class AuditService {
|
||||
|
||||
export const auditService = new AuditService();
|
||||
export type { ProcessedAuditTrail, CompressedAuditEntry };
|
||||
// Add this at the bottom of auditService.ts (after the existing exports)
|
||||
|
||||
// Export debug utilities for troubleshooting
|
||||
export const debugAuditService = {
|
||||
getDebugInfo() {
|
||||
return auditService.getDebugInfo();
|
||||
|
||||
Reference in New Issue
Block a user