Skip to content

Feature: Allow nanocl logs to support multiple process names #1143

@0xle0ne

Description

@0xle0ne

Is your feature request related to a problem? Please describe.
The current nanocl logs command only accepts a single process name (e.g., nanocl logs my-process). This limitation makes it inefficient for developers who need to monitor logs from multiple processes concurrently, requiring them to run multiple commands or manage multiple terminal sessions.

Describe the solution you'd like
Extend the nanocl logs command to accept multiple process names as arguments.
This would enable usage such as nanocl logs my-process my-second-process, streaming logs from all specified processes in a unified output.

Describe alternatives you've considered

  • Running separate nanocl logs commands for each process, which is cumbersome and not ideal for tracking logs from interconnected processes.
  • Piping outputs from individual nanocl logs commands and merging them manually, which introduces unnecessary complexity.

Additional context
Implementing this feature would make it more efficient for developers to debug and monitor systems involving multiple processes. This change could streamline workflows and better support real-time log analysis for multi-service applications.

Metadata

Metadata

Assignees

Labels

cliInclude change in `bin/nanocl`enhancementNew feature or requestgood first issueGood for newcomers

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions