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

trial tests log log_time should be human readable #1947

Open
manishtomar opened this issue Dec 1, 2016 · 0 comments
Open

trial tests log log_time should be human readable #1947

manishtomar opened this issue Dec 1, 2016 · 0 comments

Comments

@manishtomar
Copy link
Contributor

Sample log from one of the test from running trial integration tests trial otter.integration.tests

Request to delete http://192.168.7.1:9000/v1.0/000001/groups/360b7103-c404-4e4c-9c63-2c0e63b21147?force=true starting.
{
  "url_params": null,
  "format": "%(log_legacy)s",
  "treq_request_id": "76cba289-69df-4809-aed8-cf61a6e279b8",
  "log_text": "Request to {method} {url} starting.",
  "log_legacy": "<twisted.logger._stdlib.StringifiableFromEvent object at 0x2ba85d0>",
  "log_time": 1480619234.565187,
  "log_namespace": "log_legacy",
  "log_level": "<LogLevel=info>",
  "level": 6,
  "url": "http://192.168.7.1:9000/v1.0/000001/groups/360b7103-c404-4e4c-9c63-2c0e63b21147?force=true",
  "system": "treq.request",
  "log_system": "treq.request",
  "time": 1480619234.565187,
  "log_format": "{log_text}",
  "method": "delete"
}

The log_time should be human readable for easier debugging.

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

1 participant