Skip to content

Extend logging #70

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

Merged
merged 1 commit into from
Jan 9, 2018
Merged

Extend logging #70

merged 1 commit into from
Jan 9, 2018

Conversation

nichtich
Copy link
Contributor

@nichtich nichtich commented Jan 2, 2018

Support logging to STDOUT via setting logging.file to false and
customization of log format with logging.format. The default value
null falls back to default format. Custom format is required for
proper logging behind a reverse proxy to log the remote IP from HTTP
header X-Forwarded-For instead of the proxy IP.

Support logging to STDOUT via setting `logging.file` to `false` and
customization of log format with `logging.format`. The default value
`null` falls back to default format. Custom format is required for
proper logging behind a reverse proxy to log the remote IP from HTTP
header `X-Forwarded-For` instead of the proxy IP.
@RubenVerborgh
Copy link
Member

Looks good to me. However, in practice, I always set up the logging on the reverse proxy instead. This is because of caching, since not all requests arrive at the LDF server anyways. Here is what I'm doing on fragments.dbedia.org.

@RubenVerborgh RubenVerborgh changed the base branch from master to develop January 2, 2018 14:05
Copy link
Member

@rubensworks rubensworks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me as well, thanks!

@rubensworks rubensworks merged commit ccdf0dd into LinkedDataFragments:develop Jan 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants