Commit Graph

5 Commits

Author SHA1 Message Date
이정수 ad8b47d4ec feat: add console output to logger and remove redundant deferReply in autorole command 2026-04-10 10:25:55 +09:00
mineseo-kim dbadd936ca feat(logging): wire LOG_DIR through env and align systemd helper
- logger uses config/env for LOG_DIR and LOG_LEVEL (single source of truth)
- Document absolute LOG_DIR for wipe/redeploy (Jenkins) in env and .env.example
- setup-kord-user-log-file.sh reads LOG_DIR from KORD_HOME/.env and syncs
  StandardOutput/StandardError/ExecStartPre mkdir to the same path

Made-with: Cursor
2026-04-09 10:00:58 +09:00
mineseo-kim f317be9eab fix(logging): clarify LOG_DIR creation and bootstrap errors
- Wrap mkdir in ensureLogDir with stderr message on failure.

- Trim LOG_DIR; note in .env.example that the directory is created at startup.

Made-with: Cursor
2026-04-09 09:38:59 +09:00
mineseo-kim f2ffdb64a8 feat(logging): switch to log4js with file output and env-driven level
- Replace console logger with log4js dateFile under LOG_DIR (default logs).

- No console appender; daily rotation with 7-day retention (numBackups).

- Add LOG_LEVEL and LOG_DIR to env and .env.example; document in env.ts.

Made-with: Cursor
2026-04-09 09:34:15 +09:00
이정수 da47c4b140 feat: Initialize Discord bot project with core client, event handlers, services, database, caching, and infrastructure. 2026-03-27 09:40:50 +09:00