Project

General

Profile

Bug #481

Fix log level for erroneous messages

Added by Pierre-Louis Bonicoli over 6 years ago. Updated 19 days ago.

Status:
New
Priority:
Normal
Assignee:
Target version:
-
Start date:
2015-10-13
Due date:
% Done:

0%

Estimated time:
Patch Available:
No
Found in Versions:
Confirmed:
Yes
Branch:
Security:
No
Help Needed:

Description

Bip should display IRC errors sent by IRC servers using error log level.

The current behaviour is:

13-10-2015 14:48:14 DEBUG: ":irc.server.local 432 * Pilou :Nickname too long, max. 9 characters

History

#1

Updated by Pierre-Louis Bonicoli over 6 years ago

  • Description updated (diff)
#2

Updated by Loïc Gomez 19 days ago

  • Assignee changed from Pierre-Louis Bonicoli to Loïc Gomez

I've got a change which logs with ERROR level for all unhandled IRC code 4xx messages.

But then I guess we don't necessarily want error level messages on 401 ERR_NOSUCHNICK or other like 404 ERR_CANNOTSENDTOCHAN as we might not want to consider user mistakes to be a BIP error, right ?

Also, do we want IRC errors to be logged into their context logfiles (channel, username) or in global BIP logfile ?

#3

Updated by Pierre-Louis Bonicoli 19 days ago

Then a log level between DEBUG and ERROR can be used for all 4XX messages ?

Also available in: Atom PDF