mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-11 00:08:30 +01:00
fix: set log level to error for db migrate (#6601)
This PR sets the log level of db-migrate to error, because it interferes with the indexing of our logs in Loki when the logs are not in JSON format.
This commit is contained in:
parent
bb847e2935
commit
911b918817
@ -3,7 +3,7 @@ import { getInstance } from 'db-migrate';
|
||||
import type { IUnleashConfig } from './lib/types/option';
|
||||
import { secondsToMilliseconds } from 'date-fns';
|
||||
|
||||
log.setLogLevel('info');
|
||||
log.setLogLevel('error');
|
||||
|
||||
export async function migrateDb({ db }: IUnleashConfig): Promise<void> {
|
||||
const custom = {
|
||||
|
Loading…
Reference in New Issue
Block a user