You can manage logging settings by editing the active property in the app/config/logs.ts file. The file will be generated in the logs folder, named with the current date and will have a .log extension.
The LogsConfig object includes a format property that allows you to choose from several predefined logging formats:
You can define a custom logging format using the customFormat property, allowing full customization based on the Morgan documentation.
Note: This setup uses the
morganandrotating-file-streamlibraries for logging and log file rotation.