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

making logging format configurable #255

Merged
merged 3 commits into from
Mar 30, 2017

Conversation

cehbrecht
Copy link
Collaborator

Overview

The default logging format is very detailed. This makes it hard to read the logs when debugging user processes. With this patch it is possible to overwrite the default logging format, example:

[logging]
format=%(message)s

The raw=True parameter will be used to avoid interpolation by the configparser for the format option.

Contribution Agreement

(as per https://github.com/geopython/pywps/blob/master/CONTRIBUTING.rst#contributions-and-licensing)

  • I'd like to contribute [feature X|bugfix Y|docs|something else] to PyWPS. I confirm that my contributions to PyWPS will be compatible with the PyWPS license guidelines at the time of contribution.
  • I have already previously agreed to the PyWPS Contributions and Licensing Guidelines

@tomkralidis
Copy link
Member

@cehbrecht thanks for the contribution. It would be great to have the docs updated accordingly as well as part of this PR.

@cehbrecht
Copy link
Collaborator Author

@tomkralidis i have added the format option to the docs and the sample config.

@tomkralidis tomkralidis merged commit 4f6a2d7 into geopython:develop Mar 30, 2017
@cehbrecht cehbrecht deleted the feature-logging-format branch March 30, 2017 12:05
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

Successfully merging this pull request may close these issues.

2 participants