The InspIRCd Project
Home | Developers | Wiki | Forums | Bug Tracker | SVN | Download | Blog
Personal tools

Development/Logging

From Inspire IRCd (InspIRCd)

Jump to: navigation, search
Development
This page has been marked as Development Material.
Information posted here may be subject to change and/or only available in unstable versions of InspIRCd.


Logging subsystem

This page will document the ideas behind the redesign of the logging subsystem.

Logging overhaul away from the current global 'level' of logging (debug, default, sparse, etc) to an array + enum of enabled types (servertoserver, servertoclient, xline, connect, disconnect, the possibilities are endless ;p). With this, I'd also like to suggest the possibility of different logging *destinations* for different types, i.e. <stitch.chatspike.net> foo connected on blah (privmsg to a channel), or possibly for modules to hook to log to a db, etc.

Logging Types

Required types of logging that we would need to support...

  • DEBUG
  • MODULE
  • CLIENTTOSERVER
  • SERVERTOSERVER
  • XLINE
  • CONNECT
  • DISCONNECT
  • OPER
  • KILL

Current Types

Current types in code as of SVN r8961.

  • BANCACHE
  • DEPRECATED
  • OPER
  • SNOMASK
  • STARTUP
  • USERINPUT
  • USEROUTPUT
  • USERS