apache / apache/hop

[Feature Request]: Append to log file when using hop run instead of deleting content / overwriting file

Open
#4,296 0 comments 0 reactions 0 assignees View on GitHub
awaiting triage Hop Run P3
Dominant language
Java
Stars
1.5k
Forks
476
Avg merge
18h 32m
Merged PRs (30d)
216

Description

### What would you like to happen?

When you use hop_run.bat and want to save the logs in a file that already exists, the content is deleted instead of being added.
Is it possible to add an option to concatenate logs or change the default behavior?
In my example, I'd like to obtain one log file per day containing all executions logs.
This is the behavior of kettle, for example.

E:\apache-hop-client-2.9\hop\hop-run.bat -j test_hop -r local -f E:\Process_Apache_Hop\projets\test_hop\workflow_file.hwf --level BASIC --logfile=E:\Logs\Hop\test_hop_%date:~6,4%%date:~3,2%%date:~0,2%.log

### Issue Priority

Priority: 3

### Issue Component

Component: Hop Run

Contributor guide

Open the contributing guide

Research direction

Start with the hop_run.bat entry point and trace how its --logfile option handles an existing file. Define whether appending is opt-in or the default, then verify that repeated executions produce one combined daily log without deleting earlier content.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.