Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • S snf-ganeti
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • itmineduitminedu
  • snf-ganeti
  • Repository
Switch branch/tag
  • snf-ganeti
  • lib
  • jqueue.py
Find file BlameHistoryPermalink
  • Michael Hanselmann's avatar
    Improve logging for workerpool tasks by providing __repr__ · 9fa2e150
    Michael Hanselmann authored Jan 13, 2010
    
    
    Before it would log something like “starting task
    (<ganeti.http.client._HttpClientPendingRequest object at 0x2aaaad176790>,)”,
    which isn't really useful for debugging. Now it'll log “[…]
    <ganeti.http.client._HttpClientPendingRequest
    req=<ganeti.http.client.HttpClientRequest 172.24.x.y:1811 PUT /node_info at
    0x2aaaaab7ed10> at 0x2aaaaab823d0>”.
    
    Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
    Reviewed-by: default avatarIustin Pop <iustin@google.com>
    9fa2e150