mirror of
https://github.com/fosrl/pangolin.git
synced 2026-03-04 01:36:39 +00:00
change logs to debug
This commit is contained in:
@@ -61,7 +61,7 @@ export async function cleanUpOldLogs(orgId: string, retentionDays: number) {
|
|||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
logger.info(
|
logger.debug(
|
||||||
`Cleaned up ${deleteResult.changes} access audit logs older than ${retentionDays} days`
|
`Cleaned up ${deleteResult.changes} access audit logs older than ${retentionDays} days`
|
||||||
);
|
);
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
|
|||||||
@@ -60,7 +60,7 @@ export async function cleanUpOldLogs(orgId: string, retentionDays: number) {
|
|||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
logger.info(
|
logger.debug(
|
||||||
`Cleaned up ${deleteResult.changes} action audit logs older than ${retentionDays} days`
|
`Cleaned up ${deleteResult.changes} action audit logs older than ${retentionDays} days`
|
||||||
);
|
);
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
|
|||||||
@@ -69,7 +69,7 @@ export async function cleanUpOldLogs(orgId: string, retentionDays: number) {
|
|||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
logger.info(
|
logger.debug(
|
||||||
`Cleaned up ${deleteResult.changes} request audit logs older than ${retentionDays} days`
|
`Cleaned up ${deleteResult.changes} request audit logs older than ${retentionDays} days`
|
||||||
);
|
);
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
|
|||||||
Reference in New Issue
Block a user