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.0.tar.gz (15.9 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.0-py3-none-any.whl (15.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cc_logger-0.1.0.tar.gz
  • Upload date:
  • Size: 15.9 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.0.tar.gz
Algorithm Hash digest
SHA256 32a2584ed80c407145359422124fd588f652a49be013c0b78c46eac637857a19
MD5 332203ef865b902551833b2a07d69dc2
BLAKE2b-256 2cd79bf18ca733b16e2d99c60c30298ddfb69f57c3eebe1a6e3df05f87f8200f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cc_logger-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 15.5 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0e3d09e789373eea4791f9394cf769660552d232306178d707ee3d0129620a06
MD5 4ef7ee42dd1ac555c3c2503372292754
BLAKE2b-256 52cd5a488133b02c262938ea29546c5d2ced54384e8a9207e521225333930737

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