- (Bogdan) Regenerated
Gemfile.lock
- (Jon) Updated the gemspec for the required ruby version to 3.0.0 to ensure the gem is up to date with the latest ruby version
- (Jon) Updated the gemspec to ensure the railties gem is locked to the 7.0 rails version to avoid any potential issues with the gem being used
- (Jon) Updated the logging to include the
request_id
in the JSON output to ensure the values are always logged to the system tooling.
- (Jon) Updated the exposed keys to allow more flexibility in the logging
- (Jon) Merged the two GitHub actions into one to reduce the number of actions required to maintain the gem, while introducing dependency on successful linting and tests before the gem is published
- (Dan) Updates ruby to 2.7.8 and version cadence to 1.1.0
- (Jon) Updated the GitHub action to reflect the revised company's gem publishing strategy
- (Jon) Removed the push trigger as gem creation needs to be a manual process
- (Jon) Reorganised and removed duplicated makefile targets
- (Jon) Introduces the use of the
${NAME}
variable to increase portability of the revised makefile approach
- (Jon) For continued improvements to the logs, additional keys need to be added
to parse the details
- Also includes string downcasing to improve matching of request fields
- (Jon) Renamed parameter to reduce chance of conflict with other gems or code that may use the same parameter name.
- (Jon) Updated the logging to include additional properties to ensure the values are always logged to the system tooling.
- (Jon) Updated the logging to exclude the Rails internal properties to ensure the values are NOT logged to the system tooling.
- (Jon) Minor formatting updates to resolve or silence Rubocop warnings
- (Jon) Updated the version for the gem to be 1.0.0 as the gem has been in use for a while and is stable.
- (Jon) Now uses the
env['action_dispatch.request_id']
variable ONLY in the development environment in order to mimic theHTTP_X_REQUEST_ID
header as that header doesn't exist when running rails server in the development environment. - (Jon) Reports on
GET, POST, PUT, DELETE, PATCH
request methods instead of onlyGET
- (Jon) Reverted the
gemspec
file to ensure the gem accepts higher ruby versions and allows it to work with current app integrations; e.g. regulated products - (Jon) Reverted the
unit_tests.yml
file to ensure the test accepts higher ruby versions and allows it to work with current app integrations; e.g. regulated products
- (Jon) Removed the rails specific properties from the JSON output as they are not required by the logging monitors and consume more disk space than desired.
- (Jon) Reordered the Timestamp and Level properties to match the order of other logs on the Epimorphics system tooling.
- (Jon) Added .ruby-version file to ensure the gem is locked to the specific 2.6.6 ruby version to reduce any potential issues with current app integrations
- (Jon) Updated the gemspec to ensure the gem is locked to the same 2.6.6 ruby version to reduce any potential issues with current app integrations
- (Jon) Removed dependency version locks due to connected apps not supporting newer versions of gems being used.
- (Jon) Updated the gemspec to ensure the dependency versions are locked to specific base versions to avoid any potential issues with the gem being used
- (Jon) Added specific versions to the gemspec dependencies to resolve open-ended dependency warnings when publishing the gem.
- (Jon) With additional logging being passed into the logger from outside sources, i.e. rails, this refactor validates if the duration property exists, checks for a floating point, usually meaning milliseconds, multiplies it by 1000 to convert to microseconds and then rounds the result down to 0 decimal points to log to the system tooling.
- (Jon) Additional tweaks for the
.gemspec
details to bring them inline with the current company format. - (Jon) Updated gemfile.lock with latest version updates
- (Jon) Updated Github testing workflow to use the v3 checkout version
- (Jon) Refactored the version cadence creation to include a SUFFIX value if provided; otherwise no SUFFIX is included in the version number.
- (Ian) Set the base logger class to
ActiveSupport::Logger
so that it plays better with Rails
- (Ian) Add the
.silence()
method to the base logger
- (Ian) Re-write the README
- Updated dependencies
- Fixed rubocop warnings
- (Ian) Fix for GH-25: required files were not listed in the gemspec
timestamp
renamed tots
in returning JSON- Date format for timestamp changed to
%Y-%m-%dT%H:%M:%S.%3NZ
request_id
is no longer internally generated if the header is missing from the request, but the field will be missing from the returning JSON instead
- Unit tests should now autorun on push and pull_request actions
x-request-id
renamed torequest_id
in code and returning JSON
- Platform related fields are now grouped together inside the
rails
field - Request ID is now present in every log message
- MIT license file added to the repo
- Added readme file with usage instructions
- This is an initial release, contains a simple JSON Rails Logger with some customisation applied to it