xiaohongshu
xiaohongshu
dynamic-loglevel-rfc-27
RFC-27 compliant runtime log level control for Java services. Covers proper log level usage, enabling dynamic log levels in estate-catalog, and changing levels via Developer Portal or Bitso CLI. Use when debugging production issues or configuring logging for services.
Full skill instructions
RFC-27 compliant runtime log level control for Java services. This skill covers proper log level usage, enabling the feature for your service, and changing levels at runtime.
| Level | When to Use | Examples |
|---|---|---|
ERROR | Unexpected failures requiring immediate attention | Exception handling, failed transactions, service unavailable |
WARN | Potential issues that don't stop execution | Deprecated API usage, retry attempts, fallback activated |
INFO | Key business events and operational milestones | Request received, transaction completed, service started |
DEBUG | Detailed information for troubleshooting | Method parameters, intermediate calculations, state changes |
TRACE | Extremely detailed (rarely used in production) | Loop iterations, byte-level data, framework internals |
DO:
// ERROR - Actual failure with context
log.error("Payment processing failed for orderId={}, userId={}", orderId, userId, exception);
// WARN - Recoverable issue
log.warn("Rate limit approaching for userId={}, currentRate={}", userId, rate);
// INFO - Business event (no sensitive data)
log.info("Order completed: orderId={}, amount={}", orderId, amount);
// DEBUG - Technical details for troubleshooting
log.debug("Validating request payload: size={}, headers={}", payload.size(), headers);
DON'T:
// ❌ Don't log sensitive data
log.info("User logged in: email={}, password={}", email, password);
// ❌ Don't use ERROR for expected conditions
log.error("User not found"); // Use WARN or DEBUG
// ❌ Don't log without context
log.error("Failed"); // What failed? Where? Why?
// ❌ Don't use string concatenation
log.info("Processing order " + orderId); // Use parameterized logging
structured-logs-rfc-34 skill)INFO for com.bitso.*Your service must be registered in estate-catalog. Most Bitso Spring Boot services already have the necessary infrastructure.
To enable dynamic log levels via Developer Portal and Bitso CLI, add the logs configuration to your entity's .cue file in estate-catalog.
// catalog/entities/my-service.cue
{
// ... existing configuration
logs: {
format: "json" // or "plain-text" for non-structured logs
management: "managed" // This enables dynamic log levels
}
// ... rest of configuration
}
After registration, verify your service appears in the Developer Portal under the observability section with log level controls available.
The Developer Portal provides a user-friendly interface for managing log levels.
com.bitso.myservice.processor.OrderProcessor)
The change takes effect immediately across all instances.
For command-line access or automation:
# List current log levels for a service
bitso logs level list --service my-service
# Get level for a specific logger (use specific class for targeted debugging)
bitso logs level get --service my-service --logger com.bitso.payments.processor.PaymentProcessor
# Set log level (prefer specific class over full package)
bitso logs level set --service my-service --logger com.bitso.payments.processor.PaymentProcessor --level DEBUG
# Reset to default
bitso logs level reset --service my-service --logger com.bitso.payments.processor.PaymentProcessor
# Set temporary level (auto-resets after duration)
bitso logs level set --service my-service --logger com.bitso.payments.processor.PaymentProcessor --level DEBUG --duration 30m
| Level | Description |
|---|---|
TRACE | Most detailed logging |
DEBUG | Development and troubleshooting |
INFO | Normal operations (default) |
WARN | Potential issues |
ERROR | Errors only |
OFF | Disable logging for this logger |
Identify the specific class/logger causing the issue (prefer specific class over full package)
Set DEBUG level temporarily:
# Target the specific class first for minimal log noise
bitso logs level set --service my-service --logger com.bitso.payments.processor.PaymentProcessor --level DEBUG --duration 15m
# Only broaden to package if needed
bitso logs level set --service my-service --logger com.bitso.payments.processor --level DEBUG --duration 15m
Reproduce the issue and capture logs
Level auto-resets after the duration expires
Analyze logs in Datadog/observability platform
When debugging a flow across multiple services (use sparingly - prefer specific loggers):
# Set DEBUG on a specific component across services
for service in order-service payment-service notification-service; do
bitso logs level set --service $service --logger com.bitso.common.validation.RequestValidator --level DEBUG --duration 30m
done
All log level changes are audited:
View audit logs in the Developer Portal or via:
bitso logs level history --service my-service
| Reference | Description |
|---|---|
| Confluence: How to use dynamic log level | Official documentation |
| Skill | Purpose |
|---|---|
| logback-config-rfc-27 | Static Logback configuration |
| structured-logs-rfc-34 | Structured logging format |
xiaohongshu
technical spec
product ux expert
database patterns
Conduct multi-agent task orchestration and workflow coordination.
Initialize project with Conductor artifacts (product definition,
Expert in web animations, transitions, and motion design using Framer Motion and CSS
Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...
PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.
Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...
Display project status, active tracks, and next actions
Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience