Ian Gulliver
|
94744ef96f
|
Account for the possibility of stderr not being open when we start.
|
2016-03-09 18:28:46 -08:00 |
|
Ian Gulliver
|
8316739941
|
Move stdin/out handling entirely into stdinout.c
|
2016-03-09 18:07:09 -08:00 |
|
Ian Gulliver
|
cf923fe3fb
|
Add --quiet
|
2016-03-09 13:10:07 -08:00 |
|
Ian Gulliver
|
87f82b0327
|
Keep fd 2 open as our log fd, so other things that write there (e.g. assert()) work sanely.
|
2016-03-09 13:06:26 -08:00 |
|
Ian Gulliver
|
fc14de31ff
|
Only grab SIGHUP if we can do something with it.
|
2016-03-09 12:55:21 -08:00 |
|
Ian Gulliver
|
b455826db2
|
Switch to signalfd for SIGHUP
|
2016-03-08 23:04:20 -08:00 |
|
Ian Gulliver
|
e5af92c331
|
Add --detach. Add multi-pass flag parsing that lets us get things in the right order.
|
2016-03-08 11:26:39 -08:00 |
|
Ian Gulliver
|
eb89dafd0d
|
Add --log-timestamps
|
2016-03-07 20:12:35 -08:00 |
|
Ian Gulliver
|
3bcc2b43ba
|
Log more debug data.
|
2016-03-07 17:38:18 -08:00 |
|
Ian Gulliver
|
3ef52b16b5
|
Log file and line number.
|
2016-03-07 17:08:36 -08:00 |
|
Ian Gulliver
|
b434b67dd8
|
Switch to LOG macro
|
2016-03-07 17:02:24 -08:00 |
|
Ian Gulliver
|
602c6f729b
|
Add log rotation on SIGHUP
|
2016-03-07 16:14:35 -08:00 |
|
Ian Gulliver
|
46696933aa
|
Add --log-file
|
2016-03-07 11:26:25 -08:00 |
|
Ian Gulliver
|
51eaabe27a
|
Format attributes go in the header, and I are dumb.
|
2016-03-06 22:08:04 -08:00 |
|
Ian Gulliver
|
6480a960fa
|
Switch to standard logging framework
|
2016-03-05 22:54:26 -08:00 |
|