-
Notifications
You must be signed in to change notification settings - Fork 475
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Post launch Log level control for the Server #4880
Commits on Mar 11, 2024
-
Initial support for dynamically adjustable log levels.
Add list command to cli. Add some of the receiving services in the server "run" instance. Add the "registry" of loggers (currently a btree) Beginning unit testing on naming ordering. Signed-off-by: Edwin Buck <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b1c09c0 - Browse repository at this point
Copy the full SHA b1c09c0View commit details -
Fixed logical error in comment.
Signed-off-by: Edwin Buck <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 660ef92 - Browse repository at this point
Copy the full SHA 660ef92View commit details -
Functional for get and set logger commands.
Signed-off-by: Edwin Buck <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0d9355a - Browse repository at this point
Copy the full SHA 0d9355aView commit details -
Adjustments to improve JSON output formatting.
JSON now outputs log levels as their logrus lower-case strings. Some unit testing on logger.get cli commands. Signed-off-by: Edwin Buck <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for adef016 - Browse repository at this point
Copy the full SHA adef016View commit details -
Realign to final spire-api-sdk api.
Complete unit testing for spire-server cli. Signed-off-by: Edwin Buck <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 57f3da0 - Browse repository at this point
Copy the full SHA 57f3da0View commit details -
Rework server commands to use new API
Signed-off-by: Edwin Buck <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e274962 - Browse repository at this point
Copy the full SHA e274962View commit details -
Fix off-by one log level setting, introduced with new API change.
Signed-off-by: Edwin Buck <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 25ef540 - Browse repository at this point
Copy the full SHA 25ef540View commit details -
Fix the issue of not configuring the log.Logger (from pkg) or
logrus.Logger. Signed-off-by: Edwin Buck <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 801e8af - Browse repository at this point
Copy the full SHA 801e8afView commit details -
Make the service fields private, small renames, add a type.
The Logger service fields are now private, the service config fields remain public. The Logger variable / field names are now log (or Log) to match conventions. The logger package now adds a Logger type which extends the logrus.Logger interface with set log level and get log level funcs. Signed-off-by: Edwin Buck <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6d912a8 - Browse repository at this point
Copy the full SHA 6d912a8View commit details -
Add the RootLog field to the config in the endpoints_test.go.
This fixes the inability of this unit test to intialize the new GRPC logger service, as it requires a Logger type that also includes the ability to change log levels. Signed-off-by: Edwin Buck <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0355b90 - Browse repository at this point
Copy the full SHA 0355b90View commit details -
Minor adjustements to conform with go's linting policies.
Signed-off-by: Edwin Buck <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5aa92ff - Browse repository at this point
Copy the full SHA 5aa92ffView commit details -
Fixes for small code review points. Additions for testing under
endpoints_test.go Signed-off-by: Edwin Buck <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 10ac0f9 - Browse repository at this point
Copy the full SHA 10ac0f9View commit details -
Flipped all testing of various access methods to true until issue 4940
is fixed. Removed allow_admin from policy_data.json until determination can be made to make this allow_admin Signed-off-by: Edwin Buck <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2c35b8b - Browse repository at this point
Copy the full SHA 2c35b8bView commit details -
Add Logger GRPC Service unit testing.
Signed-off-by: Edwin Buck <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for daeb76d - Browse repository at this point
Copy the full SHA daeb76dView commit details -
Signed-off-by: Edwin Buck <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b5c6058 - Browse repository at this point
Copy the full SHA b5c6058View commit details -
Fix unit test that was unnoticed as the test was cached.
Signed-off-by: Edwin Buck <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9966197 - Browse repository at this point
Copy the full SHA 9966197View commit details -
Signed-off-by: Edwin Buck <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d07317e - Browse repository at this point
Copy the full SHA d07317eView commit details -
Signed-off-by: Edwin Buck <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e4d675f - Browse repository at this point
Copy the full SHA e4d675fView commit details -
goimport format the windows test data in get_windows_test.go
Signed-off-by: Edwin Buck <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d8ea93d - Browse repository at this point
Copy the full SHA d8ea93dView commit details -
Fix windows unit testing of logger set cli command.
Signed-off-by: Edwin Buck <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1c5c144 - Browse repository at this point
Copy the full SHA 1c5c144View commit details