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.2.tar.gz (18.1 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.2-py3-none-any.whl (18.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cc_logger-0.1.2.tar.gz
  • Upload date:
  • Size: 18.1 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.2.tar.gz
Algorithm Hash digest
SHA256 c1fcf94c85e5a175a5985605001c6133f529c82aee87480c579b7e583c0b54c4
MD5 304bbae6a038ce2cfa71c5da029dcf42
BLAKE2b-256 1db43e753750e0e12b0c85fb12f5c4b2e3b0bb2487e37ceb9c0a3ac2d8f2898e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cc_logger-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 18.8 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 666b25471f6a493e858cceafc425e10ef6d1919d99266d110ed7cce6ba1fef20
MD5 c91d1b53e82131ba51f82e9fe3daa398
BLAKE2b-256 ef74a55b26c0e39ebf61dffc5a4cbacb146dc4f2e0b713a35a941c6340a975eb

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