mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
Added Log level to background service (#685)
This commit is contained in:
parent
858ad43d3b
commit
e79e92c60f
6 changed files with 89 additions and 37 deletions
|
|
@ -16,5 +16,6 @@ export const immichAppConfig: ConfigModuleOptions = {
|
|||
then: Joi.string().optional().allow(null, ''),
|
||||
otherwise: Joi.string().required(),
|
||||
}),
|
||||
LOG_LEVEL: Joi.string().optional().valid('simple', 'verbose').default('simple'),
|
||||
}),
|
||||
};
|
||||
|
|
|
|||
4
server/libs/common/src/constants/log-level.constant.ts
Normal file
4
server/libs/common/src/constants/log-level.constant.ts
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
export enum ImmichLogLevel {
|
||||
SIMPLE = 'simple',
|
||||
VERBOSE = 'verbose',
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue