-
Notifications
You must be signed in to change notification settings - Fork 79
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
feat: status-go API logging option #16808
base: master
Are you sure you want to change the base?
Conversation
Jenkins BuildsClick to see older builds (15)
|
hey @igor-sirotin , thanks for that PR sadly i could not see any api.log file anywhere, neither for dev build nor for local build. I run the app for the packaged build like this:
I also added mentioned env var, but not sure, shall it have any value? tried with Also I tried with local build by using this command:
|
ba08230
to
bb046a8
Compare
@anastasiyaig indeed, sorry for that. Looks like I missed to bump |
alright it works to me now, thanks @igor-sirotin |
Closes #16414
Requires:
InitializeApplication
status-go#6117What does the PR do
Added ability to enable
status-go
API logging. Run with--api-logging
or env varSTATUS_RUNTIME_API_LOGGING=1
.The log will appear in
<account>/data/api.log
file.Also added proper initialization of logging in status-go.
Before this PR logs would appear in
geth.log
file only after logging into account, and before logging it it was in in console.Now all logs go into the file right from the start.
Affected areas
Logging, initialize application
Risk
Described potential risks and worst case scenarios.
Tick one: