Skip to content
This repository has been archived by the owner on Aug 30, 2021. It is now read-only.

Enhancing application logger configuration #254

Merged
merged 4 commits into from
Nov 7, 2014

Conversation

lirantal
Copy link
Member

@lirantal lirantal commented Nov 6, 2014

  1. Enabling the configuration of the logging format, applied to any of the environments
  2. Enabling support for logging the requests to the file system instead of the screen STDOUT

@lirantal
Copy link
Member Author

lirantal commented Nov 6, 2014

@roieki @amoshaviv would appreciate your comments on this

@rschwabco
Copy link
Member

LGTM.

@lirantal
Copy link
Member Author

lirantal commented Nov 7, 2014

Cool, thanks.

lirantal added a commit that referenced this pull request Nov 7, 2014
Enhancing application logger configuration
@lirantal lirantal merged commit ad87029 into meanjs:master Nov 7, 2014
@adamwalz
Copy link
Contributor

adamwalz commented Dec 7, 2014

This PR looks to have been reverted in branch 0.4.0

Is this intentional?

@lirantal
Copy link
Member Author

lirantal commented Dec 7, 2014

I don't know as I didn't check yet 0.4.
@amoshaviv ?

@lirantal lirantal added this to the 0.4.2 milestone Oct 16, 2015
@lirantal lirantal self-assigned this Oct 16, 2015
mleanos added a commit to mleanos/mean that referenced this pull request Oct 21, 2015
Adds the log options, and format to the Morgan middleware in the Express
configuration.

These options are defined in the environment configurations.

The implementation derived from meanjs#254
by @lirantal, which somehow got overlooked when merging 0.4.0 into
master.

Added tests for the Logger configuration.

Added the log settings to the Test env config.

Added environment variables for the log settings in the Test &
Production env configs.

Moved the Morgan Express middleware outside of the NODE_ENV ===
'development' check. Morgan should be used in all environments, and use
the settings set in each env config.

Changed the wording of the Stream option comments in the env configs.

Added Rotating Logs functionality, and refactored the log Stream
options. Added a new npm package, FileStreamRotator, for use with
Morgan's rotating logs functionality.

Also, refactored the log configuration tests to be more maintainable.

Added more tests, and refactored test suite to use mock-fs.
kgrossnickle pushed a commit to cen3031-5a/trainerScheduling that referenced this pull request Oct 10, 2017
Adds the log options, and format to the Morgan middleware in the Express
configuration.

These options are defined in the environment configurations.

The implementation derived from meanjs/mean#254
by @lirantal, which somehow got overlooked when merging 0.4.0 into
master.

Added tests for the Logger configuration.

Added the log settings to the Test env config.

Added environment variables for the log settings in the Test &
Production env configs.

Moved the Morgan Express middleware outside of the NODE_ENV ===
'development' check. Morgan should be used in all environments, and use
the settings set in each env config.

Changed the wording of the Stream option comments in the env configs.

Added Rotating Logs functionality, and refactored the log Stream
options. Added a new npm package, FileStreamRotator, for use with
Morgan's rotating logs functionality.

Also, refactored the log configuration tests to be more maintainable.

Added more tests, and refactored test suite to use mock-fs.
lupinthethirdgentleman pushed a commit to lupinthethirdgentleman/mean-dashboard that referenced this pull request Aug 5, 2021
Adds the log options, and format to the Morgan middleware in the Express
configuration.

These options are defined in the environment configurations.

The implementation derived from meanjs/mean#254
by @lirantal, which somehow got overlooked when merging 0.4.0 into
master.

Added tests for the Logger configuration.

Added the log settings to the Test env config.

Added environment variables for the log settings in the Test &
Production env configs.

Moved the Morgan Express middleware outside of the NODE_ENV ===
'development' check. Morgan should be used in all environments, and use
the settings set in each env config.

Changed the wording of the Stream option comments in the env configs.

Added Rotating Logs functionality, and refactored the log Stream
options. Added a new npm package, FileStreamRotator, for use with
Morgan's rotating logs functionality.

Also, refactored the log configuration tests to be more maintainable.

Added more tests, and refactored test suite to use mock-fs.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants