웹 로그, DB 쿼리문과 결과 로그 출력
This commit is contained in:
@@ -4,6 +4,9 @@ AUTH_SECRET="replace-with-local-secret"
|
||||
NEXTAUTH_SECRET="replace-with-local-secret"
|
||||
AUTH_URL="http://localhost:3000"
|
||||
NEXTAUTH_URL="http://localhost:3000"
|
||||
# Logging: APP_ENV=local|stage|production / LOG_LEVEL=debug|info|warn|error
|
||||
APP_ENV=local
|
||||
LOG_LEVEL=debug
|
||||
|
||||
# Production example (.env.production)
|
||||
# DATABASE_URL="mysql://USER:PASSWORD@AWS_EC2_HOST:3306/chocomae"
|
||||
@@ -11,6 +14,8 @@ NEXTAUTH_URL="http://localhost:3000"
|
||||
# NEXTAUTH_SECRET="replace-with-production-secret"
|
||||
# AUTH_URL="https://NAS_HOST_OR_DOMAIN"
|
||||
# NEXTAUTH_URL="https://NAS_HOST_OR_DOMAIN"
|
||||
# APP_ENV=production
|
||||
# LOG_LEVEL=info
|
||||
|
||||
# Stage example (.env.stage)
|
||||
# DATABASE_URL="mysql://USER:PASSWORD@STAGE_DB_HOST:3306/chocomae"
|
||||
@@ -18,3 +23,5 @@ NEXTAUTH_URL="http://localhost:3000"
|
||||
# NEXTAUTH_SECRET="replace-with-stage-secret"
|
||||
# AUTH_URL="https://STAGE_HOST_OR_DOMAIN"
|
||||
# NEXTAUTH_URL="https://STAGE_HOST_OR_DOMAIN"
|
||||
# APP_ENV=stage
|
||||
# LOG_LEVEL=debug
|
||||
|
||||
Reference in New Issue
Block a user