correct logger names

This commit is contained in:
clauspeterhuebner 2026-02-11 16:44:45 +01:00
parent fa4e104db7
commit fcba1bc526
2 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@ import { Command } from './Command';
import { LOG4JS_BASE_CATEGORY_NAME } from '../config/const'; import { LOG4JS_BASE_CATEGORY_NAME } from '../config/const';
const createLogger = (method: string) => const createLogger = (method: string) =>
getLogger(`${LOG4JS_BASE_CATEGORY_NAME}.command.CommandExecutor.${method}`) getLogger(`${LOG4JS_BASE_CATEGORY_NAME}.command.BaseCommand.${method}`)
export abstract class BaseCommand<T = any> implements Command<T> { export abstract class BaseCommand<T = any> implements Command<T> {
protected abstract requiredFields: string[]; protected abstract requiredFields: string[];

View File

@ -5,7 +5,7 @@ import { LOG4JS_BASE_CATEGORY_NAME } from '../../config/const';
import { getLogger } from 'log4js'; import { getLogger } from 'log4js';
const createLogger = (method: string) => const createLogger = (method: string) =>
getLogger(`${LOG4JS_BASE_CATEGORY_NAME}.command.CommandExecutor.${method}`) getLogger(`${LOG4JS_BASE_CATEGORY_NAME}.command.commands.SendEmailCommand.${method}`)
export interface SendEmailCommandParams { export interface SendEmailCommandParams {
mailType: string; mailType: string;