Skip to content
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

Default location of logs #1216

Closed
drorata opened this issue Sep 29, 2016 · 3 comments
Closed

Default location of logs #1216

drorata opened this issue Sep 29, 2016 · 3 comments

Comments

@drorata
Copy link

drorata commented Sep 29, 2016

I would like to run Caravel as a daemon and I'm wondering how and where can I define where the logs should be saved?

@xrmx
Copy link
Contributor

xrmx commented Sep 29, 2016

AFAICS If you are using bin/caravel you need to update the code to add explicit support for the relevant gunicorn option.

@bkyryliuk
Copy link
Member

by default I believe it pipes the logs to the stdout.

@dennisobrien
Copy link
Contributor

I'm using gunicorn and explicitly sending the log output to stdout.

gunicorn \
  --error-logfile - \
  --access-logfile - \
  -w 8 \
  -k gevent \
  -b 0.0.0.0:8080 \
  --timeout 120 \
  --limit-request-line 0 \
  --limit-request-field_size 0 \
  --forwarded-allow-ips="*" \
  caravel:app

@kristw kristw closed this as completed Mar 28, 2019
@dpgaspar dpgaspar mentioned this issue Jan 23, 2020
12 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants