Skip to content

Commit

Permalink
backend: Remove use of LOGXI env var as we don't use logxi now
Browse files Browse the repository at this point in the history
  • Loading branch information
ashu8912 committed Feb 17, 2021
1 parent 7fbeec5 commit 63161b9
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ linters:

linters-settings:
errcheck:
ignore: github.com/mgutz/logxi/v1:Error|Warn|Debug
ignore: github.com/rs/zerolog:Error|Warn|Debug

gofmt:
simplify: true
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ frontend-lint:
cd frontend && npm run lint

run-backend: backend-binary
LOGXI=* ./bin/nebraska -auth-mode noop
./bin/nebraska -auth-mode noop

.PHONY: backend
backend: run-generators backend-code-checks build-backend-binary
Expand Down
4 changes: 2 additions & 2 deletions docs/authorization.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ the `postgres` container as follows:

- Start the Nebraska backend:

- `LOGXI=* nebraska -auth-mode noop -http-static-dir $PWD/frontend/build
- `nebraska -auth-mode noop -http-static-dir $PWD/frontend/build
-http-log`

- In the browser, access `http://localhost:8000`
Expand Down Expand Up @@ -103,7 +103,7 @@ the `postgres` container as follows:

- Start the Nebraska backend:

- `LOGXI=* nebraska -auth-mode github -gh-client-id <CLIENT_ID>
- `nebraska -auth-mode github -gh-client-id <CLIENT_ID>
-gh-client-secret <CLIENT_SECRET> -gh-ro-teams <READ_ONLY_TEAMS>
-gh-rw-teams <READ_WRITE_TEAMS> -gh-webhook-secret <WEBHOOK_SECRET>
-http-static-dir $PWD/frontend/build -http-log`
Expand Down
1 change: 0 additions & 1 deletion tools/run-local-nebraska.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ tools_dir="$(dirname "${0}")"
binary="${tools_dir}/../bin/nebraska"
static_dir="${tools_dir}/../frontend/build"

LOGXI=* \
"${binary}" \
-auth-mode noop \
-http-log \
Expand Down

0 comments on commit 63161b9

Please sign in to comment.