Project

General

Profile

Bug #2903

CLI logging is creating a lot of logs

Added by Martin Bacovsky almost 7 years ago. Updated almost 2 years ago.

Status:
Resolved
Priority:
Normal
Category:
-
Target version:
Difficulty:
Triaged:
Bugzilla link:
Pull request:
Team Backlog:
Fixed in Releases:
Found in Releases:
In Kanboard:

Description

logs should be appended to one file and rolled based on size. New log for every run is not optimal

Associated revisions

Revision 28674baa (diff)
Added by Martin Bacovsky almost 7 years ago

fixes #2903 - CLI logging is creating a lot of logs

Revision 83cfcfbb
Added by mbacovsky almost 7 years ago

Merge pull request #7 from mbacovsky/2903_logging_setup

fixes #2903 - CLI logging is creating a lot of logs

History

#1 Updated by Martin Bacovsky almost 7 years ago

  • Status changed from New to Assigned
  • Target version set to 1.3.0

#2 Updated by Martin Bacovsky almost 7 years ago

  • Status changed from Assigned to Resolved
  • Assignee set to Martin Bacovsky

fixed with PR #7 https://github.com/theforeman/hammer-cli/pull/7

- roll log file after 1MB by default, size can be set in cli_config.yml
- keep last 5 rolls

#3 Updated by Dominic Cleal over 6 years ago

  • Project changed from Foreman to Hammer CLI
  • Category deleted (44)

Also available in: Atom PDF