sdkServer.logLevel in Gameserver config doesn't seem to be used in local mode #2221
Labels
good first issue
These are great first issues. If you are looking for a place to start, start here!
help wanted
We would love help on these issues. Please come help us!
kind/bug
These are bugs.
Milestone
What happened:
I'm trying to change sdkServer.logLevel when running the SDK server locally, but it doesn't appear to have any effect. Setting it to 'Debug' doesn't seem to print out any more messages than the default value of 'Info', and when setting it to 'Error', I still see the Info-level messages.
What you expected to happen:
Setting sdkServer.logLevel to Error would hide all the Info-level messages, and setting it to Debug would output more than just the Info-level messages
How to reproduce it (as minimally and precisely as possible):
Run the sdk server locally and pass in the example Gameserver config file, only change sdkServer.logLevel from 'Info' to 'Error' (or 'Debug'):
./sdk-server.linux.amd64 --local -f gameserver.yml
Info-level logging statements will be output when logLevel is set to 'Error', and no additional logging statements will be output when logLevel is set to 'Debug'.
Additionally, when calling
curl -GET "http://localhost:9358/gameserver" -H "accept: application/json"
, the returned information doesn't contain anything about sdkServer (though I'm not sure if it's supposed to).Anything else we need to know?:
Environment:
kubectl version
): none (running locally with --local)The text was updated successfully, but these errors were encountered: