hashicorp / hashicorp/nomad

[feature] log_dir Nomad Config

Open
#6,174 3 comments 1 reaction 0 assignees View on GitHub
stage/needs-discussion theme/client theme/logging theme/scheduling type/enhancement
Dominant language
Go
Stars
17k
Forks
2.1k
Avg merge
1d 9h
Merged PRs (30d)
105

Description

I would like to propose a feature request: the possibility to define Nomad Config log_dir (other than allocs dir). This would enable us:
1. easily zip all logs from one OS
2. to have dedicate file system / partition /mount

Related to:
https://github.com/hashicorp/nomad/issues/1469
https://github.com/hashicorp/nomad/blob/master/client/logmon/logmon.go#L25

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reading client/logmon/logmon.go and the related Nomad issue #1469 to understand the current log directory behavior. Determine where Nomad configuration could define a separate log_dir from the allocs directory, then verify the requested configuration supports collecting logs on a dedicated filesystem or mount.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
infrastructure
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.