Project

General

Profile

Bug #12230

/var/log/rudder/agent-check/check.log should contains only error level messages

Added by Romain Quinaud 9 months ago. Updated 12 days ago.

Status:
Released
Priority:
N/A
Category:
Agent
Target version:
Severity:
Minor - inconvenience | misleading | easy workaround
User visibility:
Operational - other Techniques | Technique editor | Rudder settings
Effort required:
Very Small
Priority:
0

Description

Hello,


/USR/SBIN/CRON[13810]: (root) CMD (/opt/rudder/bin/rudder agent check >> /var/log/rudder/agent-check/check.log 2>&1)

/etc/cron.d/rudder-agent

The file /var/log/rudder/agent-check/check.log contains ok: Rudder agent check ran without errors.

It would be better to save only errors

Associated revisions

Revision d41069bf (diff)
Added by Benoît PECCATTE 26 days ago

Fixes #12230: Agent check crontab logs stdout

History

#1 Updated by Alexis MOUSSET 9 months ago

  • Description updated (diff)

#2 Updated by Alexis MOUSSET 9 months ago

  • Severity changed from Critical - prevents main use of Rudder | no workaround | data loss | security to Minor - inconvenience | misleading | easy workaround
  • Priority changed from 76 to 32

This fills the logs with useless messages, setting Severity to Minor as it does not break anything, but is more an annoyance.

#3 Updated by Vincent MEMBRÉ 8 months ago

  • Target version changed from 4.1.11 to 4.1.12

#4 Updated by Vincent MEMBRÉ 7 months ago

  • Target version changed from 4.1.12 to 4.1.13

#5 Updated by Benoît PECCATTE 7 months ago

  • Target version changed from 4.1.13 to 411

#6 Updated by Benoît PECCATTE 7 months ago

  • Target version changed from 411 to 4.1.13

#7 Updated by Benoît PECCATTE 7 months ago

  • Tags deleted (Quick and important)

#8 Updated by Vincent MEMBRÉ 5 months ago

  • Target version changed from 4.1.13 to 4.1.14
  • Priority changed from 32 to 31

#9 Updated by Benoît PECCATTE 4 months ago

  • Target version changed from 4.1.14 to 4.1.15

#10 Updated by Benoît PECCATTE 2 months ago

  • Effort required set to Very Small
  • Priority changed from 31 to 56

Isn't it interesting to know that the run has been checked ?

#11 Updated by Vincent MEMBRÉ about 2 months ago

  • Target version changed from 4.1.15 to 4.1.16

#12 Updated by Vincent MEMBRÉ about 1 month ago

  • Target version changed from 4.1.16 to 4.1.17
  • Priority changed from 56 to 55

#13 Updated by Alexis MOUSSET about 1 month ago

  • Assignee deleted (Alexis MOUSSET)
  • Priority changed from 55 to 0

#14 Updated by Benoît PECCATTE 26 days ago

  • Status changed from New to In progress
  • Assignee set to Benoît PECCATTE

#15 Updated by Benoît PECCATTE 26 days ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Benoît PECCATTE to Alexis MOUSSET
  • Pull Request set to https://github.com/Normation/rudder-techniques/pull/1366

#16 Updated by Benoît PECCATTE 26 days ago

  • Status changed from Pending technical review to Pending release

#17 Updated by François ARMAND 16 days ago

  • Subject changed from Agent check crontab logs stdout to /var/log/rudder/agent-check/check.log should contains only error level messages

#18 Updated by Vincent MEMBRÉ 12 days ago

  • Status changed from Pending release to Released
This bug has been fixed in Rudder 4.1.17, 4.3.7 and 5.0.3 which were released today.
Changelog
Changelog
Changelog

Also available in: Atom PDF