bird-house / cookiecutter-birdhouse

Cookiecutter template for Birdhouse PyWPS birds.
http://cookiecutter-birdhouse.readthedocs.io/en/latest/
BSD 3-Clause "New" or "Revised" License
3 stars 4 forks source link

Clean logs when starting pywps with CLI #46

Open cehbrecht opened 6 years ago

cehbrecht commented 6 years ago

Description

CLI is used for development and debugging. It would be nice if it cleans up the logs when starting the pywps service (maybe optionally).

Zeitsperre commented 5 years ago

Would this involve simply running another command hook from the makefile like clean-logs?

cehbrecht commented 5 years ago

@Zeitsperre make clean does this already. I think what I had in mind was to clean the log on service start: https://github.com/bird-house/cookiecutter-birdhouse/blob/cb009d5369542650979cd7a2de979186494d9b38/%7B%7Bcookiecutter.project_repo_name%7D%7D/%7B%7Bcookiecutter.project_slug%7D%7D/cli.py#L134

... but this might not be necessary.