]> git.ipfire.org Git - thirdparty/FORT-validator.git/commit
Logging: More refactors
authorAlberto Leiva Popper <ydahhrk@gmail.com>
Fri, 21 May 2021 18:30:32 +0000 (13:30 -0500)
committerAlberto Leiva Popper <ydahhrk@gmail.com>
Fri, 21 May 2021 18:30:32 +0000 (13:30 -0500)
commit33e10df9112b9ffa7b2ed0f1f102eff7ab153e2e
treec3f25bb076593d533e53055b3f0808689a5d517e
parentd27a46a7fd816397c2d1fa03d7c3f98d46772725
Logging: More refactors

1. Merges the log and debug modules. I think their separation was the
   reason why they forgot to add stack traces to syslog when they added
   syslog to the project.
   Not risking that mistake again.
2. Removes as many obstacles as possible from stack trace printing on
   critical errors.
3. Add mutexes to logging. This should prevent messages from mixing on
   top of each other when there are threads.
src/Makefile.am
src/debug.c [deleted file]
src/debug.h [deleted file]
src/log.c
src/log.h
src/main.c