summaryrefslogtreecommitdiff
path: root/src/logger.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Move command-line items to CommandLineConfGravatar danieldg2009-10-211-32/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11949 e03df62e-2008-0410-955e-edbf42e46eb7
* Use ConfigTagList as a faster access method for access to configurationGravatar danieldg2009-10-211-8/+7
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11948 e03df62e-2008-0410-955e-edbf42e46eb7
* Get rid of more unneeded parent classesGravatar danieldg2009-10-201-10/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11930 e03df62e-2008-0410-955e-edbf42e46eb7
* Close files opened by configreaderGravatar danieldg2009-10-191-0/+16
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11915 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove VF_SERVICEPROVIDER, prevent heap allocation of ConfigReaderGravatar danieldg2009-10-181-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11904 e03df62e-2008-0410-955e-edbf42e46eb7
* Rewrite ConfigReader againGravatar danieldg2009-10-171-6/+7
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11879 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove InspIRCd* parameters and fieldsGravatar danieldg2009-09-261-7/+7
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11763 e03df62e-2008-0410-955e-edbf42e46eb7
* Set log to null on close and check for null loghandle on ↵Gravatar w00t2009-08-141-6/+9
| | | | | | FileWriter::WriteLogLine. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11516 e03df62e-2008-0410-955e-edbf42e46eb7
* Reapply r11241: flush and close log filehandles properly when the log is closed.Gravatar dz2009-04-041-0/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11285 e03df62e-2008-0410-955e-edbf42e46eb7
* Revert r11241 due to crashiness when rehashing from IRC.Gravatar dz2009-03-221-1/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11246 e03df62e-2008-0410-955e-edbf42e46eb7
* Actually close file log FDs when we're done with them.Gravatar dz2009-03-211-0/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11241 e03df62e-2008-0410-955e-edbf42e46eb7
* Update all wiki links to point to the new wiki. This was done automatically ↵Gravatar psychon2009-03-151-1/+1
| | | | | | | | | with the following command, only .Makefile.inc got some indent fixups by hand. 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
* Nuke trailing spacesGravatar peavey2009-02-141-3/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11105 e03df62e-2008-0410-955e-edbf42e46eb7
* Update copyrights for 2009.Gravatar w00t2009-01-021-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10932 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove last vestige of libircdfoo, by changing tag into a single ↵Gravatar w00t2008-07-291-1/+1
| | | | | | identifier marking object as requiring compilation into a .o (minor commit) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10076 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove 'default log' and <options:loglevel> (wtf?)Gravatar brain2008-04-111-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9460 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix peavey and w00ts bug they found by removing the nonblocking part of the ↵Gravatar brain2008-04-021-56/+3
| | | | | | logger. This stuff was hackish and isnt required. If your hard disk locks up, then you have bigger worries. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9276 e03df62e-2008-0410-955e-edbf42e46eb7
* Implement logtype exclusion (ie: '* -USERINPUT -USEROUTPUT' to mean ↵Gravatar aquanight2008-02-171-29/+96
| | | | | | everything except USER{INPUT,OUTPUT}), also pretty up and expand on the documentation in LogManager git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8959 e03df62e-2008-0410-955e-edbf42e46eb7
* Make log targets in config space-seperated (ie: 'USERINPUT USEROUTPUT') like ↵Gravatar aquanight2008-02-171-1/+1
| | | | | | the rest of the config, instead of comma-seperated git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8957 e03df62e-2008-0410-955e-edbf42e46eb7
* Make -nofork work properly with logging now.Gravatar aquanight2008-02-151-18/+29
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8944 e03df62e-2008-0410-955e-edbf42e46eb7
* More <log> stuffGravatar aquanight2008-02-141-43/+63
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8928 e03df62e-2008-0410-955e-edbf42e46eb7
* Add -Wshadow to cflags, and fix a bunch of warnings that come with it. Add a ↵Gravatar w00t2008-02-111-2/+3
| | | | | | note to webirc that needs looking at. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8892 e03df62e-2008-0410-955e-edbf42e46eb7
* Code for loading <log method=file> tags from config, but this still needs to ↵Gravatar aquanight2008-02-101-0/+146
| | | | | | be fit into the config reader stuff git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8885 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix a bug in new logging API (global logstreams weren't notified of events ↵Gravatar w00t2008-02-091-14/+19
| | | | | | if a specific logstream had an event claimed, don't store type in logstreams (pass it to OnLog instead), and add an example of what the new logging API can do: m_chanlog - logs to #services at the moment. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8865 e03df62e-2008-0410-955e-edbf42e46eb7
* Implement LogManager::CloseLogs() to give logstreams a chance to clean up on ↵Gravatar w00t2008-02-091-0/+24
| | | | | | rehash or exit. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8863 e03df62e-2008-0410-955e-edbf42e46eb7
* Add a printf-type override for LogManager::Log(). We need to find a way to ↵Gravatar w00t2008-02-091-0/+12
| | | | | | see if a log call would have any interest, to avoid unnecessary printf() here though. Convert a bunch of stuff to using new logging (added targets: USERS, USERIO) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8860 e03df62e-2008-0410-955e-edbf42e46eb7
* New logging implementation. Also write messages about InspIRCd::Log() being ↵Gravatar w00t2008-02-091-0/+24
| | | | | | deprecated. Any takers on changing it all to use the new system? :P. STILL TODO: create <log> blocks in config, add a method called to 'cleanup' (or use destructor) of logstreams, add a method to logmanager to initiate destruction of all logstreams. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8858 e03df62e-2008-0410-955e-edbf42e46eb7
* Initial totally untested logger implementation that does nothing.Gravatar w00t2008-02-091-0/+66
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8856 e03df62e-2008-0410-955e-edbf42e46eb7
* Rework the suggested logger implementation to one that doesn't suck donkey ↵Gravatar w00t2008-02-061-5/+18
| | | | | | and flesh it out a little more. I actually think this is a workable idea now, and I might start on it sometime soon. :-) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8847 e03df62e-2008-0410-955e-edbf42e46eb7
* Add some notes on proposed logging stuffGravatar w00t2008-02-021-0/+13
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8798 e03df62e-2008-0410-955e-edbf42e46eb7
* Add logger.(cpp|h), will eventually hold implementation of logging managerGravatar w00t2008-01-171-0/+17
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8725 e03df62e-2008-0410-955e-edbf42e46eb7