Skip to main content

Claude Code uploader: authenticate once, then auto-sync ~/.claude/projects to S3

Project description

Claude-Code Logger

Collect Claude Code logs automatically.

Install

pip install cc-logger
cc-logger install

After running install, you'll be prompted to authenticate with GitHub (a browser window will open).

Instructions

Run Claude normally:

claude "your task"

Logs are uploaded automatically when Claude finishes responding and when sessions end.

Supported Environments

cc-logger supports sessions from:

  • Claude Code CLI (claude command)
  • Claude Code VSCode Extension
  • Claude Code Desktop App

Uninstall

cc-logger uninstall

Troubleshooting / verify setup

  • Verify cc-logger is on your PATH (default install location is ~/.local/bin, or $XDG_BIN_HOME if you set it):
command -v cc-logger
  • If cc-logger is not found, add this to your shell startup file and restart your shell:
export PATH="${XDG_BIN_HOME:-$HOME/.local/bin}:$PATH"
  • To manually configure hooks, get the hook path:
command -v cc-logger-hook

Then add this snippet to ~/.claude/settings.json, replacing /ABSOLUTE/PATH/TO/cc-logger-hook with the output above:

Show hooks configuration
{
  "hooks": {
    "SessionStart": [
      {
        "matcher": "",
        "hooks": [
          {
            "type": "command",
            "command": "/ABSOLUTE/PATH/TO/cc-logger-hook session-start"
          }
        ]
      }
    ],
    "Stop": [
      {
        "matcher": "",
        "hooks": [
          {
            "type": "command",
            "command": "/ABSOLUTE/PATH/TO/cc-logger-hook"
          }
        ]
      }
    ],
    "SessionEnd": [
      {
        "matcher": "",
        "hooks": [
          {
            "type": "command",
            "command": "/ABSOLUTE/PATH/TO/cc-logger-hook"
          }
        ]
      }
    ]
  }
}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cc_logger-0.1.3.tar.gz (17.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cc_logger-0.1.3-py3-none-any.whl (18.3 kB view details)

Uploaded Python 3

File details

Details for the file cc_logger-0.1.3.tar.gz.

File metadata

  • Download URL: cc_logger-0.1.3.tar.gz
  • Upload date:
  • Size: 17.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for cc_logger-0.1.3.tar.gz
Algorithm Hash digest
SHA256 612a5dee8d2d9429d8441474347988f2180d3ebca955ea09d346f84cb3377775
MD5 a3e9760452a2e7401cd2aa6f383d97eb
BLAKE2b-256 af30690eec1e81ac7252b68a8b171d4f5bf3f1fbd3f32e610d27fd8879ac6b65

See more details on using hashes here.

File details

Details for the file cc_logger-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: cc_logger-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 18.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for cc_logger-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 17b43374cf636ac1e668d5ac41376153f7ac72b83fdff1e3ec32e9f76292d781
MD5 e17d6493df539f5a9925b90fc21a09bd
BLAKE2b-256 789e4de363c92019a7c0b8315f0cfced45cadbf461e1461b2b885c20f87a7cb0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page