Commit graph

51 commits

Author SHA1 Message Date
86d719949e FIX #5 safer default paths for sockets: /tmp/ 2019-05-28 18:42:20 +02:00
b0cd779d61 Supports datagram socket activation 2019-05-03 12:05:27 +02:00
3e27cad5b1
Allow socket activation from systemd. 2019-05-03 10:47:45 +02:00
9728b236ed
Clean sockets at exit. 2019-05-03 10:32:18 +02:00
3d463823e3 Merge remote-tracking branch 'origin/set-syslog-fmt' 2019-05-02 13:39:42 +02:00
52ff939375 Revert "Merge remote-tracking branch 'blallo/set-syslog-fmt'"
This reverts commit 07f4246c80, reversing
changes made to 6da968177b.
2019-05-02 13:39:21 +02:00
07f4246c80 Merge remote-tracking branch 'blallo/set-syslog-fmt'
adds -log-fmt to circologd

refs #23
2019-05-02 12:32:13 +02:00
55827916bb
Add flag to set syslog format. 2019-05-02 12:28:33 +02:00
0e6b078ad6
Refactor log-fmt as flag.Value. Move in formatter pkg. 2019-05-02 11:20:08 +02:00
76a6381516
Add flag to set syslog format. 2019-05-01 15:55:41 +02:00
aea09d94bf refs #18 cleans sockets 2019-04-30 17:56:13 +02:00
5717c7ca29 FIX #18 server close connections
I am not sure this really fixes the problem (but it seems to)
2019-04-30 17:45:44 +02:00
ec3934501a filtering based on reader-Messages 2019-03-25 02:46:03 +01:00
aeceda5caa circolog.Message: for readers
refs #14
2019-03-24 19:55:01 +01:00
85ccd65543 receives data from multiple formats
however, data structure is variable; this makes templates unnecessary
complex. It would be better to convert everything to rfc5424 (at some
point)
2019-03-23 22:34:50 +01:00
0121ba64b5 systemd notify and watchdog (closes #12) 2019-01-07 10:31:41 +01:00
98a06659cb Merge branch 'master' into statusctl 2019-01-03 12:23:20 +01:00
9427fe91b1
Adding ctl subcommand to print status 2019-01-03 11:15:30 +01:00
14e97dd43e server-side filtering
circologctl filter lets you load filters on circologd
2018-12-25 03:52:53 +01:00
20269bf94e get status 2018-12-25 01:43:40 +01:00
518b8a5588 pause: minor cleanups 2018-12-25 01:43:40 +01:00
a2303c1e1d
Implement autotoggling after timeout 2018-12-24 18:41:06 +01:00
8865335515
answer to the right command 2018-12-24 15:54:22 +01:00
0747959f8a
First draft of control command 2018-12-20 09:45:05 +01:00
d61ab0638f
sigusr2 triggering buffer cleanup also via ctrlsock 2018-12-05 09:18:52 +01:00
2bf83b6c33 refactor syslog formatting
the goal is making circolog-tail apply formatting "locally", receiving
structured messages instead
2018-11-11 20:42:26 +01:00
b2127fd349 update readme to recent enhancements 2018-11-11 20:06:10 +01:00
eb66cb4307 clear logs on contrl socket 2018-11-11 19:58:49 +01:00
1b08df0ce0 add control socket (HTTP server)
also there is some refactoring on circologd: connection handling,
closing, etc. Not as much as needed, though: shutdown is still unclean,
and websocket clean shutdown is not tested
2018-11-11 19:51:21 +01:00
515e910683 refactor httpd 2018-11-11 19:19:21 +01:00
7c17c971a0 command responses 2018-11-11 19:10:53 +01:00
3f216f12f8 USR1 on circologd pause/resume 2018-11-10 18:22:23 +01:00
a990422953 HUP on circologd clears the buffer 2018-11-10 18:22:19 +01:00
7704c5ac70 tiny reformatting 2018-11-10 17:50:51 +01:00
86bdeed4a2 more signals handled 2018-11-10 17:43:48 +01:00
c70e28ff27 clean HTTP sockets on shutdown 2018-11-10 17:36:47 +01:00
917e457af0 some more check on http sockets 2018-11-10 17:28:02 +01:00
647701822c fmt=json on websocket 2018-11-10 17:20:17 +01:00
f66e07e873
Fix syslogd-socket handling at interrupt 2018-11-10 16:32:12 +01:00
36f531a58a fmt=json (http only) 2018-11-09 13:59:58 +01:00
a0b57e1a78
[http][ctail] n parameter also on circolog-tails 2018-11-09 11:21:50 +01:00
f4e6370abd make tail with param ?l= (HTTP only) 2018-11-08 19:37:03 +01:00
fbc0f96647 refactor ClientOptions 2018-11-08 19:25:40 +01:00
5ae6078805
[http] Better handling of parameters and added LastMsg to Client 2018-11-08 12:39:41 +01:00
4838f45f13
[http] Stricter behaviour with l= 2018-11-05 11:53:26 +01:00
89c59e5713
[http] adding first draft of server-side message number limit. 2018-11-04 23:13:27 +01:00
369e16d6c3 format in "/var/log/messages style" 2018-08-23 15:40:57 +02:00
34593d380a refactor: hub reorganized a little 2018-08-23 12:25:07 +02:00
71763cf8b1 HTTP unix domain socket 2018-08-23 02:08:53 +02:00
8568280dd1 FIX timeout issues between channels
we introduced non-blocking writes; however, being non-blocking when the
goroutine has no buffer means that many messages will be considered
lost.
This commit change from "non blocking" to "max 500ms; first timeout
means stop it all"; it also put a little buffer on client messages.
2018-08-23 02:05:50 +02:00