Project

General

Profile

Actions

Feature #593

open

split log for facts, reports and everything else

Added by Paul Kelly over 13 years ago. Updated almost 7 years ago.

Status:
Needs design
Priority:
Normal
Assignee:
Category:
Rails
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

The foreman log should be split into three. The continuous stream of reports and facts makes looking at the log nearly impossible.


Related issues 1 (0 open1 closed)

Has duplicate Foreman - Feature #778: log entries shuld be separated out to aid visual investigationDuplicatePaul Kelly03/23/2011Actions
Actions #1

Updated by Ohad Levy almost 13 years ago

  • Assignee set to Paul Kelly
Actions #2

Updated by Paul Kelly over 12 years ago

  • Status changed from New to Ready For Testing
Actions #3

Updated by Ohad Levy over 12 years ago

  • Target version set to 1.0
Actions #4

Updated by Paul Kelly over 12 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions #5

Updated by Ohad Levy over 12 years ago

it would have been nice if we also included the ENC requests too ;)

Actions #6

Updated by Ohad Levy over 12 years ago

on second though, why would you split ENC, facts and reports logs? its probably better to have them all in a one seperate log.

that would be something like users logs and hosts/puppet related logs

Actions #7

Updated by Ohad Levy over 12 years ago

  • Status changed from Closed to Assigned

Sorry, I've reverted the commit, as after playing with it, it makes little sense for facts and reports to different logs.

sometime you want to debug them, and the order etc is important.

what do you think of the suggestion above?

Actions #8

Updated by Ohad Levy over 12 years ago

  • Status changed from Assigned to Closed
Actions #9

Updated by Paul Kelly over 12 years ago

  • Status changed from Closed to Need more information

The points that you make are fine. I assume that you mean the reports, facts and enc logs going into a development-input.log and the remainder going into the development.log.

As you say it is sometime advantageous to see all the logs in one location so we should make this configurable via a setting. For day to day monitoring of large installations the split log approach would be better in my opinion.

Actions #10

Updated by Ohad Levy over 12 years ago

Paul Kelly wrote:

The points that you make are fine. I assume that you mean the reports, facts and enc logs going into a development-input.log and the remainder going into the development.log.

I guess so.

As you say it is sometime advantageous to see all the logs in one location so we should make this configurable via a setting. For day to day monitoring of large installations the split log approach would be better in my opinion.

I agree, while I would argue there is a difference between a user action (such as creating a new host) vs automated actions (such as puppet reports).

Is that enough?

Actions #11

Updated by Ohad Levy about 12 years ago

  • Status changed from Need more information to Feedback
  • Target version deleted (1.0)

Thinking on this further,

I would probably would split to:

  1. events that are generated by puppet (ENC, facts, reports).
  2. API events
  3. events that are UI driven (all the rest)

What do you think? any idea on how to implement per controller action instead of per model?

Actions #12

Updated by Anonymous almost 7 years ago

  • Status changed from Feedback to Needs design
Actions

Also available in: Atom PDF