summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ospfd/log.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* From a syslog perspective it does not make sense to log fatal andbluhm2017-03-211-6/+6
| | | | | | warn with the same severity. Switch log_warn() to LOG_ERR and keep fatal() at LOG_CRIT. OK reyk@ florian@
* sync log.c from relayd et al to ospfd.benno2017-01-241-33/+65
| | | | | | | there is still a little difference regarding handling of the verbosity value that will be handled later. ok claudio@
* copy log.c/h from bgpd.benno2017-01-231-9/+12
| | | | ok claudio
* work on making log.c similar in all daemons:benno2016-09-021-129/+9
| | | | | | | move daemon-local functions into new logmsg.c, and reduce the (mostly whitespace) differences so that log.c's can be diffed easily. ok claudio@, feedback from henning@, deraadt@, reyk@
* Convert the logic in yyerror(). Instead of creating a temporarybluhm2014-11-031-3/+1
| | | | | format string, create a temporary message. OK deraadt@ claudio@
* Decouple log_verbose() from log_init() so the verbose flag stays set withsthen2011-08-201-2/+1
| | | | | "ospfd -v" (previously only "-vd" worked). Feedback on earlier implementation from henning@ blambert@ claudio@, ok claudio@
* Implement IMSG_CTL_LOG_VERBOSE to enable or disable debug logging on runtime.claudio2009-11-021-2/+10
| | | | | | It always annoyed me that in case of a problem I had to restart the ospf in forground debug mode and by doing so losing all routes at least twice. OK henning, sthen, michele
* Add some NOTREACHED to please lint.claudio2006-03-091-1/+5
|
* Move *_name functions to log.c and use these for both ospfd and ospfctl.claudio2006-03-091-1/+112
| | | | | Stuff that is only used in ospfd debug messages is simplified. OK norby@
* Move procnames from log.h to log.c it is only used there.claudio2006-03-081-1/+7
|
* and some includes too much here as well, grunkhenning2005-03-311-7/+1
|
* Welcome ospfdclaudio2005-01-281-0/+164
started by Esben Norby some time ago by using the imsg/three process framework of bgpd. He implemented the basic concept plus the ospf finite state machines. Later I joined and helped him cleanup, debug and extend his work. Right now it is not particularly useful, major parts are still missing but is imported to allow more people to work on it. status: The basic protocol works for broadcast networks and the LS database is synchronized and updated. It is not possible to be DR or BDR on a network and other interface types like point-to-point are not yet supported. The shortest path tree is not calculated and so no routing information is exchanged with the kernel FIB. Not yet connected to the builds. OK henning@