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.1.tar.gz (18.2 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.1-py3-none-any.whl (18.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cc_logger-0.1.1.tar.gz
  • Upload date:
  • Size: 18.2 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.1.tar.gz
Algorithm Hash digest
SHA256 6a4a837f7dbee41e80ea1bbf7edaf3b51a1d78027abae099ce01f3aac544764e
MD5 c43631fbbb8c340c2ebce37532e49a88
BLAKE2b-256 889a6779c74245e6710f3586e9d93cd354bdfa5afcaf784168069f18e9be599e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cc_logger-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 18.9 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 413cb45bef24fdf3df731df88144ab94ba56f821ff89147c8a55e9cde1209668
MD5 9099fe9f96f344764392a7fe589cf00b
BLAKE2b-256 fb221f6153875f680fb143c9762dab615638b04792c693e2f1fafc2ba8055f11

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