User/Group Name Resolution and Enhanced Color Logging#906
Merged
Conversation
Member
|
@arthurpro can you make sure your commits include the required |
Contributor
Author
|
@stgraber sure! I'll take a look on Monday |
7d40937 to
66b99ed
Compare
Introduce functionality to parse `/etc/passwd` and `/etc/group` files to map symbolic user/group names to numeric IDs. This ensures consistency in file definitions by replacing symbolic references with their corresponding numeric IDs in the global configuration. An environment override for logger colors was also added. Signed-off-by: Arthur <git@arthur.pro>
stgraber
approved these changes
Mar 4, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
User/Group Name Resolution and Enhanced Color Logging
This PR introduces two quality-of-life improvements:
1. Forced Color Output Support
EnvironmentOverrideColorsflag in the log formatterCLICOLOR_FORCE=12. Symbolic User/Group Names in Files Definition
nginx) instead of numeric UIDs/GIDs in file definitionsExample usage:
Benefits
Testing
Both features have been thoroughly tested across multiple environments and build configurations.