diff --git a/log4js/log4js-tests.ts b/log4js/log4js-tests.ts index 10b6f9bbc..4fefc1caa 100644 --- a/log4js/log4js-tests.ts +++ b/log4js/log4js-tests.ts @@ -71,3 +71,4 @@ log4js.configure({ } }); +log4js.configure('file.json', { reloadSecs: 300 }); diff --git a/log4js/log4js.d.ts b/log4js/log4js.d.ts index 4e1cfc43b..28d821377 100644 --- a/log4js/log4js.d.ts +++ b/log4js/log4js.d.ts @@ -64,6 +64,7 @@ declare module "log4js" { export function shutdown(cb: Function): void; export function configure(config: IConfig, options?: any): void; + export function configure(filename: string, options?: any): void; export function setGlobalLogLevel(level: string): void; export function setGlobalLogLevel(level: Level): void;