Viewing Deployment Logs
Deployment logs provide detailed information about update history, including success and failure details, timing, and links to external deployment systems.
Viewing Deployment Logs
Deployment logs provide detailed information about update history, including success and failure details, timing, and links to external deployment systems. This guide explains how to access and interpret deployment logs.
What Are Deployment Logs?
Deployment logs record:
- Update history - All past deployment attempts for a client
- Status outcomes - Whether each deployment succeeded or failed
- Timing information - When deployments started and completed
- Version details - Source and target versions for each deployment
- Error messages - Specific error details for failed deployments
- External references - Links to Octopus Deploy or other deployment tools
Accessing Deployment Logs
Method 1: From Client Row
- Navigate to Product > Client Manager
- Locate the client in the table
- Click the View Logs button or icon in the client’s row
- The Deployment Logs modal will open
Method 2: From Client Details
- Click on a client row to open details (if supported)
- Find the Deployment History or View Logs section
- Click to open the logs modal
Method 3: Quick Access for Failed Clients
- Filter by Update Status: Failed
- Quickly access logs for all failed clients to investigate issues
Learn more: Filtering and Search
Understanding the Logs Modal
When you open deployment logs, you’ll see a modal or panel with:
Header Information
- Client Name/Identifier - Which client’s logs you’re viewing
- Current Version - The version currently deployed
- Close/Exit button - Close the modal and return to Client Manager
Log Entries Table
The main section displays a table of deployment attempts, typically including:
| Column | Description |
|---|---|
| Date/Time | When the deployment started |
| Version | Target version for the deployment |
| Status | Success, Failed, or other status |
| Duration | How long the deployment took |
| Details | Brief description or error message |
| Actions | Links to external tools (Octopus Deploy) |
Sorting and Filtering
- Logs are typically sorted by date (newest first)
- You may be able to filter by status or version
- Search within logs (if supported)
Interpreting Log Entries
Successful Deployment Log
Example Entry:
Date: 2024-11-05 10:30 AM
Version: 2024.11.1
Status: Success
Duration: 12 minutes
Details: Deployment completed successfully
What It Tells You:
- Deployment completed without errors
- Took 12 minutes from start to finish
- Client is now running version 2024.11.1
- Safe to proceed with additional updates if needed
Failed Deployment Log
Example Entry:
Date: 2024-11-05 08:15 AM
Version: 2024.11.1
Status: Failed
Duration: 8 minutes
Details: Network timeout during artifact download
Error: Connection to deployment server lost at step 3 of 10
What It Tells You:
- Deployment encountered an error 8 minutes after starting
- Specific error: network timeout
- Failed at step 3 (early in deployment process)
- Client likely still on previous version
- Investigation and retry needed
Pending/In-Progress Log
Example Entry:
Date: 2024-11-06 2:00 AM
Version: 2024.11.1
Status: Pending
Duration: —
Details: Scheduled update, not yet started
What It Tells You:
- Update is scheduled but hasn’t started yet
- Will begin at the specified time (2:00 AM)
- No duration yet (not started)
Common Log Details and Error Messages
Network and Connectivity Errors
Error Messages:
- “Network timeout during artifact download”
- “Connection to deployment server failed”
- “Unable to reach client”
- “DNS resolution failed”
What to Check:
- Network connectivity between deployment server and client
- Firewall rules
- VPN or routing issues
- DNS configuration
Service and Dependency Errors
Error Messages:
- “Required service not responding”
- “Database connection failed”
- “Dependency service unavailable”
- “Service startup timeout”
What to Check:
- Required services are running
- Database is accessible
- Dependencies are healthy
- Service configuration is correct
Resource Errors
Error Messages:
- “Insufficient disk space”
- “Out of memory”
- “Disk write failed”
- “Unable to allocate resources”
What to Check:
- Available disk space on client
- Memory utilization
- System resource limits
- Cleanup old logs/files if needed
Configuration Errors
Error Messages:
- “Invalid configuration”
- “Missing required parameter”
- “Configuration validation failed”
- “Environment variable not set”
What to Check:
- Client configuration files
- Environment variables
- Required settings are present
- Configuration syntax
Version and Compatibility Errors
Error Messages:
- “Version incompatibility detected”
- “Migration failed”
- “Database schema mismatch”
- “Unsupported version transition”
What to Check:
- Version upgrade path is supported
- Database migrations are compatible
- No missing intermediate versions
- Compatibility requirements
Using Octopus Deploy Links
Many log entries include links to Octopus Deploy, the underlying deployment orchestration tool.
What Is Octopus Deploy?
Octopus Deploy is the system that executes the actual deployments. It provides:
- Detailed step-by-step deployment progress
- Full deployment logs and output
- Artifact information
- Variable values used during deployment
- Deployment task history
Accessing Octopus Deploy
- In the deployment log entry, find the Octopus or View in Octopus link
- Click the link (opens in new tab)
- You may need to authenticate to Octopus Deploy
- View detailed deployment information
Note: Access to Octopus Deploy may require specific permissions. Contact your administrator if you don’t have access.
What to Look For in Octopus
- Task Log - Full console output from deployment
- Failed Steps - Which specific step failed and why
- Variable Values - Configuration used during deployment
- Artifacts - Files deployed to the client
- Duration per Step - Where time was spent
Analyzing Deployment History
Identifying Patterns
Review multiple log entries to identify patterns:
Repeated Failures:
- Same error across multiple attempts
- Indicates persistent issue
- Requires investigation and fix before retry
Increasing Duration:
- Deployments taking progressively longer
- May indicate performance degradation
- Check system resources
Intermittent Failures:
- Success/failure pattern
- May indicate flaky network or resource contention
- Check for external dependencies
Version-Specific Issues:
- All failures occur with specific version
- Indicates version compatibility problem
- May need to skip or patch that version
Comparing Successful vs. Failed Deployments
Look for differences between successful and failed deployments:
- Timing - Did failures occur during high-load periods?
- Duration - Do failures happen early or late in deployment?
- External Events - Maintenance, network changes, or other events?
- Resource State - Different disk space or memory availability?
Tracking Deployment Trends
Use logs to understand deployment health over time:
- Success Rate - Percentage of successful deployments
- Average Duration - How long typical deployments take
- Failure Frequency - How often failures occur
- Recovery Time - Time from failure to successful retry
Troubleshooting with Logs
Step 1: Identify the Failure
- Open deployment logs for the failed client
- Find the most recent failed entry
- Note the error message and details
Step 2: Research the Error
- Copy the specific error message
- Check internal documentation or knowledge base
- Search for similar errors in team chat or tickets
- Consult with technical team if needed
Step 3: Verify Root Cause
- Check the items mentioned in the error message
- Use Octopus Deploy link for detailed information
- Verify client state (running, accessible, resources)
- Test connectivity or dependencies
Step 4: Implement Fix
- Apply the fix (configuration change, resource allocation, etc.)
- Document what was fixed
- Prepare for retry
Step 5: Retry and Verify
- Schedule a new update (immediate or scheduled)
- Monitor the deployment closely
- Check logs after completion
- Verify successful deployment
Learn more: Scheduling Updates
Log Retention and History
How Long Are Logs Kept?
Deployment logs are typically retained for:
- Recent logs: Indefinitely or per retention policy
- Historical logs: May be archived after a certain period
- Failed logs: Often retained longer for troubleshooting
Check with your administrator for specific retention policies.
Accessing Archived Logs
If you need older logs:
- Check if logs modal has date range or pagination
- Contact administrator for archived log access
- Query deployment database directly (with appropriate permissions)
- Check Octopus Deploy for historical task logs
Exporting and Sharing Logs
To share log information with your team:
Option 1: Screenshot
- Open the logs modal
- Capture screenshot of relevant entries
- Share via email, chat, or ticket system
Option 2: Copy Details
- Select and copy error messages or details from log entries
- Paste into email, ticket, or documentation
- Include context (client ID, date, version)
Option 3: Octopus Link
- Copy the Octopus Deploy link from log entry
- Share link with team members
- Ensure recipients have Octopus access
Option 4: Export (if available)
Some systems offer export functionality:
- Export to CSV or JSON
- Download log files
- Generate reports
Check if your deployment logs modal has an export button.
Best Practices
- Check Logs After Every Deployment - Even successful ones may have warnings
- Review Failed Logs Immediately - Don’t let failed deployments sit unresolved
- Document Resolutions - Note what fixed each failure for future reference
- Monitor for Patterns - Identify recurring issues proactively
- Use Octopus Links - Dive deeper when basic logs don’t explain the issue
- Share Knowledge - Help team members by documenting common errors
- Keep Logs Accessible - Bookmark or save important log entries
- Compare Across Clients - Look at logs for similar clients to identify systemic issues
- Track Metrics - Monitor success rates and durations over time
- Escalate When Needed - Don’t hesitate to involve technical support
Common Scenarios
Scenario 1: Investigating a Failed Update
Situation: Client update failed, need to find out why
Steps:
- Navigate to Client Manager
- Filter by Status: Failed
- Click View Logs for the failed client
- Find the most recent failed entry
- Read the error message
- Click Octopus link for details
- Identify and fix the root cause
- Retry the update
Scenario 2: Comparing Deployment Duration
Situation: Deployments seem to be taking longer than usual
Steps:
- Open logs for a client
- Review recent successful deployment durations
- Compare to earlier deployments
- Identify if duration is increasing
- Investigate resource usage or network issues
- Optimize or allocate more resources
Scenario 3: Verifying Update Success
Situation: Want to confirm an update completed successfully
Steps:
- Open logs for the client
- Find the most recent log entry
- Verify status shows “Success”
- Check version matches expected target version
- Review duration to ensure normal
- Close logs, confident update succeeded
Scenario 4: Troubleshooting Intermittent Failures
Situation: Updates sometimes fail, sometimes succeed
Steps:
- Open logs for the affected client
- Review multiple deployment attempts
- Look for patterns in failures
- Compare failed vs. successful deployments
- Identify differences (timing, resources, network)
- Address underlying instability
- Monitor future deployments
Next Steps
Now that you understand deployment logs:
- Learn about Status Indicators
- Try Scheduling Updates
- Set up Live Updates to monitor deployments
- Review Client Manager Overview for additional features
For questions about specific deployment errors or accessing Octopus Deploy, contact your system administrator or technical support team.