aboutsummaryrefslogtreecommitdiff
path: root/src/logger.cpp
Commit message (Expand)AuthorAgeFilesLines
* Update copyright headers.Gravatar InspIRCd Robot2020-04-241-1/+1
* Make loading modules considerably more robust and user friendly.Gravatar Sadie Powell2020-02-021-1/+1
* Update copyright headers.Gravatar InspIRCd Robot2020-01-111-3/+9
* Make more config stuff case insensitive.Gravatar Peter Powell2018-07-241-7/+7
* Add ConfigTag::getUInt for reading unsigned config values.Gravatar Peter Powell2018-04-161-1/+1
* Remove INSPIRCD_SOCKETENGINE_NAME and INSPIRCD_SYSTEM.•••- INSPIRCD_SOCKETENGINE_NAME is not really something that needs to be user facing. If opers want to know this kind of internal info then they can look at the build configuration. - INSPIRCD_SYSTEM causes problems for reproducible builds and is only accurate for the state of the system when InspIRCd is built which is not useful in the slightest. Gravatar Peter Powell2017-10-151-2/+1
* Allow <log> tags to specify how often logs should be flushed.•••Also use the behaviour behind this to fix #1290. Gravatar Peter Powell2017-02-281-4/+6
* Update stuff for the new versioning system.Gravatar Peter Powell2016-09-021-1/+1
* Add stdalgo::isin() and use it to simplify codeGravatar Attila Molnar2014-11-011-1/+1
* Add stdalgo::erase() and use it to simplify codeGravatar Attila Molnar2014-11-011-7/+3
* Kill needless #includes in source filesGravatar Attila Molnar2014-06-141-1/+0
* Prefix all definitions in config.h to avoid potential collisions.Gravatar Peter Powell2014-05-231-2/+2
* Add <path> keys for all of the compile-time paths.•••Also, make all paths in the config relative to their associated directory. This reverts a change in 2.0 which turned out to be a terrible idea, especially for system-wide installations. Gravatar Peter Powell2013-08-121-1/+1
* Fix a few oversights•••This partially reverts e0cb6bd46fb1d804ad6adea5688c844f7e1a0f6f Gravatar attilamolnar2013-07-011-1/+0
* Minor changes to the startup and shutdown code•••- Update comments - Close logs in LogManager destructor instead of relying on other code to do it - Change return type of InspIRCd::Run() to void - private: InspIRCd::CheckRoot() - Change log message type of setgroups() etc. errors to "STARTUP" - Load cmd_privmsg in PURE_STATIC builds Gravatar attilamolnar2013-06-181-1/+2
* Convert a ton of uses of MAXBUF to use a fixed buffer size.Gravatar Peter Powell2013-06-061-2/+2
* LogManager cleanupGravatar attilamolnar2013-05-241-39/+15
* Merge pull request #545 from SaberUK/master+logging-cleanup•••Clean up the logging system (part 1 of 2).Gravatar Attila Molnar2013-05-211-5/+8
|\
| * Accept a LogLevel instead of an int in logging methods.Gravatar Peter Powell2013-05-191-4/+3
| * Move LogHeader to LogStream.Gravatar Peter Powell2013-05-191-1/+5
* | Replaced vsnprintf with VAFORMAT pretty much everywhere.Gravatar Daniel Vassdal2013-05-181-10/+3
|/
* Add LOG_ prefix to the log level enum values.Gravatar Peter Powell2013-04-121-8/+8
* Replace copyright headers with headers granting specific authors copyrightGravatar Robby-2012-04-191-8/+17
* Fix for crash on restart or config file open (bug #44)Gravatar Adam2010-08-031-1/+1
* Compile testing can be usefulGravatar Daniel De Graaf2010-05-081-2/+2
* Change -debug to force RAWIO level logging and disable all other logsGravatar Daniel De Graaf2010-05-081-0/+7
* Add log header including ircd versionGravatar Daniel De Graaf2010-04-281-0/+1
* Add RAWIO log level which is more verbose than DEBUG•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12646 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2010-03-191-1/+6
* Support strftime format characters in <log> blocks•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12280 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2010-01-171-1/+5
* ...because every now and again, i have to do a massive commit.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12248 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2010-01-111-1/+1
* Move command-line items to CommandLineConf•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11949 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-211-32/+2
* Use ConfigTagList as a faster access method for access to configuration•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11948 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-211-8/+7
* Get rid of more unneeded parent classes•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11930 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-201-10/+1
* Close files opened by configreader•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11915 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-191-0/+16
* Remove VF_SERVICEPROVIDER, prevent heap allocation of ConfigReader•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11904 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-181-2/+2
* Rewrite ConfigReader again•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11879 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-171-6/+7
* Remove InspIRCd* parameters and fields•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11763 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-261-7/+7
* Set log to null on close and check for null loghandle on FileWriter::WriteLog...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11516 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2009-08-141-6/+9
* Reapply r11241: flush and close log filehandles properly when the log is closed.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11285 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar dz2009-04-041-0/+1
* Revert r11241 due to crashiness when rehashing from IRC.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11246 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar dz2009-03-221-1/+0
* Actually close file log FDs when we're done with them.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11241 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar dz2009-03-211-0/+1
* Update all wiki links to point to the new wiki. This was done automatically w...•••for file in $(find -type f -and -not -path '*/.svn/*' -and -not -name '*.so') ; do sed -e 's#http://www.inspircd.org/wiki#http://wiki.inspircd.org#' -e 's#http://wiki.inspircd.org/index.php/#http://wiki.inspircd.org/#' -i $file ; done git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11223 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar psychon2009-03-151-1/+1
* Nuke trailing spaces•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11105 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2009-02-141-3/+2
* Update copyrights for 2009.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10932 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2009-01-021-1/+1
* Remove last vestige of libircdfoo, by changing tag into a single identifier...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10076 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-07-291-1/+1
* Remove 'default log' and <options:loglevel> (wtf?)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9460 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-04-111-2/+2
* Fix peavey and w00ts bug they found by removing the nonblocking part of the l...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9276 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-04-021-56/+3
* Implement logtype exclusion (ie: '* -USERINPUT -USEROUTPUT' to mean everythin...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8959 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar aquanight2008-02-171-29/+96
* Make log targets in config space-seperated (ie: 'USERINPUT USEROUTPUT') like ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8957 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar aquanight2008-02-171-1/+1
* Make -nofork work properly with logging now.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8944 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar aquanight2008-02-151-18/+29