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

Add logging to API methods. #14

Merged
merged 4 commits into from
Jul 9, 2014
Merged

Add logging to API methods. #14

merged 4 commits into from
Jul 9, 2014

Commits on May 16, 2014

  1. robot: Add debug logging to request methods.

    This should give the majority of information about what's being sent and
    received to and from the Robot and is mainly useful for debugging during
    development.
    
    Signed-off-by: aszlig <aszlig@redmoonstudios.org>
    aszlig committed May 16, 2014
    Configuration menu
    Copy the full SHA
    635c404 View commit details
    Browse the repository at this point in the history

Commits on Jul 9, 2014

  1. server: Add logging for observed_reboot().

    This is one of the main reasons we want to have logging, because a
    "hetznerctl rescue <server>" usually prints nothing until we either have
    a shell or we timed out waiting for the machine to come up.
    
    Signed-off-by: aszlig <aszlig@redmoonstudios.org>
    aszlig committed Jul 9, 2014
    Configuration menu
    Copy the full SHA
    8cde0c1 View commit details
    Browse the repository at this point in the history
  2. server: Use logger named after server number.

    This should make it easier to see which server the log message actually
    is for.
    
    Signed-off-by: aszlig <aszlig@redmoonstudios.org>
    aszlig committed Jul 9, 2014
    Configuration menu
    Copy the full SHA
    9b48968 View commit details
    Browse the repository at this point in the history
  3. hetznerctl: Enable logging for INFO messages.

    This should at least make observed_* actions a bit more visible and we
    can easily switch between logging levels.
    
    Signed-off-by: aszlig <aszlig@redmoonstudios.org>
    aszlig committed Jul 9, 2014
    Configuration menu
    Copy the full SHA
    3caa1ee View commit details
    Browse the repository at this point in the history