Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-46099

ircbot-plugin is spamming jenkins console log with all messages from ircchannels

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • ircbot-plugin
    • None

      It seem that because `org.pircbotx.InputParser` logger is using the default (INFO) level to log each message received on IRC channels it does create too much noise/spam on the console log.

      The purpose of Jenkins log is to log important events and not to be a backup of channel history.

      Do disable this behaviour a user can add a filter for `org.pircbotx.InputParser` that is changing the logging level to WARNING from INFO. Still, Jenkins will lose this on restart because the change is not persistent.

      Due to this we need to assure that the default settings are NOT to log every message from IRC channels. 

      We should either default to WARNING level, or to change the logging line level from INFO to DEBUG.

      Aug 09, 2017 4:22:36 PM org.pircbotx.InputParser handleLine
      INFO: :xxx!~xxx@ovpn-116-81.example.com QUIT :Ping timeout: 608 seconds
      

      We are talking about thousands of messages per day, anything that happens on that channels is currently logged.

            kutzi kutzi
            ssbarnea Sorin Sbarnea
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: