ILIAS icon indicating copy to clipboard operation
ILIAS copied to clipboard

Chatroom: Add `winston`

Open fhelfer opened this issue 1 month ago • 1 comments

This PR adds winston as NPM dependency for the chatroom.

General Information:

  • [X] this dependency was already used in ILIAS.
  • [X] License: MIT

Usages:

  • components/ILIAS/Chatroom/chat/Bootstrap/SetupEnvironment.js (instance creation and configuration)
  • components/ILIAS/Chatroom/chat/* The logger instance is used in many JS files.

Wrapped By:

  • Not applicable

Reasoning:

winston is a logging library for the Node.js based ILIAS chat server, similar to Monolog, which we use in ILIAS for server-side logging. It supports multiple transport channels and logging levels (compliant to RFC5424, see: https://datatracker.ietf.org/doc/html/rfc5424).

Maintenance:

winston is a well maintained package with major releases every few years. It is an active project. (The latest release is from the 01.10.2025)

Links:

  • NPM: https://www.npmjs.com/package/winston
  • GitHub: https://github.com/winstonjs/winston
  • Documentation: https://github.com/winstonjs/winston?tab=readme-ov-file#usage

fhelfer avatar Nov 28 '25 12:11 fhelfer

Jour Fixe, 08 DEC 2025: Dependency is accepted for ILIAS 12.

matthiaskunkel avatar Dec 08 '25 13:12 matthiaskunkel