Commit Graph

59 Commits

Author SHA1 Message Date
Máximo Cuadros Ortiz
8a1a1925c8 fixing fatalf behaviour 2014-11-25 23:21:35 +01:00
Ken Robertson
5623b583a9 Updates for new logging to appease govet
Govet doesn't like functions that look like format handlers not ending in `f`,
such as Debug() vs Debugf(). This is changing some of the new log handling to
use 'f' function names to appease govet.

Updated the implicit handling of including the client as an arg without being
used in a format string. Now the client object simply has a Errorf function
for logging errors and it adds itself onto the format string.
2014-10-29 11:32:14 -07:00
Máximo Cuadros Ortiz
7c7578ae38 Notice and Logger messages 2014-10-16 01:16:21 +02:00
Máximo Cuadros Ortiz
6586ac4653 better client identification at logs and some performances improves 2014-10-16 00:44:56 +02:00
Máximo Cuadros Ortiz
96d044dce4 login system abstraction 2014-10-16 00:44:22 +02:00
Máximo Cuadros Ortiz
502ba2e43e connz: limit and offset 2014-10-04 22:39:09 +02:00
Máximo Cuadros Ortiz
3cde0eef60 added subsz and connz extended, and merged with varz 2014-10-04 22:38:59 +02:00
Derek Collison
a48084a2af Make sure to account for route connections 2014-07-24 16:01:50 -07:00
Alex Toombs
ae0e8e5f53 Write back resolved port to options. 2014-06-06 16:05:37 -07:00
Ken Robertson
e6d60881cb Added Server.Addr() helper to allow querying of the server's bound address
This can be useful in testing scenarios by allowing you to have the system pick
a random port by passing 0 on options.Port, but also give the user a way to
query the server for what port it actually bound to.
2014-05-27 09:08:07 -07:00
Derek Collison
7da1e87748 copyright hygiene 2014-02-06 19:34:12 -08:00
Derek Collison
edc49b7924 Fixes issues #21 and #22 2014-02-06 19:24:11 -08:00
Derek Collison
ee4568883e Move nats-server to gnatsd on logging 2013-10-18 13:03:11 -07:00
Derek Collison
b32bc384c4 Fixes for reflective solicited routes 2013-10-18 12:53:47 -07:00
Derek Collison
a50f5674df Better version processing 2013-10-17 12:47:41 -07:00
Derek Collison
8943283fa9 Allow multiple shutdown calls 2013-10-14 22:28:32 -07:00
Derek Collison
d21e2caf8c golint updates 2013-10-13 09:52:51 -07:00
Derek Collison
6ab5d6a337 Fixed msg payload accounting, made http monitoring work in Go routines 2013-08-19 15:09:41 -07:00
Derek Collison
0463533904 Transfer scratch buffer to client struct off of stack 2013-08-15 17:07:26 -07:00
Derek Collison
60f4c67bbf Cleaner way of handling the initial sends 2013-08-03 14:24:19 -07:00
Derek Collison
1386470005 Fixed bug where connection closed before sendInfo 2013-08-03 12:58:10 -07:00
Derek Collison
4a8faf1d75 Pidfile support 2013-08-02 17:13:04 -07:00
Derek Collison
cf0f30200f log file support, data race fixes 2013-08-02 16:52:54 -07:00
Derek Collison
f27deeabee Added official start method 2013-07-30 19:23:26 -07:00
Derek Collison
bca2ccd7d3 Release route connect Go routines on shutdown 2013-07-30 11:19:33 -07:00
Derek Collison
5ab044e2c8 Removed debug stuff 2013-07-28 09:36:30 -07:00
Derek Collison
dd99fd12ab First pass soliciting routes with auth 2013-07-28 09:33:13 -07:00
Derek Collison
4193d6e120 fixes, auth checks 2013-07-27 23:50:07 -07:00
Derek Collison
72b68bf363 Added sub and unsub broadcast to routes 2013-07-27 22:05:15 -07:00
Derek Collison
5189dba7b6 Cluster startup 2013-07-27 16:29:25 -07:00
Derek Collison
dbca2a8faa Only log if still running 2013-07-27 14:55:33 -07:00
Derek Collison
a9d5bd7334 Print accept errors, sleep on tmp ones 2013-06-13 08:33:20 -07:00
Derek Collison
33fdc5274d Fixed data races 2013-06-12 00:12:52 -07:00
Derek Collison
c4f34906fc Easy way to print version information, bumped version 2013-06-08 12:57:41 -07:00
Derek Collison
da85a2757d Moved options processing into own file 2013-04-22 00:10:20 -04:00
Derek Collison
49ba87853c Added merge behavior for flags vs file config 2013-04-22 00:06:33 -04:00
khazanovsky
d93d8ffe7e Add ready message after net.Listen succeeded 2013-03-12 00:01:28 -07:00
Derek Collison
fd1f6faa59 Added on /connz endpoint for monitoring 2013-01-22 09:35:46 -08:00
Derek Collison
3977043780 Added first pass http monitoring (e.g. /varz) 2013-01-02 18:11:01 -06:00
Derek Collison
b763c36157 Added periodic PING support 2012-12-20 14:34:49 -08:00
Derek Collison
3eb8c258c7 Wait on Shutdown() 2012-12-19 18:15:06 -08:00
Derek Collison
87cee975ad Remove os.Exit in AcceptLoop 2012-12-19 17:49:03 -08:00
Derek Collison
fb79a982ef Added ability to run server as a Go routine 2012-12-18 16:56:49 -08:00
Derek Collison
c697028776 Reminder 2012-12-17 16:12:14 -08:00
Derek Collison
dab1bcb53e Removed dead code 2012-12-13 17:09:29 -08:00
Brady Catherman
2b856275c4 Allow enabling and disabling of logging. 2012-12-11 15:54:58 -08:00
Derek Collison
a306047d89 Signal trap exists with status zero 2012-12-10 11:39:54 -08:00
Derek Collison
231d519ab7 Exit on signal 2012-12-10 09:48:54 -08:00
Derek Collison
98fc339cdc Added signal handling 2012-12-06 12:05:34 -08:00
Derek Collison
2968ea1538 auth support, cleanup 2012-12-05 16:59:48 -08:00