X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=include%2Flogger.h;h=d88706214509920f39201510bf9e1778242bd621;hb=71f7e47bcd7b72d7999daa9f061c8850b5a6521b;hp=25dcea85ff23e423cbc8e2091b79df9d94104a7a;hpb=58385dd458e927994957b6d603f7f9da3fc52e14;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/include/logger.h b/include/logger.h index 25dcea85f..d88706214 100644 --- a/include/logger.h +++ b/include/logger.h @@ -2,8 +2,8 @@ * | Inspire Internet Relay Chat Daemon | * +------------------------------------+ * - * InspIRCd: (C) 2002-2008 InspIRCd Development Team - * See: http://www.inspircd.org/wiki/index.php/Credits + * InspIRCd: (C) 2002-2009 InspIRCd Development Team + * See: http://wiki.inspircd.org/Credits * * This program is free but copyrighted software; see * the file COPYING for details. @@ -38,10 +38,6 @@ class CoreExport FileWriter : public EventHandler */ FILE* log; - /** Buffer of pending log lines to be written - */ - std::string buffer; - /** Number of write operations that have occured */ int writeops; @@ -51,10 +47,6 @@ class CoreExport FileWriter : public EventHandler */ FileWriter(InspIRCd* Instance, FILE* logfile); - /** This returns false, logfiles are writeable. - */ - virtual bool Readable(); - /** Handle pending write events. * This will flush any waiting data to disk. * If any data remains after the fprintf call, @@ -77,7 +69,6 @@ class CoreExport FileWriter : public EventHandler virtual void Close(); /** Close the log file and cancel any events. - * (indirectly call Close() */ virtual ~FileWriter(); }; @@ -165,6 +156,7 @@ class CoreExport LogManager : public classbase LogManager(InspIRCd *Instance) { + noforkstream = NULL; ServerInstance = Instance; Logging = false; }